Hi,

The problem relates to debug statements (System.out.println's) in the code
of the stable release 1.7,  which don't check for nulls. Therefore when
methods are called on null references, you get a NullPointerException. If
you comment out (or remove) the following debug statements from the
 
method placeConfigElement(UrlConfig config)
 
of the ProxyControl class (ProxyControl.java is the source file)

in the package org.apache.jmeter.protocol.http.proxy 

and then rebuild the code, it will be fixed.

System.out.println("urlConfig.getDomain = "+urlConfig.getDomain());
System.out.println("config.getDomain = "+config.getDomain());
System.out.println("urlConfig.getPath = "+urlConfig.getPath());
System.out.println("config.getPath = "+config.getPath());

i.e. comment the above four lines out.


umesh



-----Original Message-----
From: Sumit Joshi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 8:04 PM
To: JMeter Users List
Subject: Re: HTTP Proxy Server


Hi
I am still having the same problem.
Please tell me if u have found the solution
thanx and regards
Sumit
----- Original Message -----
From: "Umesh Telang" <[EMAIL PROTECTED]>
To: "'JMeter Users List'" <[EMAIL PROTECTED]>
Sent: Monday, March 18, 2002 9:39 AM
Subject: HTTP Proxy Server


> Hi,
>
> I was wondering if anyone else has experienced the same as me...
>
> in Jmeter 1.7 beta3:
> - i've add an HTTP Proxy Server to the Workbench with port as 8080
> (i've configured my Netscape browser preferences to use
> http://localhost:8080 as the proxy server)
> - i've added a Simple Controller and HTTP Cookie Manager to a Thread Group
> which in turn has been added to the Test Plan
> - i've started up the HTTP Proxy Server.
> - i start hitting URL's for our application, but session information
doesn't
> seem to be held by the HTTP Cookie Manager
> - however the requests I'm making through the browser DO get added to the
> Simple Controller
>
>
> BUT////////
>
> in Jmeter 1.7 (stable release):
> - (session information now seems to be held, presumably by the HTTP Cookie
> Manager)
> - i've add an HTTP Proxy Server to the Workbench with port as 8080
> (i've configured my Netscape browser preferences to use
> http://localhost:8080 as the proxy server)
> - i've added a Simple Controller and HTTP Cookie Manager to a Thread Group
> which in turn has been added to the Test Plan
> - i've started up the HTTP Proxy Server.
> - i start hitting URL's in the browser, but no requests get added to the
> Simple Controller. (whereas, this worked in JMeter 1.7 beta3 ). instead i
> get
>
> "HTTP/1.0 503 Gateway timeout Server: Java Proxy Server MIME-version: 1.0
> Content-type: text/html Content-Length: 135
>
> 503 Gateway timeout
>
> The connection timed out"
>
> as a message under the loaded web page of any URL that I hit through the
> Netscape browser.
>
>
> If anyone knows of a version of JMeter where both the HTTP Proxy Server
and
> the HTTP Cookie Manager stuff works, could they please let me know,
>
> thanks,
>
> Umesh Telang
>



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

Reply via email to