In this JMeter video tutorial we will show how to create a successful login scenario with JMeter.
JMeter requires the following steps:
2. Identify two locations:
-- The request that gets the login form.
-- The request that posts the login credentials.
3. The response from the GET request will contain tokens which need to be extracted and sent as a parameter in the POST request.
-- Add a Regular Expression Extractor to store these tokens. (Click here for detailed instructions).
-- Include these tokens as parameters in the POST request.
See the 2nd video below for an example.
Here is a video showing the process from start to finish:
And another video that deals with dynamic authentication tokens (starting at 5:30):