Reputation: 13
I have been asked to test an exam system on the web. For this, I have to simulate the fact that 10, 100, 1000 students have entered the system and have solved the questions. What is the most appropriate method I should follow for this?
With Selenium, I opened a browser for each of 35-40 users and made them with separate threads, but this method did not make much sense. Because it is not possible for me to get 1000 users in this way and it is forcing the CPU so much.
Apart from that, I learned that there are tools such as JMeter that can perform performance and load tests, but I did not know if it would work properly. The aim is to help determine whether they have the required system competence when the product is given somewhere. If the system equipment needs to be upgraded, it will be upgraded accordingly, otherwise, it will remain.
I would be glad if anyone can help.
Upvotes: 1
Views: 1302
Reputation: 168207
So you just need to ensure that JMeter is sending the same HTTP Requests as browser does, normally JMeter test plan is being built using following steps:
If you have existing set of tests which you can partially or fully re-use you can consider converting your Selenium tests to JMeter
Upvotes: 1