I am using JMeter for performance testing. I have a set of users in a .csv file and am using csv config element.
Even if the login failed, it is showing that the request ran successfully. What is the way to get log data for users with wrong password during testing?
Go to Edit > Add > Assertions > Response Assertion In response assertion you can assert by checking the response code, message and header. If the assertion doesn't match then request will fail.
You have to add assertion to validate the response, so that if login fails it notifies the request as fail in test results.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With