NaveenKumar Namachivayam
NaveenKumar Namachivayam

Reputation: 1202

Kerberos Authorization in JMeter

I have an application where it allows only to users who has granted access using Kerberos. I have added HTTP Authorization Manager in JMeter script. Below are the values.

When I execute it, I got the response stating that "You do not have rights to access the application."

There is no login page. When we invoke the URL, it will open the home page immediately. Manually it is working fine.

How do I solve above issue?

Also, if user 'B' (who doesn't have access to the application) executes the script, he got only the blank response with code 200 OK.

Upvotes: 0

Views: 4175

Answers (1)

Dmitri T
Dmitri T

Reputation: 168002

You also need to perform the similar configuration in krb5.confand jaas.conf files, the configuration should match your DC/KDC.

You will also need to add the next 2 lines to system.properties file

java.security.krb5.conf=krb5.conf
java.security.auth.login.config=jaas.conf 

All the files are located in the "bin" folder of your JMeter installation.

Check out Windows Authentication with Apache JMeter article for more information and some sample configuration.

Upvotes: 1

Related Questions