How to count failed requests with jmeter

我的未来我决定 提交于 2019-12-05 08:35:38
  • Add timeout to your sampler

  • Add assertions on code and response content

  • Use aggregate report

You should have these figures

Add the Aggregate report to the thread group.Which gives you total transaction count and the " Error % ". So that you can know about the number of failed transactions

If you want to know particular failure scenario then add the Assertion with the request. In the assertion just mention the scenario you want to check.

    • Aggregate report
    • Assertion**
DJ_Tester

To check the number of failed responses go through following steps:

1) Add >> Listener >> View result tree >> select the check box of 'Errors' It will only capture responses with failed messages not of success With this you can check response message, sent request in detail![enter image description here][1]

And if you want to know about total count of failed requests and average time,max time then go through following steps:

2) Add >> Listener >> Summary Report >> select the check box of 'Errors' It will only capture summary report of requests with failed responses not of success

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!