0
votes

I am getting HTTP-401 (Unauthorized) error for single sign-on (SSO) application which I am trying to test. I am passing HTTP Authorization Manager with following information: Username/Password/Domain/Mechanism(KERBEROS).

I am getting following response headers in "View Results Tree" listener:

HTTP/1.1 401 Unauthorized content-length: 11785 content-type: text/html date: Thu, 09 Nov 2017 21:55:38 GMT p3p: CP="NON CUR OTPi OUR NOR UNI" www-authenticate: Negotiate cache-control: no-cache pragma: no-cache Set-Cookie: PD-S-SESSION-ID=0_7Yn3C....Ra4+IsxI=; Path=/; Secure; HttpOnly

Can anybody help please?

Thanks, Krunal

1
What have you tried to make it work?Michael-O
I tried adding HTTP Authorization Manager as I mentioned above.kmodi85
Could you solve this?isntn

1 Answers

0
votes

WWW-Authenticate header has several directives which determine authentication scheme.

Negotiate value may stand either for NTLM or for Kerberos so you need to add HTTP Authorization Manager to your Test Plan and configure it accordingly (you might need to contact your system administrator or application developers to get the correct details).

See Windows Authentication with Apache JMeter article for more details on bypassing NTLM and/or Kerberos authentication challenges in JMeter tests.