0
votes
  1. I have created one test plan

enter image description here

  1. Thread group with one user

enter image description here

  1. HTTP Request

enter image description here

  1. Added HTTPS Script recorder and select thread to record

enter image description here

  1. View Result tree added

enter image description here

  1. Save Response to a file added

enter image description here

I have saved the test plan by doing the required steps / process which is of downloading different documents using one user. The recorded script is with 1 user and I am rerunning with 50 users using jmeter -n -t D:\Jmeter\DownloadFinal21Sept.jmx -l D:\Jmeter\ReportLog\result21SeptPDFinal.csv -e -o D:\Jmeter\HTMLReport\Report21SeptPDFinal.

My queries are.

  1. When I am using save response to the file then it is saving as .unknown whereas my downloaded files are .xlsx and .csv how to get default file format while saving it.?
  2. Is it OK to use same credentials to use for 50 or 100 users as I have only one test credentials?
  3. How to exclude check_user_activity and Success.txt from these reports.

enter image description here

1

1 Answers

0
votes
  1. JMeter looks at Content-Type response header and if it is missing or cannot be mapped to the known file type, you can specify extension yourself and tick Don't add suffix box
  2. It's better to have different credentials for different users but if for some reason you cannot get more - it should be okayish for file downloads testing
  3. You can exclude "unwanted" results by using Filter Results Tool (can be installed using JMeter Plugins Manager)

In addition:

  • You don't need to have HTTP(S) Test Script Recorder once you finished recording, it doesn't add any value but consumes valuable resources
  • The same applies to Listeners, if you want to test download file progress and not interested in the file itself (i.e. you don't want to check contents of the file(s) you should rather remove all of them, especially View Results Tree one which is the most resource intensive