Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 49728 invoked from network); 25 Aug 2006 01:47:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Aug 2006 01:47:35 -0000 Received: (qmail 51173 invoked by uid 500); 25 Aug 2006 01:47:33 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 51156 invoked by uid 500); 25 Aug 2006 01:47:33 -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 51145 invoked by uid 99); 25 Aug 2006 01:47:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Aug 2006 18:47:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of david.karr@wamu.net designates 167.88.201.33 as permitted sender) Received: from [167.88.201.33] (HELO mtao003.wamu.net) (167.88.201.33) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Aug 2006 18:47:32 -0700 Received: from ([10.144.81.62]) by mtao003.wamu.net with ESMTP id KP-BYB90.164164739; Thu, 24 Aug 2006 18:46:53 -0700 Received: from EXMSEA005.us.wamu.net ([10.144.81.24]) by exisea011.us.wamu.net with Microsoft SMTPSVC(6.0.3790.1830); Thu, 24 Aug 2006 18:46:53 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Unable to get out through authenticated proxy Date: Thu, 24 Aug 2006 18:46:49 -0700 Message-ID: <0C260F619E428642BFA6380177C3ADF30410E0AE@exmsea005.us.wamu.net> In-Reply-To: <25aac9fc0608240730i3fd7defdh303a458c5bde663c@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Unable to get out through authenticated proxy thread-index: AcbHieGr+2HrrhK9S1iO4Tnh5UX8BAAXj1uQ From: "Karr, David" To: "JMeter Users List" X-OriginalArrivalTime: 25 Aug 2006 01:46:53.0215 (UTC) FILETIME=[56F932F0:01C6C7E8] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The WebService(SOAP) choice doesn't work either, for a different reason. Apparently that doesn't use the command-line arguments for the proxy configuration, it uses the parameters specified in the sampler itself. That's fine, but there's no proxyuser or proxypassword fields. When I run it, it just gets back a proxy auth required header.=20 > -----Original Message----- > From: sebb [mailto:sebbaz@gmail.com]=20 > Sent: Thursday, August 24, 2006 7:30 AM > To: JMeter Users List > Subject: Re: Unable to get out through authenticated proxy >=20 > I though the WSDL was only used to populate the other fields? >=20 > Can't one just populate them directly? >=20 > On 24/08/06, Karr, David wrote: > > I'm seeing the problem with both the SOAP/XML-RPC Request and=20 > > HTTPClient request. I don't have a WSDL, so I can't use the=20 > > WebService(SOAP) request. > > > > > -----Original Message----- > > > From: Sen, Kakoli [mailto:Kakoli.Sen@ps.net] > > > Sent: Wednesday, August 23, 2006 10:14 PM > > > To: JMeter Users List > > > Subject: RE: Unable to get out through authenticated proxy > > > > > > Hi, > > > Is it through the 'SOAP/XML-RPC Request' or 'WebService(SOAP)'=20 > > > Request? > > > So in 2.2, these requests cannot pierce authenticated proxy? > > > > > > Regards, > > > Kakoli > > > > > > -----Original Message----- > > > From: Karr, David [mailto:david.karr@wamu.net] > > > Sent: Wednesday, August 23, 2006 2:59 AM > > > To: JMeter Users List > > > Subject: Unable to get out through authenticated proxy > > > > > > > > > I've been making progress on testing the service that runs on my=20 > > > localhost, but I'm also trying to test an external=20 > service, through=20 > > > our authenticated proxy. > > > > > > I found that the request wasn't going anywhere. I=20 > monitored it with=20 > > > etheral, and it never tried to hit the proxy or the=20 > downstream host. =20 > > > I turned on all the debug levels, but the log file didn't show me=20 > > > anything meaningful. > > > > > > I finally thought to add a "Save results to file" > > > postprocessor. When I inspected the file, I found this: > > > > > > java.lang.IllegalArgumentException: Host may not be null > > > at > > > org.apache.commons.httpclient.NTCredentials.(NTCredentia > > > ls.java:83 > > > ) > > > at > > > org.apache.jmeter.protocol.http.sampler.HTTPSampler2.setupConn > > > ection(HTT > > > PSampler2.java:274) > > > at > > > org.apache.jmeter.protocol.http.sampler.HTTPSampler2.sample(HT > > > TPSampler2 > > > .java:518) > > > at > > > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample > > > (HTTPSampl > > > erBase.java:658) > > > at > > > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample > > > (HTTPSampl > > > erBase.java:647) > > > at > > > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) > > > at java.lang.Thread.run(Thread.java:534) > > > > > > I looked at the code for HTTPSampler2, and it has this code: > > > > > > ------------ > > > if (PROXY_USER.length() > 0){ > > > httpClient.getState().setProxyCredentials( > > > new > > > AuthScope(PROXY_HOST,PROXY_PORT,null,AuthScope.ANY_SCHEME), > > > // NT Includes other types of Credentials > > > new NTCredentials( > > > PROXY_USER, > > > PROXY_PASS, > > > null, // "thishost", > > > "" // domain > > > )); > > > } > > > ------------ > > > > > > I looked at the javadoc for NTCredentials, and it=20 > specifically says=20 > > > that the hostname cannot be null. > > > > > >=20 > -------------------------------------------------------------------- > > > - To unsubscribe, e-mail:=20 > jmeter-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail:=20 > jmeter-user-help@jakarta.apache.org > > > > > > > > >=20 > -------------------------------------------------------------------- > > > - To unsubscribe, e-mail:=20 > jmeter-user-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail:=20 > jmeter-user-help@jakarta.apache.org > > > > > > > > > >=20 > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org