Sorry about that - I had assumed that the proxy was not using NTLM.

I've changed it to use NTCredentials instead (which will also work for
basic auth), and uploaded a new nightly - r517867.

The default domain is ""; if you want to change this, edit
jmeter.properties and set the following property as needed:

http.proxyDomain

S
On 13/03/07, amelaao <[EMAIL PROTECTED]> wrote:
I did, but I still get:

Sample Start: Tue Mar 13 14:03:10 CDT 2007
Load time: 50
HTTP response code: 407
HTTP response message: Proxy Authentication Required

HTTP response headers:
HTTP/1.1 407 Proxy Authentication Required
Date: Tue, 13 Mar 2007 19:02:58 GMT
Content-Length: 257
Content-Type: text/html
Server: NetCache appliance (NetApp/6.0.1P1D1)
Proxy-Connection: close
Proxy-Authenticate: NTLM
*Log file says:*
**
2007/03/13 14:03:10 INFO  -
org.apache.commons.httpclient.auth.AuthChallengeProcessor: ntlm
authentication scheme selected
2007/03/13 14:03:10 ERROR - org.apache.commons.httpclient.HttpMethodDirector:
Credentials cannot be used for NTLM authentication:
org.apache.commons.httpclient.UsernamePasswordCredentials
org.apache.commons.httpclient.auth.InvalidCredentialsException: Credentials
cannot be used for NTLM authentication:
org.apache.commons.httpclient.UsernamePasswordCredentials
 at org.apache.commons.httpclient.auth.NTLMScheme.authenticate(
NTLMScheme.java:331)
 at org.apache.commons.httpclient.HttpMethodDirector.authenticateProxy(
HttpMethodDirector.java:319)
 at org.apache.commons.httpclient.HttpMethodDirector.authenticate(
HttpMethodDirector.java:231)
 at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(
HttpMethodDirector.java:169)
 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java
:396)
 at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java
:324)
 at org.apache.jmeter.protocol.http.sampler.SoapSampler.sample(
SoapSampler.java:237)
 at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(
HTTPSamplerBase.java:722)
 at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(
HTTPSamplerBase.java:711)
 at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:259)
 at java.lang.Thread.run(Unknown Source)

and I start jmeter by:
jmeter -H proxyserver -P 80 -u myuser -a passwd

Thanks,
Amela


On 3/13/07, sebb <[EMAIL PROTECTED]> wrote:
>
> Yes, any nightly build that is made after a bug is "fixed in CVS" (I
> should have said SVN) will pick up the change. Most bug fixes are also
> recorded in changes.html which will also be in the nightly build (and
> changes.xml will be in the nightly src archive).
>
> If you do try the nightly, please let us know if there are any further
> problems.
>
> On 13/03/07, amelaao <[EMAIL PROTECTED]> wrote:
> >
> > Has the fix to this proxy setting bug made to the nighlty build?
> >
> > Thanks,
> > Amela
> >
> >
> > sebb-2 wrote:
> > >
> > > Sorry, no.
> > >
> > > S.
> > > On 04/12/06, amelaao <[EMAIL PROTECTED]> wrote:
> > >> Thanks. Any estimates on when it will be available?
> > >>
> > >> Amela
> > >>
> > >>
> > >> On 12/4/06, sebb <[EMAIL PROTECTED]> wrote:
> > >> >
> > >> > Yes, this is a bug in 2.2. Fixed in CVS, but not yet released.
> > >> >
> > >> > S.
> > >> > On 04/12/06, amelaao <[EMAIL PROTECTED]> wrote:
> > >> > > I am using SOAP/XML-RPC Request to test a  Webservices which is
> > >> behind
> > >> > the
> > >> > > firewall. I'm providing arguments for the proxy server from the
> > >> command
> > >> > > line. I've been doing this before with 2.1 version and it  worked
> > >> fine.
> > >> > Now
> > >> > > I'm using jmeter 2.2 and I"m getting following exceptions.
> > >> > >
> > >> > > java.lang.IllegalArgumentException: Host may not be null
> > >> > >  at org.apache.commons.httpclient.NTCredentials.<init>(
> > >> > NTCredentials.java
> > >> > > :83)
> > >> > >  at
> > >> org.apache.jmeter.protocol.http.sampler.HTTPSampler2.setupConnection
> > >> > (
> > >> > > HTTPSampler2.java:274)
> > >> > >  at org.apache.jmeter.protocol.http.sampler.SoapSampler.sample(
> > >> > > SoapSampler.java:219)
> > >> > >  at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(
> > >> > > HTTPSamplerBase.java:658)
> > >> > >  at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(
> > >> > > HTTPSamplerBase.java:647)
> > >> > >  at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java
> :247)
> > >> > >  at java.lang.Thread.run(Unknown Source)
> > >> > >
> > >> > > My script looks like
> > >> > > TestPlan
> > >> > >  |____ThreadGroup
> > >> > >         |_____HttpCookie Manager
> > >> > >         |_____SOAP/XML-RPC Request
> > >> > >
> > >> > > If I try the same script with jmeter 2.1 it works fine.
> > >> > > I start jmeter from the command line:
> > >> > > jmeter -H hostname -P 80 -u user -a pwd
> > >> > >
> > >> > >
> > >> > > I'm testing a production issue, so I'd really appreicate if
> someone
> > >> can
> > >> > > reply....
> > >> > >
> > >> > > Thanks,
> > >> > > Amela
> > >> > >
> > >> > >
> > >> >
> > >> >
> ---------------------------------------------------------------------
> > >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > >> >
> > >> >
> > >>
> > >>
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> >
> > --
> > View this message in context:
> 
http://www.nabble.com/Is-there-a-problem-with-proxy-server-settings-and-SOAP-XML-RPC-sampler---getting-Exceptions-with-version-2.2-tf2754248.html#a9460323
> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to