JMeter - Unable to capture the request after click on download link



  • I am facing one of the problem in my application at the time of downloading a file. I am unable to capture the request after click on download link. So may be anybody can guide me how to capture these requests with JMeter?

    Steps:

    1. Click on Download link
    2. Save the file
    3. Select the drive/location where to save
    4. Click save button


  • As Sam mentions when you click "Download" link or button the majority of browsers send GET request for the content and start downloading it in background into temp folder. After you choose the destination the browser just copies the file.

    If you need to test the performance of web server on multiple and/or concurrent downloads you just need to simulate GET requests.

    If you need to perform some operations on downloaded files, i.e. check size, integrity, type, etc. JMeter offers Save Responses to a file Listener which can store any response including Download one into a file.

    See Performance testing: Upload and Download Scenarios with Apache JMeter guide for more details on implementation.



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2