testing existence of a variable

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

testing existence of a variable

Peter Peterse
Hello all,

I'm trying to test the existence of a variable with an If controller.
I've always done this with:
"${var1}" == "\${var2}"
At this moment it looks like it won't work anymore.
I'm using JMeter 3.2.
The test case I'm using is place on https://we.tl/kYxgChHOdW

Thanks for the help.

Regards,
Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Fwd: testing existence of a variable

Peter Peterse

Of course the test is:
"${var1}" == "\${var1}"

Regards,
Peter

-------- Oorspronkelijke bericht --------
Onderwerp: testing existence of a variable
Datum: 2017-08-17 12:08
Afzender: [hidden email]
Ontvanger: JMeter Users List <[hidden email]>

Hello all,

I'm trying to test the existence of a variable with an If controller.
I've always done this with:
"${var1}" == "\${var2}"
At this moment it looks like it won't work anymore.
I'm using JMeter 3.2.
The test case I'm using is place on https://we.tl/kYxgChHOdW

Thanks for the help.

Regards,
Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: testing existence of a variable

mitsm
This post has NOT been accepted by the mailing list yet.
Where are you providing the value for "teamID" variable in your test "${teamID}" == "\${teamID}"?
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: testing existence of a variable

Felix Schumacher
In reply to this post by Peter Peterse
Am 17.08.2017 um 12:43 schrieb [hidden email]:

>
> Of course the test is:
> "${var1}" == "\${var1}"
>
> Regards,
> Peter
>
> -------- Oorspronkelijke bericht --------
> Onderwerp: testing existence of a variable
> Datum: 2017-08-17 12:08
> Afzender: [hidden email]
> Ontvanger: JMeter Users List <[hidden email]>
>
> Hello all,
>
> I'm trying to test the existence of a variable with an If controller.
> I've always done this with:
> "${var1}" == "\${var2}"
> At this moment it looks like it won't work anymore.
> I'm using JMeter 3.2.
> The test case I'm using is place on https://we.tl/kYxgChHOdW
>
Try to check "Interpret Condition as Variable Expression?". At least in
my test it helped.

Felix

> Thanks for the help.
>
> Regards,
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]