Vivek Maitrey
Vivek Maitrey

Reputation: 11

How to handle SSO in jmeter

I am working on jmeter script in which I have to handle internal SSO. The service providing the access token is internally called and I can not see that while recording. Can anyone help me on that?

HTTP Authorization Manager was added during the recording session but it's not of any help.

enter image description here

enter image description here

Upvotes: 0

Views: 8206

Answers (2)

java track
java track

Reputation: 11

for me this request is failing /idp/${sessionid}/resumeSAML20/idp/SSO.ping

solution : I saw doc tab under network tab under doc failing twice and third time is passing.

so imitated same in Jmeter by placing duplicate request. so in Jmeter also it is failed twice and third one given proper response.

Note: do not forget to add cookie manager with "standard" and enable clear for each iteration

Upvotes: 0

Dmitri T
Dmitri T

Reputation: 168122

If your application is using Kerberos SSO just adding HTTP Authorization Manager will not be enough, you will need to:

  1. Perform the relevant configuration in krb5.conf and eventually in jass.conf files (both reside in "bin" folder of your JMeter installation)
  2. Point JMeter to these files using java.security.krb5.conf and java.security.auth.login.config properties correspondingly

No one here will be able to give you the details as they're specific for your application deployment, you can use Windows Authentication with Apache JMeter as the reference and contact your application developers or your network administrators for the correct values

Upvotes: 1

Related Questions