Which assertion has to be use to check latency,throughput,received & sent bytes and error rate ?How to impliment assertion in total avg value of each script in JMeter to automate?
Asked
Active
Viewed 61 times
1 Answers
1
JMeter per se doesn't provide this functionality so you can go for one of the following approaches:
AutoStop Listener is capable of automatically stopping the test if one of the following metrics exceeds defined thresholds:
- Response Time
- Latency
- Error Rate
If you are running your test in Jenkins you can use Performance Plugin to mark build as failed or unstable basing on various metrics
And finally you can run your JMeter test via Taurus having very powerful and flexible pass/fail criteria subsystem so if there will be a clash between expected and actual metrics it will basically return non-zero exit code which you can use in shell scripts or Jenkins freestyle jobs and/or pipelines.

Dmitri T
- 159,985
- 5
- 83
- 133