1

We are doing a performance for a downloading a file from the web for 500 users.

I have written a selenium script for the downloading file from the web using JMeter.

The problem is will be able to download file for the system once only for a day. I have a 10 VM's to add a load. How can I perform this scenario? please help on this.

2

Using Selenium for just downloading a file is a little bit overkill as normally people go for Selenium and JMeter integration via WebDriver Sampler to test client-side performance while the system is under the load.

In order to test 500 users you will need to kick off 500 browsers therefore 10 VMs might be not enough (it depends on hardware specifications) so I would recommend simulating file downloads using JMeter's HTTP Request sampler. Check out Performance Testing: Upload and Download Scenarios with Apache JMeter article for more information on how to properly mimic file download events using JMeter

Additionally you might want to use i.e. Save Responses to a file listener or MD5Hex Assertion in order to check downloaded file integrity.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.