JMeter Scripts

JMeter Scripts

by Ben Steeples -
Number of replies: 51
Hi all,

A lot of people use the Performance perspective script to give a general prediction of what their Moodle setup is capable of. But more often than not, people encounter performance issues once their Moodle installation has been up and running for a while, and they cannot then run this script with live data. Additionally, the script only benchmarks the Moodle API, and ignores any script caching and web server optimisations that may be in place (not Moodle Record caching).

I notice that Moodle.org now has a JMeter page (http://docs.moodle.org/en/JMeter), however there's not much guidance about benchmarking your own Moodle installation.

So, I wondered if JMeter using Moodler's wanted to swap JMeter test scripts or ideas?

Thanks,
Ben
Average of ratings: -
In reply to Ben Steeples

Re: JMeter Scripts

by Jordan Tomkinson -
I tested moodle.org with JMeter before the change over to our new hardware. We made 2 test scripts based off examples others had sent me, the first logs in, views the forum, creates a new thread and logs off. The second logs in and views the forum then logs out. This was a good test as it not only covered database reads but also inserts. We put moodle.org under some extremely heavy load (the server fell over a few times) but that was expected. I will agree with the fact that JMeter tests arent comparable to real world performance, but they do give you some idea of the limits of your server.

I might add you probably shouldnt stress your server too hard unless you own the hardware its running on - hosting companies would not be happy to see there servers crash because of your tests.
In reply to Jordan Tomkinson

Re: JMeter Scripts

by Ben Steeples -
Our initial testing was simply "how many threads can hit the Moodle homepage, whilst users can still log in". However our most recent testing methodology is a bit better:

- Check homepage
- Check a course category
- Log in
- View my Moodle page (logged in)
- View a course (logged in)
- View a forum discussion (logged in)
- View homepage (logged in)

Which also seems to be a good check in JMeter. I'm currently in the midst of checking various server setups for Moodle, so it's a good comparison.

Fortunately I have a test box up and running, a bit of an unrealistic arrangement, but good to compare different configurations.
In reply to Ben Steeples

Re: JMeter Scripts

by Sébastien WEBER -
Hello,

I'm installing Moodle for a french organization and we need to test, but we don't have much time.
Do you know where it could possible to download the jmeter scripts you're talking about? It will be so helpfull.

Thank's in advance and excuse my poor and bad english.

Sébastien Weber
In reply to Ben Steeples

Re: JMeter Scripts

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I would like to see a place to share and exchange JMeter scripts.

Actually, I would like to get a web testing framework integrated into Moodle, similar to how we have an integrated unit test framework. That way, we could start building up a body of integration tests.

Anyway, a low-tech way to easily share what JMeter scripts we have would be a good start.
In reply to Tim Hunt

Re: JMeter Scripts

by Anthony Borrow -
Picture of Core developers Picture of Plugin developers Picture of Testers
Tim - Might we want to put JMeter scripts in CONTRIB? Perhaps something like contrib/tools/jmeter? Peace - Anthony
In reply to Anthony Borrow

Re: JMeter Scripts

by Wen Hao Chuang -
Hi Anthony I think that would be a great idea! I would be happy to share with everyone about what I have right now (still evolving and not much documentation, but it's something to get started)...

Wen
In reply to Wen Hao Chuang

Re: JMeter Scripts

by Ebenezer Le Page -
we are just this week starting the process of creating some scripts so any advice that can be published to extend the documentation would be really welcome!
In reply to Ebenezer Le Page

Re: JMeter Scripts

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
MDLSITE-733. If you vote for it, I'm sure Anthony will oblige.
In reply to Tim Hunt

Re: JMeter Scripts

by Anthony Borrow -
Picture of Core developers Picture of Plugin developers Picture of Testers
Actually, I am happy to oblige even if folks do not vote. I have created /contrib/tools/jmeter but what I would like to do is create individual folders for those who wish to share their scripts. I would suggest including a README.txt file with the script(s) briefly describing them. The individual folders will allow for all to enjoy read access to them but maintain some control over who all can make modifications to them. So if you have a script that you would like added to the /contrib/tools/jmeter directory please create an issue for the CONTRIB project in the Tool: JMeter script component and upload the script there. Then I can work to make sure that you have CVS write access to it. Peace - Anthony
In reply to Anthony Borrow

Re: JMeter Scripts

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Actually, I think we need to do two things.

In the first instance, we should have separate subfolders of /contrib/tools/jmeter where people can just dump the scripts they have made, and other people can get them and reuse them. However, that is a very low-level type of sharing, useful, but we should do more.

What more, well we need a volunteer to start organising things
  • catalogue what we have and what, so we don't have 10 scripts testing posting to a forum, and no test for the glossary, say.
  • work out techniques so that scripts will run easily of many different Moodle sites, and are not tied to one specific site.
  • work on a standard Moodle test suite, that nicely packages up scripts for a lots of moodle with easy instructions so that anyone can run them.
that sort of thing anyway.

What I am trying to say is that the open source magic will be most effective if everyone is contributing to a common set of tests. But, as a first step, lets just get whatever scripts we have out there in public.
In reply to Tim Hunt

Re: JMeter Scripts

by Anthony Borrow -
Picture of Core developers Picture of Plugin developers Picture of Testers
Tim - Do you think a JMeter database might be better than storing them in CVS? That might help with organization. Peace - Anthony
In reply to Ebenezer Le Page

Re: JMeter Scripts

by Ben Steeples -
Hi Adrian,

I've attached the JMeter script that we recently used to benchmark various setups. The script does the following actions:

  • Views a course listing page
  • Views the home page
  • Logs in (and is redirected to /my)
  • Views a course page (whilst logged in)
  • Views a forum (whilst logged in)
  • Views the home page (whilst logged in)
You'll need to adjust the base web address and user login details, but it should work.

In terms of testing methodology, we benchmarked our server with 25, 50, 75, 100, and 150 threads; leaving out the first and last where appropriate. If you then save the overall Aggregate Report, it will give you a fair idea of what the various setups are capable of.

Best,
Ben
Average of ratings:Useful (2)
In reply to Ben Steeples

Re: JMeter Scripts

by Pyers Symon -

As a complete novice in moodle (I am a Unix systems specialist) could you point out the lines in the script which will need changing?

Many thanks ......smile

In reply to Pyers Symon

Re: JMeter Scripts

by Ben Steeples -
I've never opened the script in a text editor, just allowed JMeter to open it.

The things you will need to change, are:
  • Test Plan/Load Test
    Update the Number of Threads accordingly. As above, I'd suggest 25-250 in 25 or 50 thread increments, depending on when you hit your 'ceiling'.
  • Test Plan/Load Test/HTTP Request Defaults
    It's very important to change the Web Server Name or IP to your own Moodle installation. Else you'll be DDOS'ing Essex's Moodle server.
  • Test Plan / Load Test/Course Listing
    Change /course/category.php?id=14 to an ID that your server uses.
  • Test Plan/Load Test/Login
    Change username and password in the Send Parameters with the Request section to a valid username/password for your Moodle setup. Note, I'd set this to a standard teacher/student, admin users have a lot more queries run for them.
  • Test Plan/Load Test/HS604
    Change /course/view.php?id=85 to an ID that your server uses.
  • Test Plan/Load Test/HS604 - Forum
    Change /mod/forum/view.php?id=4778 to an ID that your server uses.
Note that this just tests a course and its forums, if you make heavy use of other Moodle tools (eg, quizzes), you should expand the script to take those into account as well. The above script was used to simply test the day-to-day scalability of our server.

Ben
In reply to Ben Steeples

Re: JMeter Scripts

by Wen Jie -
I downloaded Moodle_Esex_org.jmx and ran it as a default setting(ie. server is pointing moodle.essex.ac.uk). In the summary report, everything was fine except the Error %. For some like myMoodle, HS604 and HS604-Forum, I received a 100% error. What could this mean?
In reply to Wen Jie

Re: JMeter Scripts

by Chris Potter -
Well, make sure that it's pointing to a valid course URL for that course and forum. I had to change the configuration options to make sure it pointed to an existing course.
In reply to Wen Jie

Re: JMeter Scripts

by Ben Steeples -
Check the assertions on the page listeners (expand each request, and you'll see Response Code/Response Text).

Although the page might be returned correctly from PHP/Moodle, the assertions look for specific response codes (200) and text (which varies by page).For example, the Response Text assertion on the Home Page listener, looks for the phrase "useful downloads"; if that does not exist, the request will be considered a 'fail' by JMeter.

Also, check the View Results Tree, it will give the exact request/response from Moodle, and you can get a better idea of the failure reason there.
In reply to Ben Steeples

Re: JMeter Scripts

by Leo Dil -
Hi all,

I've read some tutorials and successfully made a few small load tests, but the question is what should be done with the results?

test 1:
  • Login
  • chose a course
  • make the quiz
etc.

How to know that what you get as result is OKAY? or am I missing something!mixed

Any tip would be helpful.

Thanks in advance.
In reply to Leo Dil

Re: JMeter Scripts

by Ben Steeples -
I'd say to check two things:

1) the number of threads
2) the response time

As you increase the number of threads, you'll see the response time increase (and possibly the failure rate at high loads). The question is, what response time is acceptable?

An acceptable response range (IMHO) is <2-3 seconds; ideally you'll want to be <1s range; and <0.5s is perfect. So, by tweaking the number of threads and your hardware setup, you'll get an idea of how many concurrent users your Moodle setup can support.
In reply to Ben Steeples

Re: JMeter Scripts

by Leo Dil -
Thanks a lot for the tips.
It is important to know the ranges. This will help me make good decisions and get the best result of the server that we have.
In reply to Leo Dil

Re: JMeter Scripts

by Anton Huber -
Hi,

I have already stress tested my moodle instance but I am not sure how to interpret the results - maybe one of you can help me with this:
Configuration:
Threads: 500
Ramp-Up period: 0
duration: 500

Results:
Label
number of examples
average
Min
Max
Std. Dev.
% failure
capacity
KB/sec
average bytes
login/index.php
2400
24832
754
208696
31525,43
14.67
8,9/sec
85,85
9893,7
login/logout.php
1200
14065
123
201505
21854,62
8,83
4,7/sec
27,42
6019,7
total
3600
21243
123
208696
29112,49
12,72
13,3/sec
111,91
8602,4

Would be awesome if one you can help me.

Thanks,
Anton
In reply to Anton Huber

Re: JMeter Scripts

by Ben Steeples -
Hi Anton,

Ok, so it looks like you've tested your server with 500 concurrent connections, over a 500s period, equating to 3600 'hits' on the web server (split 2/3 over index.php/logout.php).

I'd intiially suggest that you add a ramp-up period of 15-30s. 500 threads with no warmup is unlikely to happen in the real world, and a ramp-up period will give things like PHP caching time to prime itself. Generally your server will be a happier server.

Anyway, we can see from the min column that under ideal circumstances, your server will return pages in an acceptable timeframe (0.754s and 0.123s respectively). However, in the worst case scenario, your server is failing to serve ~8-15% of pages, and can take upto 20s to serve a page (max)*; this is most likely to be when all 500 threads are hitting the server at once.

*as a side note here, I suspect that you have a timeout somewhere set to 20s, since both your pages are failing after a maximum of 20s.

Finally, your average response time is 14-24s, which is fairly high.


In all, this suggests that your server cannot cope with 500 threads. You should try reducing the number of threads (at 50 threads a time; 500, 450, 400, etc), until the following happens:
- the failure rate drops to 0% (or at least <1%), which will indicate how much load your server can take before it fails completely; and then
- the maximum and average response times drop to a value that you find acceptable, I'd suggest <5s max and <2s average.

Once the above criteria are met, you'll have a number of threads that your server can handle. This roughly equates to the number of concurrent users, but YMMV depending on what your users do within Moodle.

Hope this helps,
Ben
Average of ratings:Useful (2)
In reply to Tim Hunt

Re: JMeter Scripts

by Nate Baxley -
I think that a collection of JMeter scripts is a great idea, but it looks like the CONTRIB folder that Anthony setup didn't quite take off. Is there some other place that I can find more examples? I found one posted here in the forum and one in the CONTRIB folder. I'd love to see what others are using to test their sites and if they already exist, I'd sure appreciate not having to recreate them smile For simplicity, if you can post your scripts here, it would be a start.

Thanks,
Nate Baxley
In reply to Nate Baxley

Re: JMeter Scripts

by Anthony Borrow -
Picture of Core developers Picture of Plugin developers Picture of Testers
Nate - I never really heard anything from anyone about scripts and so there is not much in CONTRIB. If folks want to share I am happy to facilitate that. One idea might be that create a database like the Modules and Plugins database for these. I wonder if M&P would be able to store these without too much modification? That may be another approach. Let me know what you think. I want to make it as easy and convenient for folks to share, find, use, update them, etc. Peace - Anthony
In reply to Anthony Borrow

Re: JMeter Scripts

by Leo Dil -
I've written a script that is doing the following things:

  • Log in
  • View course list
  • View the course
  • Edit a course
  • Edit a section of a course
  • Add a text to the section
  • Go to a Quiz
  • Attempt the Quiz
  • View the course
  • Log out
I've actually recorded this with Proxy Server functionality of jMeter.
I've got great results and tuned my server, now I'm getting an average of min 1.3 sec and max 3.4 sec.

The questions is how to share this script. I think that if I share it, people will have to change lots of things to get it running, because you have to change lots of things to be able to run the script, so has anyone another idea?

Leon
In reply to Leo Dil

Re: JMeter Scripts

by lawrence li -
Hi Leo

I've zero knowledge of Jmeter,
currently I host Moodle in Hosting, can I stress test it? I have to put Jmeter and install on their own server? And then what I do next? Really can't find any step-by-step hints, thanks
In reply to lawrence li

Re: JMeter Scripts

by Ben Steeples -
Hi Lawrence,

There are a lot of JMeter tutorials out there, it's an Apache Foundation product.

JMeter installs on your own personal computer, not the Moodle server. But if you are running on a hosted environment, you might want to speak to your host about this first; you are potentially running a Denial of Service attack on your own setup.

Best,
Ben
In reply to Leo Dil

Re: JMeter Scripts

by Nate Baxley -

Leo,

I'd love to see your script if you don't mind sharing.  If there's things we need to change, it may help us learn more about the process anyway.

Thanks!

In reply to Ben Steeples

Re: JMeter Scripts

by Paul Vaughan -
Hi Ben.

Thanks to your script, I've been able to get on the case with stress-testing our development Moodle server very quickly, so thanks for providing that. In addition it also taught me about using JMeter itself, which is valuable knowledge.

It's difficult to know exactly what numbers to try for the users/ramp-up/loop figures, but I'll try to figure out what is a 'real world' scenario for our systems and start from there.

I'm also keen to try to figure out what load I can put the server under using JMeter while still having the server visibly usable (get a colleague or two to use Moodle at the same time) to try to see what constitutes a heavy-but-still-usable load.

Finally I think I'll try to stress it to the point it starts failing to serve pages at all (as I've not got there yet) and see if I can crash it, both of which are rare occurrences in real life (to date, touch wood!).

Regards,

Paul.
In reply to Paul Vaughan

Re: JMeter Scripts

by Benjamin Tran -
Hi,

I'm trying to post/reply to a forum thread via JMeter and ran into the following error:
"Incorrect sesskey submitted, form not accepted"

Does anyone know how to make this work? I used the regex post processor to get the sesskey after loading the homepage and it's passed to the form when submitting the reply to the forum thread.

more info...
my JMeter test does the following:
- load the homepage
- log in
- access the course
- click on forums
- view the thread
- go to reply
- post the reply (here's where the error came up)
- view the thread again

Thanks!
-ben
In reply to Benjamin Tran

Re: JMeter Scripts

by Gergely Rakoczi -

Hi,

I'm struggling with sessionkey handling too. If i want to rerun the recorded test it always fails because afterlogout new session keys are needed.

Could you solve your problem?

thank you in advance!
In reply to Gergely Rakoczi

Re: JMeter Scripts

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I think you have to make your JMeter script do a log-in, and capture the sesskey into a variable in the process. It is yucky, but possible, and the kind of thing you work out once, and then forget about.

I can't help you with standard Moodle authentication, because we have a custom auth system here which really makes writing JMeter scripts tricky wink
In reply to Paul Vaughan

Re: JMeter Scripts

by Ben Steeples -
Hi Paul,

Re: users/ramp-up/loop figures...

Ramp-up we defined as 30-60 seconds, this seemed to be easier on the web server rather than hitting it with n-hundred number of users instantly.
It should also give you PHP cache an opportunity to prime itself (if you use PHP caching, and indeed caching anywhere in your Moodle setup), since you're undoubtedly restarting services as you're adjusting the setup (and therefore emptying caches). There's also a chance that you have network hardware and/or server configurations which react badly to an instantaneous number of connections (ie. they consider it a Denial of Service attack). Apache has various modules which you can enable which try to avoid this, and they have their own ramp-up periods.
Finally, it also gives you a visual clue as to when your Moodle setup is starting to struggle; you can use the response-time graphs against the number of current threads, to determine this.

Loop we tried to keep JMeter running for approximately 5 minutes; although there were some tests where it was clear that our Moodle installation could cope, or was failing miserably, to the tests were ended prematurely.

Users will be your biggest variable. You're right, having a broad picture of "how high can we push this until we start to see failures?" was our methodology, and we had an 'acceptable range' in mind for general use. We roughly pushed users up in 50-user increments, covering 50 - 250 concurrent users, then refined this to 25-user chunks for the areas we were interested in (eg. 125, 150, 175).
Failures should be considered an absolute limit, as your colleagues have been using Moodle mid-JMeter, you'll see that acceptable response times come into effect much sooner. Bear in mind that your physical users will need to follow a script similar to your JMeter test script, as not to skew the results; but it's an excellent way of visibly showing the effect of high usage (especially to management!).


In the end, we concluded that our new setup (load-balanced Apache servers) would be acceptable for the usage figures we were worried about (150-200 concurrent); and in theory would scale upto about 300 concurrent.

Finally, just to add that it's important that your JMeter reflect what your users actually do in Moodle. There are documented means of using your Apache logs to build JMeter test plans, although you can also plan based on common sense (our script, posted above, uses the common sense approach). Obviously if you run a high number of quizzes though Moodle, or make extensive use of media, your JMeter script should reflect this.

Best,
Ben
Average of ratings:Useful (2)
In reply to Ben Steeples

Re: JMeter Scripts

by James Brisland -
Hi All,

I've finally gotten round to publishing my (half baked) jMeter script generator script :D

Go to my OU Site and view the Load Testing page. There you should be able to grab my script and start using it.

Sods law dictates it's not going to work for anyone, but ho hum! I'm about 80% sure it should just work providing you follow the instructions.

If there are any issues just leave a comment on the site.

Ta,

James

Note: I forgot to say the scripts are written for Moodle 2, but shouldn't take much tweeking at all to get them working for 1.9. Just the page generation stuff needs changing (and maybe some of the error handling?)
Average of ratings:Useful (3)
In reply to James Brisland

Re: JMeter Scripts

by Dan Poltawski -
Hi James,

Thanks for sharing this, its really useful - we hope to have a look at it next week smile

Dan
In reply to James Brisland

Re: JMeter Scripts

by Ruslan Kabalin -
Picture of Core developers Picture of Moodle HQ Picture of Moodle Workplace team Picture of Peer reviewers Picture of Plugin developers

Hello James,

Great script, thanks a lot. Here in LUNS Ltd. we have fixed some bugs and enhanced its functionality slightly.

Now it has the following:

  • Chat tests generation (both AJAX based and accessible one),
  • Prettier XML output in case one want to look through it in text editor,
  • JMeter loopcontroller is added to make script output more compact where possible,
  • Random text generator is added.

The code is available from LUNS Git repo: http://git.luns.net.uk/

In reply to Ruslan Kabalin

Re: JMeter Scripts

by James Brisland -

Hi Rusian,

Thanks for taking the time to look at the script. It was a basic start, and it's nice to see some people advancing it.

I have also done some work on it, funnily enough I also added in the loop controller amongst other things.

It's still not in a state to upload yet, that might take a while. I will have a look at your changes and integrate them when I get a chance.

Again, thanks for taking the time to have a look. It's nice when someone else gets use out of something I've built.

In reply to James Brisland

Re: JMeter Scripts

by Ruslan Kabalin -
Picture of Core developers Picture of Moodle HQ Picture of Moodle Workplace team Picture of Peer reviewers Picture of Plugin developers

Just for the record, I have published James's loadtesting generation script along with LUNS changes on github:

https://github.com/kabalin/moodle/commits/jmeter_loadtesting

There were some requests to contribute, so I though having it on public repo would allow accepting pull requests easier.

In reply to Ruslan Kabalin

Re: JMeter Scripts

by Ruslan Kabalin -
Picture of Core developers Picture of Moodle HQ Picture of Moodle Workplace team Picture of Peer reviewers Picture of Plugin developers

For the ease of maintenance and following Simon Story's idea, I have detached the loadtesting directory from existing branch and created new fresh repo for this project having preserved all the full past commits history: https://github.com/kabalin/moodle-jmeter-script-generator It contains Simon's recent contribution as well which make it Moodle 2.2 compatible.

Regarding backward compatibility, there is pre_2.2 branch whish contains generator code for using with earlier versions.


Average of ratings:Useful (2)
In reply to Ben Steeples

Re: JMeter Scripts

by Mark van Hoek -
Picture of Core developers Picture of Plugin developers
Here's my JMeter (v2.4) test for Moodle (attached). It walks through Moodle links like a user would, with random ~3 second pauses each page. It uses the Moodle Features Demo course and assumes you have users mdltest1 - mdltest1000 enrolled in that course. Make sure you configure the User Parameters.

-Goto Moodle
-Login
-Agree to site policy

Does these in random order:
-Advanced Uploading of Files (disabled by default; make sure you set the course & assignment upload limits): Upload & download
-Online Text
-Chat: post a chat
-Forum: post & reply
-Quiz
-Resource: Image

-Logout
Average of ratings:Useful (2)
In reply to Mark van Hoek

Re: JMeter Scripts

by Emilio Arjona -

Hi, 

this is my script based on Mark van Hoek one (thanks Mark), modified to do load testing of Moodle 2.5. In this script you can change some concepts like the host and path easily using User Defined Variables in the configuration of the test plan.

"User parameters" have been completed too with some variables containing the name of Moodle objets the script will test.

After you run the script all data produced by the listeners (graph, result table, result tree, etc) will be stored in a directory given in the test plan parameters. 

It would be great to share scripts results, server configuration/sizing thoughts, etc...

 

Average of ratings:Useful (1)
In reply to Ben Steeples

Re: JMeter Scripts

by Mark Johnson -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I'm hitting a bit of a problem with JMeter (I'm a massive newbie in this field). Our moodle site is completely behind login, so when not logged in, and page requested redirects to /login/index.php.

I'm trying to write a JMeter test that logs in and looks at some pages, but even though I have a request POSTing the username and password to the login page, all subsequent requests are redirected back to /login/index.php
Can anybody give me a nudge in the right direction for getting this working? I can post the test plan I created if it helps.


In reply to Mark Johnson

Re: JMeter Scripts

by Mark Johnson -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Ignore my last post. I just created a test plan based on Mark Withheld's above, and it logs in no problem. Thanks!
In reply to Mark Johnson

Re: JMeter Scripts

by Frodo Naiv -

Could you tell me what exactly I have to change in Mark Withheld's test plan to adapt it for my moodle installation? I've changed "Server name" everywhere but only "Goto Moodle" is correct, the rest is 100% error.

ps I'm also a newbie in jmeter and moodle.

In reply to Ben Steeples

Re: JMeter Scripts

by jan Kris -

Hi all,

I am new to testing , and i am trying to learn Jmeter tool . Can anybody tell me how to view the Jmeter scripts that u all people uploaded in this link http://cvs.moodle.org/contrib/tools/jmeter/ .I didn't able to understand the structure of the files from where i can view the Jmeter scripts. Please guide me ....................

Thanks in advance smile

In reply to jan Kris

Re: JMeter Scripts

by George Henley -

Yeah, have you something like structure reviev?

In reply to George Henley

Re: JMeter Scripts

by Elavarasan MS -
Can anyone post the .JMX for : 1. Login and Logout 2. Reports 3. Updates 4. Download file/contents 5. Upload file/contents I need this very badly and new to the JMeter. please send me the link or attach file to mselavarasan@gmail.com Thanks, Ela
In reply to Elavarasan MS

Re: JMeter Scripts

by Mathew Gancarz -
Picture of Core developers

I don't have something specific to that and I think fastest way for you to get it would be to record it yourself. I had to do this for some of our SCORM Package testing, and there are step-by-step instructions here:

http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf

From the Proxy Recording jMeter test plan I then merged the relevant parts over to my Moodle-script generated test plan to create my final test.