Thanks for the pointers in your reply, Martin. The doc on Moodle.org for uploading a CSV file was very helpful. I wrote a short Perl script to generate a CSV file for the upload and was able to enroll all the new users into an existing course, etc. by passing in the optional values per record in the CSV.<br>
<br>I went through a lot of the threads in the Moodle 'Testing and QA' and the 'Hardware and Performance' forums. Found some good information and sample test scenarios.<br><br>I've started on the JMeter scripts but got stuck when I try to have a thread write/post info back to Moodle (e.g. submitting a reply to a thread in the forum). I suspected that it could've been an OLPC setting in XS that caused this but just confirmed that it's probably not. I tried to do the same thing on the Demo Moodle server at <a href="http://demo.moodle.net">demo.moodle.net</a> and ran into the same issue ---- 'Incorrect sesskey submitted, form not accepted!' Unfortunately, no one replied to my postings in the Moodle forum about this issue (<a href="http://moodle.org/mod/forum/discuss.php?d=148259">http://moodle.org/mod/forum/discuss.php?d=148259</a> and <a href="http://moodle.org/mod/forum/discuss.php?d=119443">http://moodle.org/mod/forum/discuss.php?d=119443</a>).<br>
<br>Wondering if anyone can shed some light on the session key error.... I checked the HTTP request that JMeter sends to the server and it does have the session key that I extracted from the response header after loading login/index.php<br>
<br>Thanks!<br>Ben<br><br><div class="gmail_quote">On Sun, Mar 7, 2010 at 10:48 AM, Martin Langhoff <span dir="ltr"><<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Sun, Mar 7, 2010 at 3:29 AM, Ben T <<a href="mailto:benjtran@gmail.com">benjtran@gmail.com</a>> wrote:<br>
> I'm looking at writing some Selenium tests and JMeter tests to run against<br>
<br>
</div>Cool! Do search in <a href="http://moodle.org" target="_blank">moodle.org</a> for selenium & jmeter, there are<br>
discussions on the topic and someone may have posted scripts or useful<br>
tips.<br>
<div class="im"><br>
> Under XS > Administration > Users ><br>
> Accounts, I can add new users.<br>
<br>
</div>Yes - you only need that to add users different from the registered<br>
ones. There is an option to upload a CSV file with user info if you<br>
want.<br>
<div class="im"><br>
> I want to populate the Moodle db with a list<br>
> of users, preferrably by directly inserting them into the database (would<br>
> that be identity.db?). In /home/idmgr/test, I found a 'local-register'<br>
> script that populated the db with a list of users.<br>
<br>
</div>Use that only if you are testing with XOs or SoaS. For Moodle load<br>
testing, skip this part and just use the CSV upload. The docs in the<br>
"?" icons are good, for a more "how to" writeups<br>
<a href="http://docs.moodle.org" target="_blank">http://docs.moodle.org</a> has good documentation on how to use it.<br>
<br>
Let us know how it fares! Ideally, with different hardware for the XS...<br>
<br>
cheers,<br>
<div><div></div><div class="h5"><br>
<br>
m<br>
--<br>
<a href="mailto:martin.langhoff@gmail.com">martin.langhoff@gmail.com</a><br>
<a href="mailto:martin@laptop.org">martin@laptop.org</a> -- School Server Architect<br>
- ask interesting questions<br>
- don't get distracted with shiny stuff - working code first<br>
- <a href="http://wiki.laptop.org/go/User:Martinlanghoff" target="_blank">http://wiki.laptop.org/go/User:Martinlanghoff</a><br>
</div></div></blockquote></div><br>