Posted by ArtuDrop on January 16, 2017 at 6:50pm
There is a Drupal 7 Web Application which provides personal chats, group chats, real-time polls, theater, and other activities for authorized users.
Hence, the Application contains a lot of callbacks from Front End to Back End.
I think it does not matter: They are callbacks to Drupal (https://www.drupal.org/project/js) and callbacks to node.js (https://www.drupal.org/project/nodejs).
How to test it under loading, simulating the presence of a plurality of users?
Comments
random login module
Hi ArtuDrop,
I created a random-auto-login module once, exactly for this purpose (loadtesting a logged-in environment). Much easier to use than facilitating a login/SSO cycle in your tests. I'll see if I can put it online today.
Reinier
Here you go:
Here you go: https://www.drupal.org/project/random_user_auth
That module should almost
That module should almost have a dependency on http://drupal.org/project/bad_judgement
Ha, Ha. reinier-V, Does it
Ha, Ha.
reinier-V, Does it work for any user (guest) or for random user (guest)?
It just logs an anonymous
It just logs an anonymous user in as a random drupal user from the local user-base, (could be any role).
There's no guest user or user with username 'random' or anything. It's really random.
This enables you to do a normal anonymous jmeter-test and still make use of restricted pages/uri's/content.
For a proper jmeter test, every concurrent connection should have it's own session hence simulating the same amount of unique users.
Just for references
There is a detailed example of auth load tests with jmeter in the OReilly Drupal Perf. Book:
http://chimera.labs.oreilly.com/books/1230000000845/ch20.html#_handling_...