Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 548 invoked from network); 25 Aug 2006 05:19:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Aug 2006 05:19:27 -0000 Received: (qmail 13341 invoked by uid 500); 25 Aug 2006 05:19:25 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 13317 invoked by uid 500); 25 Aug 2006 05:19:25 -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 13303 invoked by uid 99); 25 Aug 2006 05:19:25 -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 22:19:25 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [64.18.3.94] (HELO exprod8og56.obsmtp.com) (64.18.3.94) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 24 Aug 2006 22:19:23 -0700 Received: from source ([160.109.70.77]) by exprod8ob56.obsmtp.com ([64.18.7.12]) with SMTP; Thu, 24 Aug 2006 22:19:02 PDT Received: from pgpu02.ps.net ([155.16.59.123]) by pscdmzmx01.ps.net (8.13.1/8.13.1) with ESMTP id k7P5J0kX004347 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Fri, 25 Aug 2006 00:19:01 -0500 Received: from mail2.ps.net ([155.16.72.16]) by pgpu02.ps.net (PGP Universal service); Fri, 25 Aug 2006 00:19:02 -0500 X-PGP-Universal: processed; by pgpu02.ps.net on Fri, 25 Aug 2006 00:19:02 -0500 Received: from pscdalpexch50.perotsystems.net ([155.16.72.75]) by mail2.ps.net (8.13.1/8.13.1) with ESMTP id k7P5J0AZ012967 for ; Fri, 25 Aug 2006 00:19:00 -0500 Received: from pscbanpexch01.perotsystems.net ([160.110.152.90]) by pscdalpexch50.perotsystems.net with Microsoft SMTPSVC(6.0.3790.1830); Fri, 25 Aug 2006 00:19:00 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Unable to get out through authenticated proxy Date: Fri, 25 Aug 2006 10:46:55 +0530 Message-ID: <7A241B0DC860414DA0F0D46B646ED85893994D@pscbanpexch01.perotsystems.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Unable to get out through authenticated proxy Thread-Index: AcbHieGr+2HrrhK9S1iO4Tnh5UX8BAAXj1uQAAccSrA= From: "Sen, Kakoli" To: "JMeter Users List" X-OriginalArrivalTime: 25 Aug 2006 05:19:00.0445 (UTC) FILETIME=[F8FE60D0:01C6C805] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Sebb/Peter, With 2.2 WebService(SOAP), I am also facing problem with external = web-service where we have to go though the HTTP proxy. I too believe it = doesn't take proxy credentials from command-line. And the GUI does not = give any way to specify them. Is there a bug raised on this?=20 Regards, Kakoli -----Original Message----- From: Karr, David [mailto:david.karr@wamu.net] Sent: Friday, August 25, 2006 7:17 AM To: JMeter Users List Subject: RE: Unable to get out through authenticated proxy 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 --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org