Response data is included in XML reports even when the Save Response Data configuration option is de-selected
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
### Expected behavior
When the Save Response Data option in the listener report file configuration window is de-selected the response data is NOT written to the XML report.
### Actual behavior
When the Save Response Data option in the listener report file configuration window is de-selected the response data is written to the XML report.
### Steps to reproduce the problem
Using JMeter version 5.5:
- Create a Thread Group
- Add and configure a HTTP Request that access and retrieves data from an API
- Add a Listener such as View Results Tree
- Select the Listener and enter a filename in the 'Write results to file / Read from file' field
- Click the Configure button to configure the report
- Select the 'Save as XML' option
- Verify that the 'Save Response Data' option is not checked
- Click the Done button
- Start the test
- After the test is complete open the Listener report file
Result:
The report file contains the API response data in the XML report file in the 'responseData' element
Expected Result:
The report file does not contain the API response data
### JMeter Version
5.5
### Java Version
1.8.0_241
### OS Version
Microsoft Windows [Version 6.1.7601]
Contributor guide
Assessment
This issue has not been assessed yet.