You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by ajay <aj...@yahoo.com> on 2006/08/30 11:57:27 UTC

How to use HTTP Proxy Server

Hi,

I am a bit confused while using the HTTP Proxy Server in Jmeter. I have gone
through, 
"http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf"
.

It is recording only for the example what they have mentioned in the above
url. I tried to implement it for the other sites also.But they have
mentioned the server name as "Localhost" and the port as "9090". My proxy
settings for the Internet access are different. JMeter is not recording with
my proxy settings.

Please, Can you suggest any solution for this...

Ajay
-- 
View this message in context: http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6055777
Sent from the JMeter - User forum at Nabble.com.

Re: How to use HTTP Proxy Server

Posted by pradeep_2731 <pr...@gmail.com>.
Hi,

I am pradeep.I kno how to use the Http proxy server.I will explain step by
step how to use.

1) open the internet explorer
2) open Tools->Internet options->Connections->Lan settings
3)Now check the check bos Use the proxy server for ur LAN
4) Now assign a port number.any nu,ber like 9010 ect....
5)Save the settings
6)Open the jmeter
7) Add a http proxy server inthe work bench
8)Now give the port number which u have assigned in the pervious step.
9)Now click the startbutton which means it started recording the page which
u have mentioned.

ajay wrote:
> 
> Hi,
> 
> I am a bit confused while using the HTTP Proxy Server in Jmeter. I have
> gone through, 
> "http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf"
> .
> 
> It is recording only for the example what they have mentioned in the above
> url. I tried to implement it for the other sites also.But they have
> mentioned the server name as "Localhost" and the port as "9090". My proxy
> settings for the Internet access are different. JMeter is not recording
> with my proxy settings.
> 
> Please, Can you suggest any solution for this...
> 
> Ajay
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6279868
Sent from the JMeter - User forum at Nabble.com.


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


Problem while using HTTP Proxy Server RE: How to use HTTP Proxy Server

Posted by Alex Turner <Al...@Project-Network.com>.
Ajay,

I don't actually know!

It sounds like some message is getting lost in the chain of proxies.  The problem is going to be finding out what page is getting lost.  My best advice would be to place a View Results Tree in the workbench when you are running the proxy.  The try and log on and go through the requests and responses by hand in the hope that you find what has gone wrong.

Cheers

AJ

Alexander J Turner Ph.D.
www.deployview.com
www.nerds-central.blogspot.com
www.project-network.com

-----Original Message-----
From: ajay [mailto:ajay_bollam@yahoo.com] 
Sent: 12 September 2006 13:28
To: jmeter-user@jakarta.apache.org
Subject: TPN POSSIBLE SPAM:Problem while using HTTP Proxy Server RE: How to use HTTP Proxy Server


Hi,

Thanks AJ.

Now I am able to use HTTP Proxy Server for opening a web page and move
further. But When I try to Open any Mail box like YahooMail, GMail and all,
It is giving an Alert message as "This document contains no data". How to
overcome this problem and enter in to a Mailbox.

Thanks,
AJAY


Alex Turner-2 wrote:
> 
> 1) Find you what your normal proxy settings are for your browser.
> 2) Follow the instructions below:
> 
> 2.4.2 Using a Proxy Server
> 
>     If you are testing from behind a firewall/proxy server, you may need
> to provide JMeter with the firewall/proxy server hostname and port number.
> To do so, run the jmeter.bat/jmeter file from a command line with the
> following parameters:
> 
>     -h [proxy server hostname or ip address]
>     -p [proxy server port]
> 
>     Example : jmeter -h my.proxy.server -p 8000
> 
> Cheers
> 
> AJ
> 
> 
> Alexander J Turner Ph.D.
> www.deployview.com
> www.nerds-central.blogspot.com
> www.project-network.com
> 
> -----Original Message-----
> From: ajay [mailto:ajay_bollam@yahoo.com] 
> Sent: 30 August 2006 13:15
> To: jmeter-user@jakarta.apache.org
> Subject: TPN POSSIBLE SPAM:RE: How to use HTTP Proxy Server
> 
> 
> Hi,
> 
> Thanks for the Information kakoli.
> 
> I have tried like what ever you said.But it is showing the following
> error:
> 
> java.net.UnknownHostException: www.google.com
> 	at java.net.PlainSocketImpl.connect(Unknown Source)
> 	at java.net.Socket.connect(Unknown Source)
> 	at java.net.Socket.connect(Unknown Source)
> 	at sun.net.NetworkClient.doConnect(Unknown Source)
> 	at sun.net.www.http.HttpClient.openServer(Unknown Source)
> 	at sun.net.www.http.HttpClient.openServer(Unknown Source)
> 	at sun.net.www.http.HttpClient.(Unknown Source)
> 	at sun.net.www.http.HttpClient.New(Unknown Source)
> 	at sun.net.www.http.HttpClient.New(Unknown Source)
> 	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
> Source)
> 	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
> Source)
> 	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
> 	at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:424)
> 	at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:514)
> 	at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:112)
> 
> My Proxy settings for the Internet connection are different.Can you
> suggest
> me, How can I overcome this problem..
> 
> Thanks,
> Ajay
> 
> 
> Sen, Kakoli wrote:
>> 
>> Hi,
>> From the browser tool bar, click "tools -> internet options". This should
>> bring up the options.
>> 21.Select the "connection" tab
>> 22.Click "lan settings" button near the bottom.
>> 23.On the connections tab, check "Use a proxy server for your LAN". The
>> address and port
>> fields should be enabled now.
>> 24.Address - enter "Localhost" or the IP address of your system which
>> will
>> act as the JMeter proxy.
>> 25.Port - enter "9090".
>> 26.Click "ok" button
>> 
>> For more reference,
>> http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf
>> 
>> Regards,
>> Kakoli
>> 
>> -----Original Message-----
>> From: ajay [mailto:ajay_bollam@yahoo.com]
>> Sent: Wednesday, August 30, 2006 4:41 PM
>> To: jmeter-user@jakarta.apache.org
>> Subject: RE: How to use HTTP Proxy Server
>> 
>> 
>> 
>> Hi,
>> 
>> Thanks for the Information Alexander.
>> 
>> Can you help me, How can I set my Browser to connect to JMeter Proxy...
>> 
>> Thanks,
>> Ajay
>> 
>> Alex Turner-2 wrote:
>>> 
>>> Ajay,
>>> 
>>> Is it possible that you have the concept a bit wrong?
>>> 
>>> If your browser normally uses a proxy, then you would have to tell
>>> JMeter
>>> to connect to that proxy to get pages.  You then set up the proxy server
>>> in JMeter to the spec in the manual.  Once this is done, you can set
>>> your
>>> browser to connect to the JMeter proxy.  The final system 'looks' like
>>> below:
>>> 
>>> Browser->[JMeterProxy->JMeterCore]->Your_Proxy ->Internet->Remote_Server
>>> 
>>> Cheers
>>> 
>>> Alexander J Turner Ph.D.
>>> 
>>> www.deployview.com
>>> www.nerds-central.blogspot.com
>>> www.project-network.com
>>> -----Original Message-----
>>> From: ajay [mailto:ajay_bollam@yahoo.com] 
>>> Sent: 30 August 2006 10:57
>>> To: jmeter-user@jakarta.apache.org
>>> Subject: How to use HTTP Proxy Server
>>> 
>>> 
>>> Hi,
>>> 
>>> I am a bit confused while using the HTTP Proxy Server in Jmeter. I have
>>> gone
>>> through, 
>>> "http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf"
>>> .
>>> 
>>> It is recording only for the example what they have mentioned in the
>>> above
>>> url. I tried to implement it for the other sites also.But they have
>>> mentioned the server name as "Localhost" and the port as "9090". My
>>> proxy
>>> settings for the Internet access are different. JMeter is not recording
>>> with
>>> my proxy settings.
>>> 
>>> Please, Can you suggest any solution for this...
>>> 
>>> Ajay
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6055777
>>> Sent from the JMeter - User forum at Nabble.com.
>>> 
>>> -- 
>>> No virus found in this incoming message.
>>> Checked by AVG Free Edition.
>>> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date:
>>> 29/08/2006
>>>  
>>> 
>>> -- 
>>> No virus found in this outgoing message.
>>> Checked by AVG Free Edition.
>>> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date:
>>> 29/08/2006
>>>  
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>> 
>>> 
>>> 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6056787
>> Sent from the JMeter - User forum 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
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6057658
> Sent from the JMeter - User forum at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 29/08/2006
>  
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 29/08/2006
>  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6265032
Sent from the JMeter - User forum at Nabble.com.

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.3/445 - Release Date: 11/09/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.3/445 - Release Date: 11/09/2006
 

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


Problem while using HTTP Proxy Server RE: How to use HTTP Proxy Server

Posted by ajay <aj...@yahoo.com>.
Hi,

Thanks AJ.

Now I am able to use HTTP Proxy Server for opening a web page and move
further. But When I try to Open any Mail box like YahooMail, GMail and all,
It is giving an Alert message as "This document contains no data". How to
overcome this problem and enter in to a Mailbox.

Thanks,
AJAY


Alex Turner-2 wrote:
> 
> 1) Find you what your normal proxy settings are for your browser.
> 2) Follow the instructions below:
> 
> 2.4.2 Using a Proxy Server
> 
>     If you are testing from behind a firewall/proxy server, you may need
> to provide JMeter with the firewall/proxy server hostname and port number.
> To do so, run the jmeter.bat/jmeter file from a command line with the
> following parameters:
> 
>     -h [proxy server hostname or ip address]
>     -p [proxy server port]
> 
>     Example : jmeter -h my.proxy.server -p 8000
> 
> Cheers
> 
> AJ
> 
> 
> Alexander J Turner Ph.D.
> www.deployview.com
> www.nerds-central.blogspot.com
> www.project-network.com
> 
> -----Original Message-----
> From: ajay [mailto:ajay_bollam@yahoo.com] 
> Sent: 30 August 2006 13:15
> To: jmeter-user@jakarta.apache.org
> Subject: TPN POSSIBLE SPAM:RE: How to use HTTP Proxy Server
> 
> 
> Hi,
> 
> Thanks for the Information kakoli.
> 
> I have tried like what ever you said.But it is showing the following
> error:
> 
> java.net.UnknownHostException: www.google.com
> 	at java.net.PlainSocketImpl.connect(Unknown Source)
> 	at java.net.Socket.connect(Unknown Source)
> 	at java.net.Socket.connect(Unknown Source)
> 	at sun.net.NetworkClient.doConnect(Unknown Source)
> 	at sun.net.www.http.HttpClient.openServer(Unknown Source)
> 	at sun.net.www.http.HttpClient.openServer(Unknown Source)
> 	at sun.net.www.http.HttpClient.(Unknown Source)
> 	at sun.net.www.http.HttpClient.New(Unknown Source)
> 	at sun.net.www.http.HttpClient.New(Unknown Source)
> 	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
> Source)
> 	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown
> Source)
> 	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
> 	at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:424)
> 	at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:514)
> 	at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:112)
> 
> My Proxy settings for the Internet connection are different.Can you
> suggest
> me, How can I overcome this problem..
> 
> Thanks,
> Ajay
> 
> 
> Sen, Kakoli wrote:
>> 
>> Hi,
>> From the browser tool bar, click "tools -> internet options". This should
>> bring up the options.
>> 21.Select the "connection" tab
>> 22.Click "lan settings" button near the bottom.
>> 23.On the connections tab, check "Use a proxy server for your LAN". The
>> address and port
>> fields should be enabled now.
>> 24.Address - enter "Localhost" or the IP address of your system which
>> will
>> act as the JMeter proxy.
>> 25.Port - enter "9090".
>> 26.Click "ok" button
>> 
>> For more reference,
>> http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf
>> 
>> Regards,
>> Kakoli
>> 
>> -----Original Message-----
>> From: ajay [mailto:ajay_bollam@yahoo.com]
>> Sent: Wednesday, August 30, 2006 4:41 PM
>> To: jmeter-user@jakarta.apache.org
>> Subject: RE: How to use HTTP Proxy Server
>> 
>> 
>> 
>> Hi,
>> 
>> Thanks for the Information Alexander.
>> 
>> Can you help me, How can I set my Browser to connect to JMeter Proxy...
>> 
>> Thanks,
>> Ajay
>> 
>> Alex Turner-2 wrote:
>>> 
>>> Ajay,
>>> 
>>> Is it possible that you have the concept a bit wrong?
>>> 
>>> If your browser normally uses a proxy, then you would have to tell
>>> JMeter
>>> to connect to that proxy to get pages.  You then set up the proxy server
>>> in JMeter to the spec in the manual.  Once this is done, you can set
>>> your
>>> browser to connect to the JMeter proxy.  The final system 'looks' like
>>> below:
>>> 
>>> Browser->[JMeterProxy->JMeterCore]->Your_Proxy ->Internet->Remote_Server
>>> 
>>> Cheers
>>> 
>>> Alexander J Turner Ph.D.
>>> 
>>> www.deployview.com
>>> www.nerds-central.blogspot.com
>>> www.project-network.com
>>> -----Original Message-----
>>> From: ajay [mailto:ajay_bollam@yahoo.com] 
>>> Sent: 30 August 2006 10:57
>>> To: jmeter-user@jakarta.apache.org
>>> Subject: How to use HTTP Proxy Server
>>> 
>>> 
>>> Hi,
>>> 
>>> I am a bit confused while using the HTTP Proxy Server in Jmeter. I have
>>> gone
>>> through, 
>>> "http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf"
>>> .
>>> 
>>> It is recording only for the example what they have mentioned in the
>>> above
>>> url. I tried to implement it for the other sites also.But they have
>>> mentioned the server name as "Localhost" and the port as "9090". My
>>> proxy
>>> settings for the Internet access are different. JMeter is not recording
>>> with
>>> my proxy settings.
>>> 
>>> Please, Can you suggest any solution for this...
>>> 
>>> Ajay
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6055777
>>> Sent from the JMeter - User forum at Nabble.com.
>>> 
>>> -- 
>>> No virus found in this incoming message.
>>> Checked by AVG Free Edition.
>>> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date:
>>> 29/08/2006
>>>  
>>> 
>>> -- 
>>> No virus found in this outgoing message.
>>> Checked by AVG Free Edition.
>>> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date:
>>> 29/08/2006
>>>  
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>> 
>>> 
>>> 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6056787
>> Sent from the JMeter - User forum 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
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6057658
> Sent from the JMeter - User forum at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 29/08/2006
>  
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 29/08/2006
>  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6265032
Sent from the JMeter - User forum at Nabble.com.

RE: TPN POSSIBLE SPAM:RE: How to use HTTP Proxy Server

Posted by Alex Turner <Al...@Project-Network.com>.
1) Find you what your normal proxy settings are for your browser.
2) Follow the instructions below:

2.4.2 Using a Proxy Server

    If you are testing from behind a firewall/proxy server, you may need to provide JMeter with the firewall/proxy server hostname and port number. To do so, run the jmeter.bat/jmeter file from a command line with the following parameters:

    -h [proxy server hostname or ip address]
    -p [proxy server port]

    Example : jmeter -h my.proxy.server -p 8000

Cheers

AJ


Alexander J Turner Ph.D.
www.deployview.com
www.nerds-central.blogspot.com
www.project-network.com

-----Original Message-----
From: ajay [mailto:ajay_bollam@yahoo.com] 
Sent: 30 August 2006 13:15
To: jmeter-user@jakarta.apache.org
Subject: TPN POSSIBLE SPAM:RE: How to use HTTP Proxy Server


Hi,

Thanks for the Information kakoli.

I have tried like what ever you said.But it is showing the following error:

java.net.UnknownHostException: www.google.com
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:424)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:514)
	at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:112)

My Proxy settings for the Internet connection are different.Can you suggest
me, How can I overcome this problem..

Thanks,
Ajay


Sen, Kakoli wrote:
> 
> Hi,
> From the browser tool bar, click "tools -> internet options". This should
> bring up the options.
> 21.Select the "connection" tab
> 22.Click "lan settings" button near the bottom.
> 23.On the connections tab, check "Use a proxy server for your LAN". The
> address and port
> fields should be enabled now.
> 24.Address - enter "Localhost" or the IP address of your system which will
> act as the JMeter proxy.
> 25.Port - enter "9090".
> 26.Click "ok" button
> 
> For more reference,
> http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf
> 
> Regards,
> Kakoli
> 
> -----Original Message-----
> From: ajay [mailto:ajay_bollam@yahoo.com]
> Sent: Wednesday, August 30, 2006 4:41 PM
> To: jmeter-user@jakarta.apache.org
> Subject: RE: How to use HTTP Proxy Server
> 
> 
> 
> Hi,
> 
> Thanks for the Information Alexander.
> 
> Can you help me, How can I set my Browser to connect to JMeter Proxy...
> 
> Thanks,
> Ajay
> 
> Alex Turner-2 wrote:
>> 
>> Ajay,
>> 
>> Is it possible that you have the concept a bit wrong?
>> 
>> If your browser normally uses a proxy, then you would have to tell JMeter
>> to connect to that proxy to get pages.  You then set up the proxy server
>> in JMeter to the spec in the manual.  Once this is done, you can set your
>> browser to connect to the JMeter proxy.  The final system 'looks' like
>> below:
>> 
>> Browser->[JMeterProxy->JMeterCore]->Your_Proxy ->Internet->Remote_Server
>> 
>> Cheers
>> 
>> Alexander J Turner Ph.D.
>> 
>> www.deployview.com
>> www.nerds-central.blogspot.com
>> www.project-network.com
>> -----Original Message-----
>> From: ajay [mailto:ajay_bollam@yahoo.com] 
>> Sent: 30 August 2006 10:57
>> To: jmeter-user@jakarta.apache.org
>> Subject: How to use HTTP Proxy Server
>> 
>> 
>> Hi,
>> 
>> I am a bit confused while using the HTTP Proxy Server in Jmeter. I have
>> gone
>> through, 
>> "http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf"
>> .
>> 
>> It is recording only for the example what they have mentioned in the
>> above
>> url. I tried to implement it for the other sites also.But they have
>> mentioned the server name as "Localhost" and the port as "9090". My proxy
>> settings for the Internet access are different. JMeter is not recording
>> with
>> my proxy settings.
>> 
>> Please, Can you suggest any solution for this...
>> 
>> Ajay
>> -- 
>> View this message in context:
>> http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6055777
>> Sent from the JMeter - User forum at Nabble.com.
>> 
>> -- 
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date:
>> 29/08/2006
>>  
>> 
>> -- 
>> No virus found in this outgoing message.
>> Checked by AVG Free Edition.
>> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date:
>> 29/08/2006
>>  
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6056787
> Sent from the JMeter - User forum 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6057658
Sent from the JMeter - User forum at Nabble.com.


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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 29/08/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 29/08/2006
 

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


RE: How to use HTTP Proxy Server

Posted by ajay <aj...@yahoo.com>.
Hi,

Thanks for the Information kakoli.

I have tried like what ever you said.But it is showing the following error:

java.net.UnknownHostException: www.google.com
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at sun.net.NetworkClient.doConnect(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.openServer(Unknown Source)
	at sun.net.www.http.HttpClient.<init>(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.http.HttpClient.New(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:424)
	at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:514)
	at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:112)

My Proxy settings for the Internet connection are different.Can you suggest
me, How can I overcome this problem..

Thanks,
Ajay


Sen, Kakoli wrote:
> 
> Hi,
> From the browser tool bar, click "tools -> internet options". This should
> bring up the options.
> 21.Select the "connection" tab
> 22.Click "lan settings" button near the bottom.
> 23.On the connections tab, check "Use a proxy server for your LAN". The
> address and port
> fields should be enabled now.
> 24.Address - enter "Localhost" or the IP address of your system which will
> act as the JMeter proxy.
> 25.Port - enter "9090".
> 26.Click "ok" button
> 
> For more reference,
> http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf
> 
> Regards,
> Kakoli
> 
> -----Original Message-----
> From: ajay [mailto:ajay_bollam@yahoo.com]
> Sent: Wednesday, August 30, 2006 4:41 PM
> To: jmeter-user@jakarta.apache.org
> Subject: RE: How to use HTTP Proxy Server
> 
> 
> 
> Hi,
> 
> Thanks for the Information Alexander.
> 
> Can you help me, How can I set my Browser to connect to JMeter Proxy...
> 
> Thanks,
> Ajay
> 
> Alex Turner-2 wrote:
>> 
>> Ajay,
>> 
>> Is it possible that you have the concept a bit wrong?
>> 
>> If your browser normally uses a proxy, then you would have to tell JMeter
>> to connect to that proxy to get pages.  You then set up the proxy server
>> in JMeter to the spec in the manual.  Once this is done, you can set your
>> browser to connect to the JMeter proxy.  The final system 'looks' like
>> below:
>> 
>> Browser->[JMeterProxy->JMeterCore]->Your_Proxy ->Internet->Remote_Server
>> 
>> Cheers
>> 
>> Alexander J Turner Ph.D.
>> 
>> www.deployview.com
>> www.nerds-central.blogspot.com
>> www.project-network.com
>> -----Original Message-----
>> From: ajay [mailto:ajay_bollam@yahoo.com] 
>> Sent: 30 August 2006 10:57
>> To: jmeter-user@jakarta.apache.org
>> Subject: How to use HTTP Proxy Server
>> 
>> 
>> Hi,
>> 
>> I am a bit confused while using the HTTP Proxy Server in Jmeter. I have
>> gone
>> through, 
>> "http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf"
>> .
>> 
>> It is recording only for the example what they have mentioned in the
>> above
>> url. I tried to implement it for the other sites also.But they have
>> mentioned the server name as "Localhost" and the port as "9090". My proxy
>> settings for the Internet access are different. JMeter is not recording
>> with
>> my proxy settings.
>> 
>> Please, Can you suggest any solution for this...
>> 
>> Ajay
>> -- 
>> View this message in context:
>> http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6055777
>> Sent from the JMeter - User forum at Nabble.com.
>> 
>> -- 
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date:
>> 29/08/2006
>>  
>> 
>> -- 
>> No virus found in this outgoing message.
>> Checked by AVG Free Edition.
>> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date:
>> 29/08/2006
>>  
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>> 
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6056787
> Sent from the JMeter - User forum 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6057658
Sent from the JMeter - User forum at Nabble.com.


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


How to use HTTP Proxy Server

Posted by Alex Turner <Al...@Project-Network.com>.
In IE you do the following:

Tools/Internet Options/Connections/LAN Settings

The click the checkbox for 'use a proxy server for your lan.

Then make the proxy server address localhost (is you are running JMeter on the same machine as the browser and the port to what ever port you set JMeter's proxy server to (normally 8080).

Firefox:
Tools/Options/General/Connection Settings/

The click the radio button for 'Manual proxy configuration'.
Set the HTTP Proxy to localhost (as in IE) and the port to whatever JMeter has its proxy server set to (as with IE).

If you are using a different browser - I don't know the answer.  However, I would suggest you stick with Firefox for this as it is so well know and so you're less likely to get odd effects.

Hope that helps

AJ


Alexander J Turner Ph.D.
www.deployview.com
www.nerds-central.blogspot.com
www.project-network.com

-----Original Message-----
From: ajay [mailto:ajay_bollam@yahoo.com] 
Sent: 30 August 2006 12:11
To: jmeter-user@jakarta.apache.org
Subject: TPN POSSIBLE SPAM:RE: How to use HTTP Proxy Server


Hi,

Thanks for the Information Alexander.

Can you help me, How can I set my Browser to connect to JMeter Proxy...

Thanks,
Ajay

Alex Turner-2 wrote:
> 
> Ajay,
> 
> Is it possible that you have the concept a bit wrong?
> 
> If your browser normally uses a proxy, then you would have to tell JMeter
> to connect to that proxy to get pages.  You then set up the proxy server
> in JMeter to the spec in the manual.  Once this is done, you can set your
> browser to connect to the JMeter proxy.  The final system 'looks' like
> below:
> 
> Browser->[JMeterProxy->JMeterCore]->Your_Proxy ->Internet->Remote_Server
> 
> Cheers
> 
> Alexander J Turner Ph.D.
> 
> www.deployview.com
> www.nerds-central.blogspot.com
> www.project-network.com
> -----Original Message-----
> From: ajay [mailto:ajay_bollam@yahoo.com] 
> Sent: 30 August 2006 10:57
> To: jmeter-user@jakarta.apache.org
> Subject: How to use HTTP Proxy Server
> 
> 
> Hi,
> 
> I am a bit confused while using the HTTP Proxy Server in Jmeter. I have
> gone
> through, 
> "http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf"
> .
> 
> It is recording only for the example what they have mentioned in the above
> url. I tried to implement it for the other sites also.But they have
> mentioned the server name as "Localhost" and the port as "9090". My proxy
> settings for the Internet access are different. JMeter is not recording
> with
> my proxy settings.
> 
> Please, Can you suggest any solution for this...
> 
> Ajay
> -- 
> View this message in context:
> http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6055777
> Sent from the JMeter - User forum at Nabble.com.
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 29/08/2006
>  
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 29/08/2006
>  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6056787
Sent from the JMeter - User forum at Nabble.com.


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


-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 29/08/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 29/08/2006
 

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


RE: How to use HTTP Proxy Server

Posted by ajay <aj...@yahoo.com>.
Hi,

Thanks for the Information Alexander.

Can you help me, How can I set my Browser to connect to JMeter Proxy...

Thanks,
Ajay

Alex Turner-2 wrote:
> 
> Ajay,
> 
> Is it possible that you have the concept a bit wrong?
> 
> If your browser normally uses a proxy, then you would have to tell JMeter
> to connect to that proxy to get pages.  You then set up the proxy server
> in JMeter to the spec in the manual.  Once this is done, you can set your
> browser to connect to the JMeter proxy.  The final system 'looks' like
> below:
> 
> Browser->[JMeterProxy->JMeterCore]->Your_Proxy ->Internet->Remote_Server
> 
> Cheers
> 
> Alexander J Turner Ph.D.
> 
> www.deployview.com
> www.nerds-central.blogspot.com
> www.project-network.com
> -----Original Message-----
> From: ajay [mailto:ajay_bollam@yahoo.com] 
> Sent: 30 August 2006 10:57
> To: jmeter-user@jakarta.apache.org
> Subject: How to use HTTP Proxy Server
> 
> 
> Hi,
> 
> I am a bit confused while using the HTTP Proxy Server in Jmeter. I have
> gone
> through, 
> "http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf"
> .
> 
> It is recording only for the example what they have mentioned in the above
> url. I tried to implement it for the other sites also.But they have
> mentioned the server name as "Localhost" and the port as "9090". My proxy
> settings for the Internet access are different. JMeter is not recording
> with
> my proxy settings.
> 
> Please, Can you suggest any solution for this...
> 
> Ajay
> -- 
> View this message in context:
> http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6055777
> Sent from the JMeter - User forum at Nabble.com.
> 
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 29/08/2006
>  
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 29/08/2006
>  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6056787
Sent from the JMeter - User forum 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: How to use HTTP Proxy Server

Posted by Alex Turner <Al...@Project-Network.com>.
Ajay,

Is it possible that you have the concept a bit wrong?

If your browser normally uses a proxy, then you would have to tell JMeter to connect to that proxy to get pages.  You then set up the proxy server in JMeter to the spec in the manual.  Once this is done, you can set your browser to connect to the JMeter proxy.  The final system 'looks' like below:

Browser->[JMeterProxy->JMeterCore]->Your_Proxy ->Internet->Remote_Server

Cheers

Alexander J Turner Ph.D.

www.deployview.com
www.nerds-central.blogspot.com
www.project-network.com
-----Original Message-----
From: ajay [mailto:ajay_bollam@yahoo.com] 
Sent: 30 August 2006 10:57
To: jmeter-user@jakarta.apache.org
Subject: How to use HTTP Proxy Server


Hi,

I am a bit confused while using the HTTP Proxy Server in Jmeter. I have gone
through, 
"http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf"
.

It is recording only for the example what they have mentioned in the above
url. I tried to implement it for the other sites also.But they have
mentioned the server name as "Localhost" and the port as "9090". My proxy
settings for the Internet access are different. JMeter is not recording with
my proxy settings.

Please, Can you suggest any solution for this...

Ajay
-- 
View this message in context: http://www.nabble.com/How-to-use-HTTP-Proxy-Server-tf2188852.html#a6055777
Sent from the JMeter - User forum at Nabble.com.

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 29/08/2006
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 29/08/2006
 

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