0

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?

Swasti
  • 1
  • 2

1 Answers1

1

JMeter per se doesn't provide this functionality so you can go for one of the following approaches:

  1. AutoStop Listener is capable of automatically stopping the test if one of the following metrics exceeds defined thresholds:

    • Response Time
    • Latency
    • Error Rate
  2. If you are running your test in Jenkins you can use Performance Plugin to mark build as failed or unstable basing on various metrics

    Jenkins Performance Plugin

  3. 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