150 concurrent users to do test

150 concurrent users to do test

Peter Stapfer -
回帖数:5

Hello

I would like to do a test/quizz (SCORM) on moodle with 150 concurrent users. Does anyone have experience with it?


Many thanks and best regards

Peter

回复Peter Stapfer

Re: 150 concurrent users to do test

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
回复Visvanath Ratnaweera

Re: 150 concurrent users to do test

Marcus Green -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像

Because SCORM is mainly a client side technology (javascript), once it has downloaded the number of concurrent users is fairly irrelevant. The interesting bit tends to be when it attempts to call the server code that writes the scores. If the students all take a similar amount of time to take the test then the performance bottleneck (if any) will come around then.

回复Peter Stapfer

Re: 150 concurrent users to do test

Mathew Gancarz -
Core developers的头像

You should be able to simulate this with JMeter and the JMeter test plan generator: https://docs.moodle.org/33/en/JMeter_test_plan_generator 

The biggest issue that always comes up first is you have to define what '150 concurrent users' means for you. Does it mean 150 people logging into Moodle and clicking the SCORM start button all at the same synchronized time? Or does it mean, on average in a 30 minute window, you will have about 150 people taking it, but they aren't starting all at the same time.

Once you have that defined, you can create simulations of it with JMeter, or some other tool (http://gatling.io/docs/current/ seems to be a newer one, but I haven't used it). Also could try something like https://loader.io/ (though it looks to more be aimed at testing thousands of users on a single URL as opposed to hundreds of users going through multiple pages) or look at the other options listed here: https://geteasyqa.com/blog/best-tools-load-testing/ 

回复Mathew Gancarz

Re: 150 concurrent users to do test

Markus Münch -

On behalf of Peter Stapfer:

Thank you all for your replies.

The idea is that 150 people are sitting in the same room and do a test on "ready-set-go". The evaluation of the test will take place indivicually, because of everyone having his own speed in answering the questions.

We will test with JMeter first and then do a real-life testing with over 100 persons.

Kind regards
Markus

回复Markus Münch

Re: 150 concurrent users to do test

Howard Miller -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像

It's about the worst thing you can do. Even if you can organise them into groups and stagger the start by a few minutes you will hugely reduce the risk of your Moodle site grinding to a halt. 

Ultimately it depends on your hardware and you won't know unless you try/test it.