Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

zstd is not supported by JMeter

Đang mở
#6,418 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
testing-qa

Hướng nghiên cứu

Không có tệp nào trong repository hoặc test nào được nêu tên. Hãy tái hiện vấn đề bằng yêu cầu curl và script JMeter được cung cấp, sau đó xác định đường dẫn giải mã response của JMeter và cách xử lý gzip, deflate hoặc br hiện có. Hoàn thành có nghĩa là response được mã hóa bằng zstd được giải mã và hiển thị dưới dạng JSON hợp lệ trong View Results Tree.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Java
Star
9.6k
Fork
2.3k
Merge trung bình
18 giờ 33 phút
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của apache/jmeter

Tất cả issue của apache/jmeter

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.