You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by "sebiboga (via GitHub)" <gi...@apache.org> on 2025/02/05 14:31:30 UTC
[I] zstd is not supported by JMeter [jmeter]
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):

### Actual behavior
This is how the JSON is presented in JMeter View Results Tree

### 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

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-unsubscribe@jmeter.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] zstd is not supported by JMeter [jmeter]
Posted by "orimarko (via GitHub) via dev" <de...@jmeter.apache.org>.
orimarko commented on issue #6418:
URL: https://github.com/apache/jmeter/issues/6418#issuecomment-7020558341
@sebiboga
I tested a local endpoint returning JSON with Content-Encoding: zstd using JMeter 6.0.0-SNAPSHOT. The built-in HTTP Request sampler displayed compressed bytes.
Using the bzm HTTP Sampler against the same endpoint displayed the expected JSON. This may be a workaround for users who can install the plugin.
https://github.com/Blazemeter/jmeter-http-plugin/blob/master/README.md
--
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-unsubscribe@jmeter.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org