jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject Re: Using JMeter with Kerberos in Windows
Date Thu, 09 Oct 2014 18:25:18 GMT
Am 09.10.2014 um 04:00 schrieb James Lawson:
> Hi Felix,
>
> I actually transcribed that file across and it does say TEST.NET in the
> [domain realm] part of the file! Sorry about the misinformation.
>
> I have included output from the Sampler result and have highlighted the two
> WWW-Authenticate entries.
>
> Thread Name: Test HPS Group 1-1
> Sample Start: 2014-10-09 12:58:54 EST
> Load time: 974
> Latency: 974
> Size in bytes: 1533
> Headers size in bytes: 240
> Body size in bytes: 1293
> Sample Count: 1
> Error Count: 1
> Response code: 401
> Response message: Unauthorized
> Response headers:
> HTTP/1.1 401 Unauthorized
> Content-Type: text/html
> Server: Microsoft-IIS/7.5
>
> *WWW-Authenticate: NegotiateWWW-Authenticate: NTLM*
Looks Ok, and I found out, that I overlooked the error message in the 
first logs below...
> X-Powered-By: ASP.NET
> Date: Thu, 09 Oct 2014 01:58:54 GMT
> Connection: keep-alive
> Content-Length: 1293
>
> HTTPSampleResult fields:
> ContentType: text/html
> DataEncoding: iso-8859-1
>
> Regards,
>
> James
>
>
>
>
> On Wed, Oct 8, 2014 at 6:53 PM, Felix Schumacher <
> felix.schumacher@internetallee.de> wrote:
>
>> Am 08.10.2014 04:54, schrieb James Lawson:
>>
>>> Hi all,
>>>
>>> ...

>>> So I'm assuming that the account is being found ok. But the test then
>>> fails
>>> and I receive the following output in the JMeter logging Window:
>>>
>>> 2014/10/08 13:33:55 INFO  - jmeter.engine.StandardJMeterEngine: Running
>>> the
>>> test!
>>> 2014/10/08 13:33:55 INFO  - jmeter.samplers.SampleEvent: List of
>>> sample_variables: []
>>> 2014/10/08 13:33:55 INFO  - jmeter.gui.util.JMeterMenuBar:
...
>>> 2014/10/08 13:33:55 INFO  - jmeter.threads.JMeterThread: Thread started:
>>> Test HPS Group 1-1
>>> 2014/10/08 13:33:55 WARN  -
>>> org.apache.http.client.protocol.RequestTargetAuthentication: NEGOTIATE
>>> authentication error: No valid credentials provided (Mechanism level: No
>>> valid credentials provided (Mechanism level: Fail to create credential.
>>> (63) - No service creds))
If you google for that message you will find a few hits. But before 
reading those to closely,
I would set JVM_ARGS to "-Dsun.security.krb5.debug=true" and see what 
gets printed
on the console while running the test again.

Regards
  Felix

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message