Bug 54321 - View Results Tree does not show headers from failed requests
Summary: View Results Tree does not show headers from failed requests
Status: RESOLVED DUPLICATE of bug 54187
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.8
Hardware: Macintosh All
: P2 major (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on: 54187
Blocks:
  Show dependency tree
 
Reported: 2012-12-17 15:39 UTC by Sergi Just Casas
Modified: 2012-12-20 20:38 UTC (History)
1 user (show)



Attachments
This is the bug described. The missing information in the path is removed by paint rubber. (89.54 KB, image/png)
2012-12-20 09:20 UTC, Sergi Just Casas
Details
Screenshot showing issue does not exist with 2.8 (106.19 KB, image/png)
2012-12-20 12:32 UTC, Philippe Mouawad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergi Just Casas 2012-12-17 15:39:46 UTC
When you receive an error from the server jMeter does not show all of the request information.

Show the URL but does not show headers or authorization.
Comment 1 Philippe Mouawad 2012-12-19 22:33:38 UTC
Hello,
Can you send a screenshot describing issue?

Can you also check that issue is not fixed in Nightly build (see 54187):
http://jmeter.apache.org/nightly.html

 Installing JMeter runtime
Download the _bin and _lib files
Unpack the archives into the same directory structure
The other archives are not needed to run JMeter.
Comment 2 Sergi Just Casas 2012-12-20 09:20:45 UTC
Created attachment 29780 [details]
This is the bug described. The missing information in the path is removed by paint rubber.

I don't tried the nightly build, let me try and comment.

Thanks in advance.
Comment 3 Sergi Just Casas 2012-12-20 11:27:04 UTC
One detail is that this error only can be reproduced when the error es a timeout.

Example:

Thread Name: Thread Group 1-1
Sample Start: 2012-12-20 03:27:47 CET
Load time: 15552
Latency: 0
Size in bytes: 2606
Headers size in bytes: 0
Body size in bytes: 2606
Sample Count: 1
Error Count: 1
Response code: Non HTTP response code: java.net.SocketTimeoutException
Response message: Non HTTP response message: Read timed out

Response headers:


HTTPSampleResult fields:
ContentType: 
DataEncoding: 

If the response code is an erroneour code like 400 Bad request the response headers appears well.

Example:

Thread Name: Thread Group 1-1
Sample Start: 2012-12-19 21:03:29 CET
Load time: 476
Latency: 476
Size in bytes: 115
Headers size in bytes: 0
Body size in bytes: 115
Sample Count: 1
Error Count: 1
Response code: 500
Response message: Error Interno del Servidor

Response headers:
HTTP/1.1 500 Error Interno del Servidor
Date: Wed, 19 Dec 2012 18:05:09 GMT
Server: XXX
Location: https://XXX/wallet/mobile/XXX/coupons/162
Connection: close
Transfer-Encoding: chunked
Content-Type: application/json;charset=UTF-8


HTTPSampleResult fields:
ContentType: 
DataEncoding: UTF-8
Comment 4 Philippe Mouawad 2012-12-20 12:32:54 UTC
Created attachment 29784 [details]
Screenshot showing issue does not exist with 2.8

Hello,
Are you sure you don't get request headers ?

I cannot reproduce issue, can you attach a simple test plan showing issue ?

Thank you
Comment 5 Sergi Just Casas 2012-12-20 12:55:29 UTC
See "Comment 3" and try to reproduce a "Read timeout" error.

If you configure read timeout on jMeter at 15000ms. And configure the response of your tomcat at 30000ms maybe you can reproduce the issue.
Comment 6 Philippe Mouawad 2012-12-20 13:17:18 UTC
That's what I did , I get a response timeout
Comment 7 Sergi Just Casas 2012-12-20 15:30:19 UTC
Are you running Nightly build (see 54187)?
Comment 8 Philippe Mouawad 2012-12-20 15:35:23 UTC
Yes I am running current trunk. That's why I was asking you if it worked with nightly.

So do you reproduce issue with nightly build ?

Thank you
Comment 9 Philippe Mouawad 2012-12-20 20:38:08 UTC
I confirm issue is fixed.
I tested with 2.8, issue occurs, it is fixed now.

*** This bug has been marked as a duplicate of bug 54187 ***
Comment 10 The ASF infrastructure team 2022-09-24 20:37:52 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3018