https://bz.apache.org/bugzilla/show_bug.cgi?id=64374
Bug ID: 64374
Summary: Not Able to Capture Response when there is no
Content-Type
Product: JMeter
Version: 5.2.1
Hardware: PC
Status: NEW
Severity: minor
Priority: P2
Component: HTTP
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: JMETER_5.3.0
Created attachment 37196
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37196&action=edit
xml from Simple Data Write
I am testing a Desktop Application that in certain responses does not send a
Content-Type header (that is the app default behavior and cannot be modified).
This behavior makes that JMeter sets that attribute as an empty string in the
sampler result so when it tries to write the response body it fails with the
following message: "Non-TEXT response data, cannot record: ()".
Apart from that missing header, I can notice that server is responding with
some message because the Content-Length is 101, but I cannot see the actual
response because of this behavior.
The thing is, I understand this is JMeter's expected behavior in these cases
but from a testing perspective, it would be useful that JMeter does not lose
the response even when it is not a String, maybe it can be at least logged in
the JMeter log or specified in the sampler result somehow.
--
You are receiving this mail because:
You are the assignee for the bug.