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

Json format is changing in view results tree response after adding correlation

Đang mở
#6,447 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
java
Lĩnh vực
testing

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện sự cố trong JMeter 5.6.3 bằng phần thân yêu cầu được cung cấp và kiểm tra phản hồi của View Results Tree. So sánh việc escaping trước và sau khi thực thi; được coi là hoàn tất khi định dạng JSON không thay đổi và phản hồi không còn thất bại.

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

Expected behavior is JSON format not to be changed while executing

Actual behavior

Json format is changing in view results tree response after adding correlation

Steps to reproduce the problem

My Request Body
{"formId":"D11601C6-5A9B-4AAC-8B39-8BA62991E373","sectionId":"fb9b80dd-7f59-4de0-bc19-c13558e69226","employeeCode":"EMPCODE","orgUnitCode":0,"customTextOutput1":"SAVE","accessId":"FA~0000001","questionResponseValue":"{"name":"New Joiner Declaration ","description":"This section captures details of previous employment during the same tax year.","id":"fb9b80dd-7f59-4de0-bc19-c13558e69226","questions":[{"id":"4c3a31ef-2538-4128-8672-f7580df8d61e","type":"MULTILINE","responseValue":"[{\"1710910377462\":\"TESTEMP1\",\"1710910389883\":\"2025-03-03\",\"1710910391035\":\"2025-04-09\",\"1706075827274\":{\"valueField\":\"PTAX\",\"displayField\":\"Profession Tax Deducted\"},\"1706075925427\":\"10000\"}]"},{"id":"f6f61114-8139-4ec9-a313-b6f5484455a0","type":"ATTACHMENT","responseValue":"[{\"fileId\":\"${C_FILEID}\",\"name\":\"${C_FILENAME}\",\"contentType\":\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\"fileSizeBytes\":${C_FILEBYTES},\"createdTimeUTC\":\"${C_CREATEDTIME}\"}]"}]}"}

View Results tree request
{"formId":"D11601C6-5A9B-4AAC-8B39-8BA62991E373","sectionId":"fb9b80dd-7f59-4de0-bc19-c13558e69226","employeeCode":"EMPCODE","orgUnitCode":0,"customTextOutput1":"SAVE","accessId":"FA~0000001","questionResponseValue":"{"name":"New Joiner Declaration ","description":"This section captures details of previous employment during the same tax year.","id":"fb9b80dd-7f59-4de0-bc19-c13558e69226","questions":[{"id":"4c3a31ef-2538-4128-8672-f7580df8d61e","type":"MULTILINE","responseValue":"[{\"1710910377462\":\"TESTEMP1\",\"1710910389883\":\"2025-03-03\",\"1710910391035\":\"2025-04-09\",\"1706075827274\":{\"valueField\":\"PTAX\",\"displayField\":\"Profession Tax Deducted\"},\"1706075925427\":\"10000\"}]"},{"id":"f6f61114-8139-4ec9-a313-b6f5484455a0","type":"ATTACHMENT","responseValue":"[{\"fileId\":\"NPPT000029_UPLOAD_DOC_SAMP_NJD_20250416221353974.docx\",\"name\":\"UPLOAD_DOC_SAMP_NJD.docx\",\"contentType\":\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\"fileSizeBytes\":37381,\"createdTimeUTC\":\"2025-04-17T05:13:53.9945446Z\"}]"}]}"}

\\ is changed to \ while executing & response got failed.

JMeter Version

5.6.3

Java Version

java version "23.0.1" 2024-10-15 Java(TM) SE Runtime Environment (build 23.0.1+11-39) Java HotSpot(TM) 64-Bit Server VM (build 23.0.1+11-39, mixed mode, sharing)

OS Version

Windows 10

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.