Jmeter Authorization | NTLM

While Testing with Jmeter, you might be trying to script a application which do not have a login page.
But it does authenticate the user by Single Sign on (SSO) or Through a pop up.

SSO: When Your Request is transferred to some 3rd party application to validate your credentials through which you have logged into your device .
Example : Your Intranet application in your company which authorizes and display your personalized homepage for the person who has logged into the device.

Pop-UP :


While working with Loadrunner you might be using web_set_user function to fulfill your need.
Whereas in Jmeter, it is done using HTTP Authorization manager.
where you mention the external server link, User name, password and domain.

Although just adding this part and executing the Homepage still might return 401 unauthorized.

Well now you have to look if your request need some Authorization Key, which is generated by HTTP Authorization manager.
It might be requiring that in header of the request and not in body of the request.

So, you have to correlate the Authorization key by passing the key in HTTP HEADER Manager, which is called before the main request and after the HTTP Authorization manager request.

Comments

Popular posts from this blog

Command Line tool for Android and iOS [ adb and cfgutil ]

Convert Chrome recording to Vugen Script

Jmeter-CheatSheet