user11007053
user11007053

Reputation: 49

JMeter throws many 403 errors

I have been struggling for hours to find out whats wrong here.

Upvotes: 0

Views: 100

Answers (1)

Dmitri T
Dmitri T

Reputation: 168002

  1. As per HTTP Status 403 description

    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]2, but in this case, re-authenticating will make no difference. The access is permanently forbidden and tied to the application logic, such as insufficient rights to a resource.

    So my expectation is that your user gets authenticated however it doesn't have enough permissions to perform the action your HTTP Request sampler is trying to perform so I would double-check your user permissions matrix.

  2. There are at least 8 errors in your script

    enter image description here

    so it worth checking jmeter.log file for any suspicious entries

  3. If your application is protected by Kerberos you need to:

    • supply domain and realm in the HTTP Authorization Manager
    • perform appropriate configuration in krb5.conf file (lives in "bin" folder of your JMeter installation)

    See Windows Authentication with Apache JMeter article for more details

Upvotes: 1

Related Questions