I have to test a web-app for login using Jmeter.
How is that done?
Should I give the path of the login page in the HTTP Request sampler and add the username and password to the login config element?
I have to test a web-app for login using Jmeter.
How is that done?
Should I give the path of the login page in the HTTP Request sampler and add the username and password to the login config element?
It needs to be realistic hence your test should be designed as follows:
I would also recommend adding HTTP Cookie Manager to represent browser cookies and deal with cookie-based authentication.
See How To Use JMeter For Login Authentication guide for step-by-step overview and demo