javediqbal1419
javediqbal1419

Reputation: 21

How to capture server response time in JMeter in Badboy Software

I wanted to capture the server response time. I select a variable from the dropdown from our panel then select the Date Range and then select download.

My question is when I select the "Download" and then server report is raedy, how to capture reports time by using badboy software. When I export this jmx script to JMeter it showing the status as a fail (red).

Screenshot:

enter image description here

Upvotes: 1

Views: 149

Answers (1)

Dmitri T
Dmitri T

Reputation: 168247

If you want to capture the response time for a single operation for a single user you don't need any extra software, the majority of modern browsers come with Developer Tools which in their turn include network monitoring/profiling.


If you want to go for a some form of performance testing and plan to use JMeter for this - be aware that the chance of successfully replaying a recorded script is minimal as:

  1. Most probably you do need to be logged in in order to download the report, don't you?
  2. Modern websites extensively use Cookies for various reasons so make sure to add at least HTTP Cookie Manager to your Test Plan
  3. Most probably you cannot reach out to the report page directly, you need to navigate to it somehow and navigation steps can be protected from CSRF attacks.

So basically you need to replicate the real user using the real browser in order to succeed with JMeter script creation. It assumes that JMeter should produce the same network traffic pattern as real browser does. Use View Results Tree listener and inspect request (and response) details. The requests originated from JMeter and from the real browser must be exactly the same (apart from dynamic parameters which have to be correlated)

Upvotes: 0

Related Questions