jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Which Beanshell?
Date Thu, 22 May 2014 15:35:20 GMT

I am trying to print the response message when the thread is not an HTTP

if (SampleResult.getResponseCode() != 200)) {

I've put this in a beanshell assertion, but the test fails if the
conditional returns false.

I am then thinking this code should be in a beanshell post-processor,
but then it seems the SampleResult class is not available in this
post-processor (even with a SampleResult import). 

I am wondering where this code should go or whether I am taking the
wrong approach?

Many Thanks


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message