Home > Software engineering >  Jmeter the response file saved doesn't equal to total result of executed request
Jmeter the response file saved doesn't equal to total result of executed request

Time:10-12

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. enter image description here

CodePudding user response:

Your configuration looks good.

In order to troubleshoot the issue I can only suggest:

  1. Check out jmeter.log file for any suspicious entries
  2. Check your report_id variable values using Debug Sampler for each user as in case of duplicates the file will simply get overwritten
  3. 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.

  • Related