How to count failed requests with jmeter

BlackHatSamurai picture BlackHatSamurai · Jan 29, 2013 · Viewed 9k times · Source

I am running JMeter and I want a count of all the failed requests that either timed out, or, just plain failed. I see that some of the listeners show that there have been failures, but none see to have a field that displays the total number of failed requests versus successful requests. Does anyone know how I can easily get this data without having to count each failure by hand?

Answer

UBIK LOAD PACK picture UBIK LOAD PACK · Jan 29, 2013
  • Add timeout to your sampler

  • Add assertions on code and response content

  • Use aggregate report

You should have these figures