0

I am working with Jmeter to do load testing. I created a simple login script using BlazeMeter. Then I imported the file into Jmeter. Whenever I try to run the script, it fails. The problem I encounter here is that 2 of my https requests I receive a 403 and 500 response code.

I added an HTTP Authorization Manager to try and solve this but it is not working. Do you have any suggestions on how to resolve this? I tried adding post processors but couldn't make them work.

enter image description here

1 Answer 1

2
  1. First of all Template value in the Regular Expression Extractor should be $1$

  2. Also your regular expression itself looks kind of weird and I doubt it matches anything. You can check whether it generates the proper ${state} variable by using Debug Sampler and View Results Tree listener combination

  3. In general using regular expressions for parsing HTML is not the best idea, it worth considering migrating to CSS Selector Extractor

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.