1

i have record script in badboy and generate .jmx file. In jmeter open that file and run then display error enter image description here

  • Did u get the resolution for getting access error in Jmeter but not in browser? I am also getting same issue, with no clue to resolve. – Pallavi Goel Rungta Feb 20 '18 at 9:41
2

HTTP Status Code 403 stands for Forbidden

The HTTP 403 Forbidden client error status response code indicates that the server understood the request but refuses to authorize it.

This status is similar to 401, but in this case, re-authenticating will make no difference. The access is permanently forbidden and tied to the application logic (like an incorrect password).

Most likely this is due to incorrect JMeter configuration and/or missing/incorrect correlation, I would suggest the next steps:

  1. Make sure you have HTTP Cookie Manager added to your Test Plan
  2. If your application is protected with external authentication system like Basic HTTP Authentication, NTLM or Kerberos you need to handle it properly using HTTP Authorization Manager
  3. If your application is expecting some form of security token as request parameter or request header or cookie or whatever you will need to extract it from previous response using i.e. Regular Expression Extractor, convert it into a JMeter Variable and add it as a parameter to the next request.

Above are general recommendations, we need to see your test plan snapshot and request/response details in order to be able to help you to get to the bottom of the problem

0

can you access the request in question manually via the browser? I would assume its server configuration to deny you/require authorisation to access what you desire. This would suggest the request is received but you are not authorised to access it

  • i get error in jmeter.not in browser – Rutvi Soni May 29 '17 at 5:39

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.