403 Forbidden error | JMeter Forum
S
Shilpa Posted on 15/10/2018
When executing a test plan, I am getting 403 Forbidden error. I have added the Cookie manager as well as extracting the session id at runtime using regular expression extractor.

regular expression used is <input type="hidden" name="_csrf" value=([^>]+)>

S
Shilpa Replied on 16/10/2018

I get this error when I add cookie manager to my test plan. And if I remove the cookie manager, I get the error that "There's been a problem. Check your cookies are enabled and then try again."


A
Abhishek Puri Replied on 16/10/2018

Please attach your JMX file.


S
Shilpa Replied on 16/10/2018

NewTestPlan.jmx


A
Abhishek Puri Replied on 16/10/2018

Additionally you can try using (.+?) instead of ([^>]+)


S
Shilpa Replied on 16/10/2018

changed that but still the same error


S
Shilpa Replied on 16/10/2018

I have resolved the issue, thaks for your help


Related Posts