assertions run after post processors I think On Fri, Jan 21, 2011 at 12:00 AM, Felix Frank <[email protected]> wrote:
> >> 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()<http://jakarta.apache.org/jmeter/api/org/apache/jmeter/samplers/SampleResult.html#getAssertionResults%28%29> > >> 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: [email protected] > For additional commands, e-mail: [email protected] > >

