Problem logging into JMeter test plan

I was hoping someone could highlight my problem. I am in the process of testing the load on a website. For authenticity, I would like to simulate a user login, etc. JMeter refuses to comply. I tried manually, using HTTPS requests, the HTTPS binder that is provided, and exporting login scripts from Badboy. Using the result presentation tree listener after running the test, it seems that everything works, but in the end I always get redirected to the login page. It seems that the cookie is functioning correctly as it displays the same session for each request.

Thank you in advance for any wisdom you all have to offer.

+3
source share
2 answers

While badboy is a great tool for creating a jmeter test in https.

But in our applications, badboy seems to add a receive request that doesn't work at all, I had to remove them manually to fix the problem.

And if you have a token or session id in your cookies, it won’t take care of it for you, so you have to figure out how to extract them using the reg-ex extent and put in the variable that your test will use.

These problems were very specific to our applications, but are not sure that they apply to you, but if you delete an unnecessary request and take care of returning your token / session ID, it can do the trick.

+2
source

-, - JSF, javax.faces.ViewState.

JFV, Expression Extractor. , - .

0

Source: https://habr.com/ru/post/1753604/


All Articles