Am 17.11.20 um 20:23 schrieb Akhilekhya Avantsa: > Hi Team, > > I am facing 401 unauthorized error for Kerberos authentication (spnego) using > JMeter. > > For JMeter Kerberos setup - I have configured krb5.conf, jaas.conf and system > properties of Jmeter. Also added domain and realm to the HTTP Authorization > Manager yet getting authentication issues.
Can you give us more details? Always remember, we can't see you setup and have to guess what you mean by configured X or added Y. There are tons of ways to configure something and not all are correct. Are there any Kerberos/auth/SPNEGO related messages in jmeter.log? What are the headers looking like in the request/responses? I often stumble upon configuring the wrong paths for krb5.conf or jaas.conf, especially when using relative paths. If there are not enough log messages to help me, I try to tell Java to give me more. Try to add 'debug = true' to jaas.conf and/or |add -Dsun.security.krb5.debug=true to the environment variable JVM_ARGS.| Felix > I have also enabled the Kerberos for the browser and able to record the > scenarios but getting as SPNEGO authentication not supported in the recorded > response code. > > Please help me with the steps to set up Jmeter for Kerberos authentication > and suggestions to resolve the issue. || > > > Regards, > Akhilekhya Avantsa, > Test Analyst, > Infosys Ltd, India > +91 8639828304. >
