jmeter icon indicating copy to clipboard operation
jmeter copied to clipboard

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

Open Arunkj99719 opened this issue 8 months ago • 0 comments

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

Arunkj99719 avatar Apr 17 '25 05:04 Arunkj99719