Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CFCBE17F9E for ; Mon, 27 Apr 2015 21:47:06 +0000 (UTC) Received: (qmail 50268 invoked by uid 500); 27 Apr 2015 21:47:06 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 50229 invoked by uid 500); 27 Apr 2015 21:47:06 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 50218 invoked by uid 99); 27 Apr 2015 21:47:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 21:47:06 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: message received from 54.76.25.247 which is an MX secondary for user@jmeter.apache.org) Received: from [54.76.25.247] (HELO mx1-eu-west.apache.org) (54.76.25.247) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 21:46:39 +0000 Received: from mail-ig0-f169.google.com (mail-ig0-f169.google.com [209.85.213.169]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id A40E92313E for ; Mon, 27 Apr 2015 21:46:37 +0000 (UTC) Received: by igbpi8 with SMTP id pi8so77020080igb.0 for ; Mon, 27 Apr 2015 14:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=5HLeH7EtUqvj4djgiRS0N4z8HwGZRCxvEZoc6OhoPqg=; b=XCGHSMDFx6x2Z+JktuS0h7ikacJlbdv7NXBhDiHTjDCIVzUQJWZj1K6aSg4+ZTJi0F S17TfzuxzQuTDG85gCeoBqbBFwi9jMLmJglypGgXKu160Oak6wj7a3QtAkFpty+Hcdl8 tNQa6ExT1i48fvTsCsGu49RFGXahqEM1wu0FyKu+LDX5jndLX8oz2Pg0u+JbGAYLyK/D XFn8LTYWnjIrisRdFtkat+r84Qm44bzyEvI5Y3QKxjDEbnZdM1qpx4E77OWcGtJRhQy9 SEQIaY9Rr2oK/qspI1xyocs3lA6dYjuIAgce33I+hcPG6BMPbjvTixXEVQFIcBfxheDo npDw== MIME-Version: 1.0 X-Received: by 10.50.73.198 with SMTP id n6mr16077175igv.32.1430171196720; Mon, 27 Apr 2015 14:46:36 -0700 (PDT) Received: by 10.107.46.157 with HTTP; Mon, 27 Apr 2015 14:46:36 -0700 (PDT) In-Reply-To: <106036021.6652132.1430169657990.JavaMail.yahoo@mail.yahoo.com> References: <106036021.6652132.1430169657990.JavaMail.yahoo@mail.yahoo.com> Date: Mon, 27 Apr 2015 23:46:36 +0200 Message-ID: Subject: Re: HTTP sampler implementation methods and "target server failed to respond" errors From: Philippe Mouawad To: JMeter Users List Content-Type: multipart/alternative; boundary=089e011839a6260aab0514bbae64 X-Virus-Checked: Checked by ClamAV on apache.org --089e011839a6260aab0514bbae64 Content-Type: text/plain; charset=ISO-8859-1 Hi, JAva implementation retries many times by default hiding some failures. See: https://wiki.apache.org/jmeter/JMeterSocketClosed But what you report seems strange as I understand that if you swap the order then it will not be the same sampler that will fail. But do they both hit the same server ? Could you extract a simple test plan containing those 2 samples with potential timers and open a bigzilla just so that we check ? Thanks On Monday, April 27, 2015, Glenn Caccia wrote: > I have a JMeter script that includes some HTTP samplers going to > different servers. Two of the HTTP samplers are going to the same server > and represent a small amount of the total traffic getting generated by the > script. The two samplers are only generating around 2 HPS for their target > server. Excluding these two samplers, the script is not sending any other > traffic to this server. Despite the low load, the first of the two > samplers will start generating "target server failed to respond" errors > after a minute or so of running and gradually increase in frequency. If I > swap the order of the samplers, the first one will generate the errors and > the second one will never generate errors. After doing some research, I > changed the implementation method to "Java" and now I don't get any > errors. Is this expected? I've never toyed with the implementation > setting before. Any thoughts on why HttpClient4 would be problematic but > Java would work fine? I'm using JMeter 2.13. > Thanks, > Glenn -- Cordialement. Philippe Mouawad. --089e011839a6260aab0514bbae64--