Reputation: 11
The Sample Response is Displayed as Below after Executing a Request for 15 min in jmeter
/*Load time:900017 Connect Time:0 Latency:0 Size in bytes:3172 Sent bytes:0 Headers size in bytes:0 Body size in bytes:3172 Sample Count:1 Error Count:1 Data type ("text"|"bin"|""):text Response code:Non HTTP response code: java.net.SocketException Response message:Non HTTP response message: Socket closed
HTTPSampleResult fields: ContentType: DataEncoding: null*/
Logs : /*WARN o.a.j.m.SampleTimeout: Call Done interrupting HTTPSamplerProxy @656569135 'buildAdvisorList' took 0.0015327 secs */
WARN o.a.j.m.SampleTimeout: Call Done interrupting HTTPSamplerProxy @656569135 'buildAdvisorList' took 0.0015327 secs
Upvotes: 1
Views: 53
Reputation: 168157
Headers are NOT loading because you are NOT getting the RESPONSE.
Headers size in bytes:0
and you're NOT getting the RESPONSE because YOU are CLOSING the connection YOURSELF with Sample Timeout PreProcessor.
java.net.SocketException Response message:Non HTTP response message: Socket closed
If your request takes longer than 15 minutes either increase the timeout in the Sample Timeout preprocessor or disable/remove it.
In case you're able to get the response in 15 minutes (or less) using a real browser - make sure that JMeter is configured to behave like a real browser and sends the same request, pay attention to:
cross check the request which is sent by JMeter with the one(s) sent by the real browser using a sniffer tool. My expectation is that once you amend JMeter configuration so it will send the same request as the real browser does - you will get the same response as the browser does including headers.
Upvotes: 1