https://bz.apache.org/bugzilla/show_bug.cgi?id=63485

            Bug ID: 63485
           Summary: for same http request URL, JMeter failed, but Postman
                    tool can get correct response
           Product: JMeter
           Version: 4.0
          Hardware: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: HTTP
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: JMETER_5.2

Created attachment 36609
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36609&action=edit
fiddler capture the difference between postman and jmeter; and jmeter setting
with header manager

after checking HTTP header with Fiddler tool, found that
JMeter Content-Type of HTTP request header has been changed to text/html even
if set Header Manager to application/json.

And also try to send same HTTP request by Python, just simple code as following
```python

import requests

url = 'http://xx.xx.44.28:8765/assets/map/haihang.json'

resp = requests.get(url)

print(resp.status_code)
print(len(resp.json()))

```
It also get correct status code is 200, and correct response.


Please help fix this issue.Thanks in advance!

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to