View result listener displaying duplicate https requests, 1 request is without response and 1 request is with having response. I need only 1 request, How can i fix it? enter image description here
-
Could you give a bit more context ? And also add some tags so that your questions pops up in the right place. – DescampsAu Apr 20 '20 at 21:53
2 Answers
Look into "Sampler Result" tab of the View Results Tree listener:
If you see one of HTTP status codes 3xx it means that you're being redirected so it's absolutely normal to see blank response if this is the case of redirection
You can control the behaviour of the JMeter when it comes to handling redirect responses by playing with Redirect automatically
and Follow Redirects
checkboxes in the HTTP Request sampler:
However you need to remember that you don't "need only 1 request", you need exactly the same number of requests like real browser sends so inspect how many requests are being sent by the real browser using your favourite browser developer tools and ensure that JMeter sends the same amount of requests and they have the same nature

- 159,985
- 5
- 83
- 133
-
Thank you for you comprehensive observation and detailed answer, but my issue is still present let me elaborate it more. Like whenever I applied 500 users on it, I found 1000 frames in my report, but actually I targeted 500 frames. 1000 is displaying due to duplication. you can check the response of both requests in attached screenshots – Muhammad Umar Sultan Sheikh Apr 20 '20 at 17:51
-
I have added screenshots with Question's description – Muhammad Umar Sultan Sheikh Apr 20 '20 at 17:58
Sample with response message as "Number of samples in transaction : 1, number of failing samples : 0" is for the "Transaction Controller" while the other is the actual request with response.
Select the "Generate parent sample" checkbox in the Transaction controller and you will be able to see the desired results.
Transaction Controller will always club the response times for the underlying Http requests. If you don't want to see this in results use "Simple Controller" instead.

- 187
- 1
- 7