You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by ianp622 <ia...@yahoo.com> on 2009/07/15 17:07:02 UTC

HTTP Proxy Server problems

Hi everyone, I'm having a problem with HTTP Proxy.  At times I was able to
get it to work perfectly, but now something seems wrong and I don't know how
to fix it.  I am using Jmeter version 2.3.4 and Java 5.

I start the server, and I have the proxy for Safari set up to go to the
Jmeter proxy.  When I go to a page that I want to test, however, JMeter
hangs and the page does not finish loading in the browser.  If I manage to
stop the proxy server, I see a large number of duplicate requests (sometimes
more than a hundred).  I assume the browser is resending the requests
because it is not getting a response.  I don't have this problem if I am not
using the Jmeter proxy.  

I have the web application running on port 8080 (Tomcat), and the proxy
server is set up for port 9090, and the Safari HTTP proxy is set to
localhost:9090.  

Any suggestions would be greatly appreciated,
Ian
-- 
View this message in context: http://www.nabble.com/HTTP-Proxy-Server-problems-tp24499870p24499870.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: HTTP Proxy Server problems

Posted by sebb <se...@gmail.com>.
On 24/07/2009, ianp622 <ia...@yahoo.com> wrote:
>
>
>  sebb-2-2 wrote:
>  >
>  >
>  > Try stopping the Tomcat server. And JMeter.
>  >
>  > Run Safari with the proxy set up - it should fail to load anything.
>  >
>  > Start JMeter proxy, and re-run Safari.
>  >
>  > It should now work with external sites.
>  >
>  > If not, then revisit all the settings.
>  >
>  >
>
>
> Tried that, but I still get the same problem.  I tried with both Safari and
>  Firefox.  Also, I start with a fresh Test Case each time.  Are there other
>  settings I should check?

If you require a proxy to access external sites (e.g. some company
LANs enforce this), then you will need to start JMeter with the
appropriate proxy settings.

>  I'm going to try downloading JMeter again and see
>  if that works.
>
> --
>  View this message in context: http://www.nabble.com/HTTP-Proxy-Server-problems-tp24499870p24646845.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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


Re: HTTP Proxy Server problems

Posted by ianp622 <ia...@yahoo.com>.

sebb-2-2 wrote:
> 
> 
> Try stopping the Tomcat server. And JMeter.
> 
> Run Safari with the proxy set up - it should fail to load anything.
> 
> Start JMeter proxy, and re-run Safari.
> 
> It should now work with external sites.
> 
> If not, then revisit all the settings.
> 
> 

Tried that, but I still get the same problem.  I tried with both Safari and
Firefox.  Also, I start with a fresh Test Case each time.  Are there other
settings I should check?  I'm going to try downloading JMeter again and see
if that works.
-- 
View this message in context: http://www.nabble.com/HTTP-Proxy-Server-problems-tp24499870p24646845.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: HTTP Proxy Server problems

Posted by sebb <se...@gmail.com>.
On 24/07/2009, ianp622 <ia...@yahoo.com> wrote:
>
>
>  sebb-2-2 wrote:
>  >
>  > Does the JMeter Proxy work OK if you try to record an external web-site?
>  >
>
>
> No, I get the same behavior regardless of whether I record an external or
>  local website.

Try stopping the Tomcat server. And JMeter.

Run Safari with the proxy set up - it should fail to load anything.

Start JMeter proxy, and re-run Safari.

It should now work with external sites.

If not, then revisit all the settings.

> --
>  View this message in context: http://www.nabble.com/HTTP-Proxy-Server-problems-tp24499870p24643624.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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


Re: HTTP Proxy Server problems

Posted by ianp622 <ia...@yahoo.com>.

sebb-2-2 wrote:
> 
> Does the JMeter Proxy work OK if you try to record an external web-site?
> 

No, I get the same behavior regardless of whether I record an external or
local website.
-- 
View this message in context: http://www.nabble.com/HTTP-Proxy-Server-problems-tp24499870p24643624.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: HTTP Proxy Server problems

Posted by sebb <se...@gmail.com>.
Does the JMeter Proxy work OK if you try to record an external web-site?

On 15/07/2009, ianp622 <ia...@yahoo.com> wrote:
>
>  Hi everyone, I'm having a problem with HTTP Proxy.  At times I was able to
>  get it to work perfectly, but now something seems wrong and I don't know how
>  to fix it.  I am using Jmeter version 2.3.4 and Java 5.
>
>  I start the server, and I have the proxy for Safari set up to go to the
>  Jmeter proxy.  When I go to a page that I want to test, however, JMeter
>  hangs and the page does not finish loading in the browser.  If I manage to
>  stop the proxy server, I see a large number of duplicate requests (sometimes
>  more than a hundred).  I assume the browser is resending the requests
>  because it is not getting a response.  I don't have this problem if I am not
>  using the Jmeter proxy.
>
>  I have the web application running on port 8080 (Tomcat), and the proxy
>  server is set up for port 9090, and the Safari HTTP proxy is set to
>  localhost:9090.
>
>  Any suggestions would be greatly appreciated,
>  Ian
>
> --
>  View this message in context: http://www.nabble.com/HTTP-Proxy-Server-problems-tp24499870p24499870.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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