Return-Path: X-Original-To: apmail-jakarta-jmeter-user-archive@www.apache.org Delivered-To: apmail-jakarta-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 A60AA94CA for ; Mon, 31 Oct 2011 15:01:11 +0000 (UTC) Received: (qmail 68774 invoked by uid 500); 31 Oct 2011 15:01:11 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 68739 invoked by uid 500); 31 Oct 2011 15:01:10 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 68730 invoked by uid 99); 31 Oct 2011 15:01:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 15:01:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shmulikk@gmail.com designates 209.85.220.172 as permitted sender) Received: from [209.85.220.172] (HELO mail-vx0-f172.google.com) (209.85.220.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2011 15:01:04 +0000 Received: by vcbfo1 with SMTP id fo1so5849700vcb.31 for ; Mon, 31 Oct 2011 08:00:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=VB4AqfcCjxH2lyCCBJOBRfDDPGyszRjJtmB8tDi6KiE=; b=vNYhWWd8D97/0IklN4TbAGypPdl/YT52OXktHgzvFIRiWEzzJfNXSBxCo3aZPBrmoJ RSVr/Zd/YO8iiTLblPAivX65e9/0VaWwWrNAX56aJBt8Mxg/c18XXhr21oUFYBJYMfkH K8aKOVO2lzEuaLcm/2fOlJPCH75zX4OpcMnso= MIME-Version: 1.0 Received: by 10.182.69.52 with SMTP id b20mr612149obu.58.1320073243376; Mon, 31 Oct 2011 08:00:43 -0700 (PDT) Received: by 10.182.15.199 with HTTP; Mon, 31 Oct 2011 08:00:43 -0700 (PDT) In-Reply-To: References: Date: Mon, 31 Oct 2011 17:00:43 +0200 Message-ID: Subject: Re: Proxy server exceptions From: Shmuel Krakower To: JMeter Users List Content-Type: multipart/alternative; boundary=14dae93b5a00bfbc4b04b09980e3 --14dae93b5a00bfbc4b04b09980e3 Content-Type: text/plain; charset=UTF-8 Hi, I've managed to find what I looked for. In order to tell JMeter not to use the proxy configuration for specific hosts add the following anywhere in the jmeter.properties file: http.nonProxyHosts=Host.To.Be.Accessed.Directly This works for both Java and HTTPClient Samplers. Shmuel Krakower. On Mon, Oct 31, 2011 at 4:08 PM, Shmuel Krakower wrote: > Hi All, > I am load testing an intranet web site which some of it's resources are > being hosted by external web site, meaning that if I check "get all > resources" for it and not setting a proxy server and port, it will fail to > get these specific resources. > When I set the proxy and proxy port at the sampler, the entire request > fails because the proxy is not familiar with intranet DNS. > > There are two solutions for this: > 1. To create separate requests to these external resources and configure > the proxy accordingly. > 2. To set some URL/DNS exceptions for the proxy (like available under any > browser). > > I believe that I see somewhere that this (second option) might be > configurable under the configuration file for the HTTP Sampler class but I > am not sure and cannot find it. > > Appreciate any ideas. > > Shmuel Krakower. > --14dae93b5a00bfbc4b04b09980e3--