jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Jmeter error : Non HTTP response code
Date Fri, 28 Oct 2016 18:33:55 GMT
Hi
have you changed any of the default timeout properties in jmeter.properties
(or equivalent) and/or hc.parameters? Did you try setting a larger timeout
value on the sampler itself ?

On Thu, Oct 27, 2016 at 7:21 AM, mahesh bhasme <mbhasme@gmail.com> wrote:

> Destination server is busy with some processing and DB response, it takes
> time about 35 min to responsd, however in this case Jmeter should not
> timeout and this is not happening with POSTMAN. Also tried Jmeter's https
> request's Response timeout paramter but it not helped. any other
> config/solution ?
>
> Thanks,
> Mahesh
>
> On Thu, Oct 27, 2016 at 7:44 PM, Bo Bodnar <bbodnar@us.ibm.com> wrote:
>
> > I've seen this problem before. The destination's overloaded and is
> > rejecting traffic. Retrying the request may solve the problem, but I'd be
> > curious as to why the destination's overloaded (excessive GC? DB
> > overloaded? etc.).
> >
> > Best regards,
> >
> > Bo
> >
> >
> >
> > *Bohdan L. Bodnar*
> > Lead Performance Engineer
> > 1-312-871-5163
> > ------------------------------
> > *E-mail:* *bbodnar@us.ibm.com* <bbodnar@us.ibm.com>
> > 222 South Riverside Plaza
> > Chicago, IL 60606
> > United States
> >
> > [image: Inactive hide details for mahesh bhasme ---10/26/2016 11:36:57
> > PM---Hi , we have jmeter request which hit to tomcat server and]mahesh
> > bhasme ---10/26/2016 11:36:57 PM---Hi , we have jmeter request which hit
> to
> > tomcat server and which required aorunf
> >
> > From: mahesh bhasme <mbhasme@gmail.com>
> > To: JMeter Users List <user@jmeter.apache.org>
> > Date: 10/26/2016 11:36 PM
> > Subject: Jmeter error : Non HTTP response code
> > ------------------------------
> >
> >
> >
> > Hi ,
> > we have jmeter request which hit to tomcat server and which required
> aorunf
> > 30 minutes to process by server, When we hit request to server, jmeter
> get
> > timeout after 300 sec and throws below error. It dont wait till get
> > response
> >
> > *SamplerError-Response code: Non HTTP response code:
> > java.net.SocketException Response message: Non HTTP response message:
> > socket closed
> > *
> >
> > To solve above error applied below solution in jmeter
> >
> > 1. Changed "Implementation" of your HTTP Requests to HTTPClient4
> > 2. Added    below parameters in user.properties
> >        httpclient4.retrycount=1
> >        hc.parameters.file=hc.parameters
> > 3. added below parameter in hc.parameters
> >        http.connection.stalecheck$Boolean=true
> > https://wiki.apache.org/jmeter/JMeterSocketClosed
> >
> >
> > Note: same request is running fine in POSTMAN, no timeout error.
> >
> > Could you please help ?
> > --
> > Thanks,
> > MAhesh
> >
> >
> >
> >
>
>
> --
> Thanks,
> MAhesh
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message