Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

zstd is not supported by JMeter

未关闭
#6,418 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 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 内容生成。

描述

defect to-triage
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

Actual behavior

This is how the JSON is presented in JMeter View Results Tree

Image

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

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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/jmeter 的其他 Issue

查看 apache/jmeter 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。