0

Am working on one application & i created script using dev tools after uploading file using csv data and everything using http request am getting 403 response code can u pls suggest me about this issueam getting 403 response code after adding all requried fields

1 Answer 1

1

Looking into the response it appears that you fail to pass correct CSRF Token, please double check your ${csrfmiddlewaretoken} value using Debug Sampler and View Results Tree listener combination.

My expectation is that you need to extract this token from each previous request using a suitable JMeter Post-Processor so this variable would have a new updated value each time you use it. Check out How to Load Test CSRF-Protected Web Sites article for more details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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