I'm doing a performance testing with an API for download PDF file from the server. And use Save Responses to a file
component to inspect the download file after the result is saved.
I tried to download 75 user and got all success response. But when I open the folder that I saved the result I found only 73 PDF file saved. Is there any missing configuration that I have to do to got all the result ? version I'm using is 5.4.3.
Here is my configuration for response saved to the file.
CodePudding user response:
Your configuration looks good.
In order to troubleshoot the issue I can only suggest:
- Check out jmeter.log file for any suspicious entries
- Check your
report_id
variable values using Debug Sampler for each user as in case of duplicates the file will simply get overwritten - Enable saving of response data on JMeter level and inspect resulting .jtl file, first compare response sizes and then inspect response for each and every request, it might be the case the response is empty or you're getting an error while HTTP status code is 200.
CodePudding user response:
Configuration looks good, but what about file name collision. If requests are executed two quickly is it possible to have file name with exactly the same names which will result in less unique records(files). Basically this will override the content.