You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Patrick Clark <p....@mindspring.com> on 2006/02/01 00:36:59 UTC
Question Regarding JMeter Testing Through Proxy
I am having difficulty getting jmeter to run tests through a proxy server.
I am using version 2.1.1. I have tried the following command line options:
--proxyHost 192.168.1.102 --proxyPort 64069
-H 192.168.1.102 -P 64069
I found this one in a very old archive:
-Dhttp.proxyHost=192.168.1.102 -Dhttp.proxyPort=64069
All three attempts did not connect through the proxy server. Am I missing
something? I searched the archives and did not find anyone else who is
having this problem.
The proxy server is active. I have successfully used Internet Explorer to
connect throuhg the proxy to the internet and access web sites. This
includes the one I am attempting to load test.
Any help would be greatly appreciated.
Thanks,
Patrick
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Question Regarding JMeter Testing Through Proxy
Posted by sebb <se...@gmail.com>.
Thanks for the feedback.
If you are using the original HTTP Sampler, then this relies on the
Java run-time HTTP protocol implementation to handle the proxy.
JMeter merely sets the appropriate system properties before opening
the connection.
So perhaps there is a bug/restriction in the default HTTP implementation.
Or maybe there is another system property that needs to be set?
S.
On 01/02/06, Patrick Clark <p....@mindspring.com> wrote:
> Thanks for the assistance, through trial and error I was able to find the
> problem.
>
> It appears that Jmeter will ignore the proxy settings if the target site is
> local.
>
> I was able to get it working by relocating my test site and proxy to another
> server. I had everything local while I was creating my test scripts.
>
> Thanks,
> Patrick
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: Tuesday, January 31, 2006 5:50 PM
> To: JMeter Users List
> Subject: Re: Question Regarding JMeter Testing Through Proxy
>
> The -H and -P options should work.
>
> What Samplers are you using?
>
> S.
> On 31/01/06, Patrick Clark <p....@mindspring.com> wrote:
> > I am having difficulty getting jmeter to run tests through a proxy server.
> > I am using version 2.1.1. I have tried the following command line
> options:
> >
> > --proxyHost 192.168.1.102 --proxyPort 64069
> >
> > -H 192.168.1.102 -P 64069
> >
> > I found this one in a very old archive:
> > -Dhttp.proxyHost=192.168.1.102 -Dhttp.proxyPort=64069
> >
> > All three attempts did not connect through the proxy server. Am I
> > missing something? I searched the archives and did not find anyone
> > else who is having this problem.
> >
> > The proxy server is active. I have successfully used Internet
> > Explorer to connect throuhg the proxy to the internet and access web
> > sites. This includes the one I am attempting to load test.
> >
> > Any help would be greatly appreciated.
> >
> > Thanks,
> > Patrick
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
>
>
>
> ---------------------------------------------------------------------
> 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: Question Regarding JMeter Testing Through Proxy
Posted by Patrick Clark <p....@mindspring.com>.
Thanks for the assistance, through trial and error I was able to find the
problem.
It appears that Jmeter will ignore the proxy settings if the target site is
local.
I was able to get it working by relocating my test site and proxy to another
server. I had everything local while I was creating my test scripts.
Thanks,
Patrick
-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: Tuesday, January 31, 2006 5:50 PM
To: JMeter Users List
Subject: Re: Question Regarding JMeter Testing Through Proxy
The -H and -P options should work.
What Samplers are you using?
S.
On 31/01/06, Patrick Clark <p....@mindspring.com> wrote:
> I am having difficulty getting jmeter to run tests through a proxy server.
> I am using version 2.1.1. I have tried the following command line
options:
>
> --proxyHost 192.168.1.102 --proxyPort 64069
>
> -H 192.168.1.102 -P 64069
>
> I found this one in a very old archive:
> -Dhttp.proxyHost=192.168.1.102 -Dhttp.proxyPort=64069
>
> All three attempts did not connect through the proxy server. Am I
> missing something? I searched the archives and did not find anyone
> else who is having this problem.
>
> The proxy server is active. I have successfully used Internet
> Explorer to connect throuhg the proxy to the internet and access web
> sites. This includes the one I am attempting to load test.
>
> Any help would be greatly appreciated.
>
> Thanks,
> Patrick
>
>
>
> ---------------------------------------------------------------------
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Question Regarding JMeter Testing Through Proxy
Posted by sebb <se...@gmail.com>.
The -H and -P options should work.
What Samplers are you using?
S.
On 31/01/06, Patrick Clark <p....@mindspring.com> wrote:
> I am having difficulty getting jmeter to run tests through a proxy server.
> I am using version 2.1.1. I have tried the following command line options:
>
> --proxyHost 192.168.1.102 --proxyPort 64069
>
> -H 192.168.1.102 -P 64069
>
> I found this one in a very old archive:
> -Dhttp.proxyHost=192.168.1.102 -Dhttp.proxyPort=64069
>
> All three attempts did not connect through the proxy server. Am I missing
> something? I searched the archives and did not find anyone else who is
> having this problem.
>
> The proxy server is active. I have successfully used Internet Explorer to
> connect throuhg the proxy to the internet and access web sites. This
> includes the one I am attempting to load test.
>
> Any help would be greatly appreciated.
>
> Thanks,
> Patrick
>
>
>
> ---------------------------------------------------------------------
> 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