Jmeter If condition is not working
2 posters
Jmeter If condition is not working
i have a test plan as
-Thread
-Csvdata set
-If condition ${var}!= null
Do Some thing
-If Condition ${var}== null
Do something
But second if condition is not executable
MY CSV data set contain the record as
123,234,234,2345
234,456,,
345,467,,
followin error has been logged in jmeter log
If Controller: error while processing [==null && ==null]
org.mozilla.javascript.EvaluatorException: syntax error (<cmd>#1)
-Thread
-Csvdata set
-If condition ${var}!= null
Do Some thing
-If Condition ${var}== null
Do something
But second if condition is not executable
MY CSV data set contain the record as
123,234,234,2345
234,456,,
345,467,,
followin error has been logged in jmeter log
If Controller: error while processing [==null && ==null]
org.mozilla.javascript.EvaluatorException: syntax error (<cmd>#1)
vaikale- Posts : 2
Join date : 2012-10-19
Re: Jmeter If condition is not working
I guess that you need following expression:
See [You must be registered and logged in to see this link.] guide for more details.
- Code:
"${var}".length > 0
See [You must be registered and logged in to see this link.] guide for more details.
glinius- Posts : 6
Join date : 2013-10-23
Similar topics
» Jmeter if condition is not working
» Download Jmeter 2.3.4
» Execution of Jmeter
» Results in jmeter
» issue in Jmeter
» Download Jmeter 2.3.4
» Execution of Jmeter
» Results in jmeter
» issue in Jmeter
Permissions in this forum:
You cannot reply to topics in this forum
|
|