zstd is not supported by JMeter
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- java
- 领域
- testing-qa
调研方向
没有指定 repository 文件或测试。使用提供的 curl 请求和 JMeter 脚本重现该问题,然后定位 JMeter 的响应解码路径及其现有的 gzip、deflate 或 br 处理。完成的标准是:zstd 编码的响应能够被解码,并在 View Results Tree 中显示为有效的 JSON。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Java
- 星标
- 9.6k
- 派生
- 2.3k
- 平均合并
- 1 天 15 小时
- 30 天内合并 PR
- 13
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
apache/jmeter 的其他 Issue
-
[Bug] Typo in assertion property name: "Asserion.test_strings" missing 't'可能已有人在做 @waterWang 于 65 天前认领。 未关闭defect to-triage
难度 1/5 1 小时以内 新手友好度 82/100
维护者通常 1 天内回复
-
enhancement to-triage
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
RandomDate ignores inclusive end date and throws when start == end可能已有人在做 @weillercarvalho 于 342 天前认领。 未关闭defect to-triage
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
documentation to-triage
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
invalid wontfix
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
相似的 Issue
-
agent:working follow-up
难度 2/5 1-3 小时 新手友好度 76/100
Sanne/incus-spawn#1683 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
checkstyle/checkstyle#22210 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 75/100
521xueweihan/HelloGitHub#4105 ·
-
devops good first issue security
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 72/100
asciidoctor/asciidoctorj#1339 ·