Am 08.07.2016 um 11:58 schrieb Shahnawaz Khan:
Hi Felix,

I was trying to login to a website and it requires the windows
authentication.

When i am manually logging in i am able to access the site, but whereas
when i am attempting it through JMeter getting error message as below:

Thread Name: Admin Menu Page 1-1
Sample Start: 2016-07-08 13:07:34 IST
Load time: 10
Connect Time: 2
Latency: 10
Size in bytes: 1509
Headers size in bytes: 216
Body size in bytes: 1293
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): text
Response code: 401
Response message: Unauthorized

Response headers:
HTTP/1.1 401 Unauthorized
Content-Type: text/html
Server: Microsoft-IIS/8.5
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
X-Powered-By: ASP.NET
Date: Fri, 08 Jul 2016 07:37:27 GMT
Content-Length: 1293


HTTPSampleResult fields:
ContentType: text/html
DataEncoding: iso-8859-1


I hope this is helpful.
That shows, that your server is willing to accept Kerberos (SPNEGO) and NTLM for authentication.

You have to add a HTTP Authorization Manager (http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Authorization_Manager). Fill in "Base URL", "Username", "Password" and "Realm" and select "Kerberos" as "Mechanism".

In $JMETER_HOME/bin adapt the file krb5.conf to your needs and either set the system properties "java.security.krb5.conf" and "java.security.auth.login.config" as described on the above given website.

Try again and report back.

Felix

Let me know in case there is anymore information which is required.

Thanks & regads,
Shahnawaz Khan

On Fri, Jul 8, 2016 at 2:41 PM, Felix Schumacher <
[email protected]> wrote:


Am 8. Juli 2016 09:51:51 MESZ, schrieb Shahnawaz Khan <
[email protected]>:
Hi,

Used JMeter to create the thread group and other relevant stuff as
described under http://www.guru99.com/jmeter-element-reference.html
[image: Inline image 1]

When i am trying to run the script i am getting the above message.
I can't see any image. It is probably stripped by the mailing list.

I would find it preferable to get a text representation.

Regards,
Felix

Can you please let me know if there is anything which i need to change
in
the registry?

Thanks & regards,
Shahnawaz Khan

On Thu, Jul 7, 2016 at 12:37 AM, Felix Schumacher <
[email protected]> wrote:

Am 06.07.2016 um 11:36 schrieb Shahnawaz Khan:

Hi,

I am new to JMeter and stucked with the login page as its returning
the
error code 401: Unauthorized access.

Can you please help me for the same as i have gone through all the
documents available online but not able to get any resolution.

I don't know which documents you have already read, nor do I know,
what
you have done. Therefore I think it would be best to start telling
us, what
you want to do and what you have done exactly.

Regards,
  Felix

Hoping for a quick reply.

Thanks & regards,
Shahnawaz Khan


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to