Script to do an stress test of JOBE?

Script to do an stress test of JOBE?

by Sergi García -
Number of replies: 2
Hi. I want to ask a question.
Does anyone has an script to do an "stress test" of JOBE in our server?
My idea is to test things like how many Java submissions can be done in a time or something like that.

Regards, Sergi.


In reply to Sergi García

Re: Script to do an stress test of JOBE?

by Richard Lobb -

There's a testsubmit.py script included with Jobe. You could tweak that to measure the throughput rate when repeatedly submitting a simple Java program. Alternatively, there's a Python2 script loadtesting2.py on the CodeRunner repository (https://github.com/trampgeek/moodle-qtype_coderunner/blob/master/loadtesting2.py) which simulates a group of students continually submitting answers to a set of Moodle questions. The latter gives you a much better true estimate of load handling, but you do need to set up a set of test students and a test of test questions on the Moodle server in order to use it. I usually run with 20 students continually submitting code, but I haven't done it with Java as I don't teach that anymore.

Richard

In reply to Richard Lobb

Re: Script to do an stress test of JOBE?

by Sergi García -
Thanks for your answer Richard!!
I will try to configure both python test :)

Regards, Sergi.