You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by JAIN Kapil <ka...@ext.soprasteria.com> on 2017/10/12 07:44:29 UTC

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

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



[cid:image001.png@01D34335.AC4B2590]

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)

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

Posted by "glinius@live.com" <gl...@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: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org