If using jmeter3.0 or above, you can use a groovy.json.JsonSlurper in a groovy JSR223 post processor/sampler/assertion to pull out specific Json elements then output to file.
-----Original Message----- From: praveen tiwari [mailto:[email protected]] Sent: 06 November 2017 14:56 To: JMeter Users List <[email protected]> Subject: Need specific data from response message Hi All, I am getting response for a API request and able to save it in JSON file using save response to a file listener. I need to fetch only specific records from response message. E.g. in response their are 10 parameters but I need to save only 4 parameters in file. Any help would be highly appreciated. The information included in this email and any files transmitted with it may contain information that is confidential and it must not be used by, or its contents or attachments copied or disclosed to, persons other than the intended addressee. If you have received this email in error, please notify BJSS. In the absence of written agreement to the contrary BJSS' relevant standard terms of contract for any work to be undertaken will apply. Please carry out virus or such other checks as you consider appropriate in respect of this email. BJSS does not accept responsibility for any adverse effect upon your system or data in relation to this email or any files transmitted with it. BJSS Limited, a company registered in England and Wales (Company Number 2777575), VAT Registration Number 613295452, Registered Office Address, First Floor, Coronet House, Queen Street, Leeds, LS1 2TW.
