org.apache.http.NoHttpResponseException : The target server failed to respond

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

org.apache.http.NoHttpResponseException : The target server failed to respond

JAIN Kapil

Guys getting following error when running Jmeter (3.1)  script

 

I tried enable/disable keep alive checkbox with httpclient4 retry setting 5, idle timeout-5000 & stale connection true but no luck

 

Any idea ?

2017/10/12 08:26:01 WARN  - org.apache.http.client.protocol.RequestTargetAuthentication: NEGOTIATE authentication error: No valid credentials provided (Mechanism level: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt))

2017/10/12 08:29:38 INFO  - org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$7: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->xxxxxxx:8443: The target server failed to respond

2017/10/12 08:29:38 INFO  - org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$7: Retrying request to {s}-> xxxxxxx:8443

2017/10/12 08:30:38 INFO  - org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$7: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https:// xxxxxxx:8443: The target server failed to respond

2017/10/12 08:30:38 INFO  - org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$7: Retrying request to {s}->https:// xxxxxxx:8443

2017/10/12 08:31:38 INFO  - org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$7: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https:// xxxxxxx:8443: The target server failed to respond

2017/10/12 08:31:38 INFO  - org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$7: Retrying request to {s}->https:// xxxxxxx:8443

2017/10/12 08:32:38 INFO  - org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$7: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https:// xxxxxxx:8443: The target server failed to respond

2017/10/12 08:32:38 INFO  - org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$7: Retrying request to {s}->https:// xxxxxxx:8443

2017/10/12 08:33:38 INFO  - org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$7: I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https:// xxxxxxx 8443: The target server failed to respond

2017/10/12 08:33:38 INFO  - org.apache.jmeter.protocol.http.sampler.HTTPHC4Impl$7: Retrying request to {s}->https:// xxxxxxx:8443

 

Sopra Steria is the trading name of the following companies (all registered in England & Wales): (i) Sopra Steria Limited (No. 04077975) (ii) Sopra Group Ltd (No. 01643041) (iii) Sopra Group Holding Ltd (No. 01588948)
Reply | Threaded
Open this post in threaded view
|

Re: org.apache.http.NoHttpResponseException : The target server failed to respond

glinius@live.com
Looking into


> No valid credentials provided (Mechanism level: Failed to find any
> Kerberos tgt)

it seems your request isn't able to authenticate. Make sure you:

 1. Add  HTTP Authorization Manager
<http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Authorization_Manager>  
to your Test Plan
 2. Select *KERBEROS* from the "Mechanism" drop-down and populate all
remaining fields with credentials, domain, realm, etc.
 3. Amend *krb5.conf* and *jaas.conf* files (live in "bin" folder of your
JMeter installation) with your KDC details, if you don't have them - ask
your network administrator or developers.

References:

1.  Explain like I’m 5: Kerberos
<http://www.roguelynn.com/words/explain-like-im-5-kerberos/>  
2.  Windows Authentication with Apache JMeter
<https://www.blazemeter.com/blog/windows-authentication-apache-jmeter>  



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

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