I am using the Java request sampler for load-testing some Java server,
and I need to be able stopping JMeter entirely based on a given 
test-failure/error condition, this condition is based on 
the test-failure/error %/rate ( or when a fixed number of test
failures/errors
reached, like when 1000 errors/iterations had occurred in the current 
Jmeter load test). 

Does anyone know how to fetch the values of such related variables
  from JMeter runtime ? 
( variables holding values like the current number of samples running 
   so far,  the number of test-failures/errors, 
  test-failure/error %/rate so far ). 
  It would be best if there is a Java API for reading the above variables
  so Java code in my Java-request test class can use values of these
variables
   to evaluate the stopping condition. 
  If not via Java API then some other way for a JavaScript
expression/function
  invoked by some logic controller and this JavaScript would need to 
   reference such above variables.
  
Any pointers would be very very appreciated.
Thanks!
oomkiller 

-- 
View this message in context: 
http://www.nabble.com/How-to-query-JMeter-tests-statistics%3A-using-Java-request-sampler-tp22961537p22961537.html
Sent from the JMeter - Dev mailing list archive at Nabble.com.


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

Reply via email to