150 concurrent users to do test

150 concurrent users to do test

by Peter Stapfer -
Number of replies: 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

Average of ratings: -
In reply to Peter Stapfer

Re: 150 concurrent users to do test

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Sure!
;-D
In reply to Visvanath Ratnaweera

Re: 150 concurrent users to do test

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of 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.

In reply to Peter Stapfer

Re: 150 concurrent users to do test

by Mathew Gancarz -
Picture of 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/ 

In reply to Mathew Gancarz

Re: 150 concurrent users to do test

by 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

In reply to Markus Münch

Re: 150 concurrent users to do test

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of 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. 

Average of ratings: Useful (1)