How to use JMeter for login authentication?
Regular Expression Extractor is used to handle this situation. Following steps may be used,
- First find out the GET request where the authentication required & POST request that posts the credential to login
- The response from the GET request should have tokens which needs to be be extracted and sent as a parameter in the POST request.
- Add a Regular Expression Extractor to store these tokens and include the tokens as parameter in the POST request