jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Frank ...@mpexnet.de>
Subject Re: "On error goto" behavior
Date Fri, 21 Jan 2011 08:00:52 GMT
>> If specific error that you seem to have mentioned then you could try
adding
>> a BeanShell listener(scoped to the if statement) to set the variable.
>>
>> http://jakarta.apache.org/jmeter/api/org/apache/jmeter/samplers/SampleResult.html#getAssertionResults()
>> The listener could check which assertion failed and set the variable
>> accordingly. 
> 
> Ok, but isn't it the case that listeners are only executed on the JMeter controller in
distributed mode and not on the agents? Therefore the variable that would be set would not
be available on the agent executing the test.

I believe so, yes.

Maybe a BeanshellPostProcessor will do you more good then?

Cheers,
Felix

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message