After recording the script in JMETER, if we run the script without making any changes, login fails.
To solve this problem, please follow below steps.
After recording, select login page to see the http request.
In http request, under parameter table, nonce appears at the top of the table with some random values as shown in image below.
Delete “nonce” from the table and run the script again.
Login successful !!