I need to test our Liferay application. In researching it sounds like JMeter is the way to go but following this example -> http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf
I don't really see a way to pass in more then one account. I have a list of several 1000 accounts, I want each thread to log in using a unique account to simulate the load (Just log in 1000 at a time, wait a minute, log in another 1000, etc, then kill when I hit the max log in that we are testing)
How, using the technologies I have/know (Java) can I pass in an array or other data structure of user logins and get the results I want?
Would there be another way of implementing this besides JMeter. We also have selenium but I don't see how to thread it.
Thanks
Consider the following JMeter Test Elements:
You will also need to handle Liferay Authentication Token otherwise you won't be able to simulate login, so your test plan should look like:
p_authtoken value and save it into a JMeter Variablep_authtoken value along with credentialsSee How to Load Test CSRF-Protected Web Sites article for more details on bypassing CSRF protection in particular and correlation in JMeter in general