sebiboga opened a new issue, #6418:
URL: https://github.com/apache/jmeter/issues/6418

   ### Expected behavior
   
   The JSON response should be a valid JSON
   the expected response should look like this (as it does when we don't use 
zstd --, using Accept-Encoding: gzip, deflate, br):
   
   
![Image](https://github.com/user-attachments/assets/972f7c2f-f47e-4f37-9bb7-82ccdb0e21a1)
   
   ### Actual behavior
   
   This is how the JSON is presented in JMeter View Results Tree 
   
   
![Image](https://github.com/user-attachments/assets/124e3ac2-3ac5-49ff-829d-c654db2fca0d)
   
   
   ### Steps to reproduce the problem
   
   I used both: JMeter Recorder and BlazeMeter Auto Correlation recorder to 
record one of the website who is delivered through CloudFlare CDN and during 
the recording I saw that response is not properly decoded and shown.
   Script contains in request headers: Accept-Encoding: gzip, deflate, br, zstd
   
   
   In the browser (Chrome) we can also see the call having zstd as 
accept-encoding 
   
   
![Image](https://github.com/user-attachments/assets/34a077d6-cf04-4c83-b76c-960d3e1b20da)
   
   for testing you can use this cURL command:
   curl "https://api.peviitor.ro/v3/total/"; \
     -H "Accept: */*" \
     -H "Accept-Language: en-US,en;q=0.9,ro-RO;q=0.8,ro;q=0.7" \
     -H "Origin: https://peviitor.ro"; \
     -H "Priority: u=1, i" \
     -H "Referer: https://peviitor.ro/"; \
     -H "Sec-CH-UA: \"Not A(Brand\";v=\"8\", \"Chromium\";v=\"132\", \"Google 
Chrome\";v=\"132\"" \
     -H "Sec-CH-UA-Mobile: ?0" \
     -H "Sec-CH-UA-Platform: \"Windows\"" \
     -H "Sec-Fetch-Dest: empty" \
     -H "Sec-Fetch-Mode: cors" \
     -H "Sec-Fetch-Site: same-site" \
     -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) 
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36"
   
   Run the script
   Check in View Results Tree what the endpoint is returning
   
   
   ### JMeter Version
   
   5.6.3
   
   ### Java Version
   
   openjdk version "17.0.14" 2025-01-21 LTS
   
   ### OS Version
   
   Windows 11 Enterprise 23H2


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to