0
votes

I need to test a web-application using JMeter.

Every time I give the path, it gets redirected to auth0 to login Is there a way I can save the credentials, so that every path I mention is accessed with those credentials and doesn't always redirect to login?

1

1 Answers

0
votes

Most probably no. Consider each JMeter thread (virtual user) a normal user using a real browser.

If you open a new browser window in "porno mode" and try to give an URL which requires authentication - you will be redirected to the login page.

However if you're logged in already - you should be able to open any page without providing credentials.

In the absolute majority of web applications it's being implemented via Cookies so given you add HTTP Cookie Manager to your Test Plan - you should be able to navigate through your application (given the first N HTTP Request samplers which are responsible for login are successful)