You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Sandeep G <sa...@gmail.com> on 2008/09/19 14:17:26 UTC

Why HTTP Proxy Server?

Hi all,
  Why we use HTTP Proxy Server?
Application is in my machine and database is in other machine.can i use http
proxy server?
Where can i see requests recorded by http proxy server..?
Thanks.
regards,
Sandeep.

-- 
View this message in context: http://www.nabble.com/Why-HTTP-Proxy-Server--tp19571279p19571279.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: Why HTTP Proxy Server?

Posted by sebb <se...@gmail.com>.
On 19/09/2008, Ronan Klyne <ro...@groupbc.com> wrote:
> Sandeep G wrote:
>  > Where shall i specify to put proxy server recordings in some file?
>
>
> The Proxy will record the HTTP traffic as JMeter HTTP samplers - it
>  essentially generates a test sequence which you can then replay.
>  You just need to create a Recording Controller somewhere, and the
>  recorded samples will be put there.
>

Or you can add a thread group and tell JMeter to use that.

>         # r
>
>
>  --
>  Ronan Klyne
>  Business Collaborator Developer
>  Tel: +44 01189 028518
>  ronan.klyne@groupbc.com
>  www.groupbc.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: Why HTTP Proxy Server?

Posted by Ronan Klyne <ro...@groupbc.com>.
Sandeep G wrote:
> Where shall i specify to put proxy server recordings in some file?

The Proxy will record the HTTP traffic as JMeter HTTP samplers - it
essentially generates a test sequence which you can then replay.
You just need to create a Recording Controller somewhere, and the
recorded samples will be put there.

	# r

-- 
Ronan Klyne
Business Collaborator Developer
Tel: +44 01189 028518
ronan.klyne@groupbc.com
www.groupbc.com

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


Re: Why HTTP Proxy Server?

Posted by sebb <se...@gmail.com>.
On 20/09/2008, Sandeep G <sa...@gmail.com> wrote:
>
>  I created a thread group(login).I added http request  default and specified
>  domain and port.
>  i added http proxy server and i set target controller as thread group.and i
>  started proxy server.
>  thats it..i didn't save testplan also.
>  Coming to browser i configured proxy settings and accessed application.Idid
>  some transactions like
>  login to the application
>  Clicked a module(Masters)
>  clicked a transaction(Add customer)
>  enterd dets and submitted.
>  I closed browser.when i saw test plan, no sampler is added.
>  What is the problem?

Probably the browser was not actually using the proxy.
Try again, but this time don't start the JMeter proxy server.
If the browser still works, then it is not using the JMeter proxy.

>  Please send reply ASAP.
>  Thanks.
>
> --
>  View this message in context: http://www.nabble.com/Why-HTTP-Proxy-Server--tp19571279p19583270.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: Why HTTP Proxy Server?

Posted by Sandeep G <sa...@gmail.com>.
I created a thread group(login).I added http request  default and specified
domain and port.
i added http proxy server and i set target controller as thread group.and i
started proxy server.
thats it..i didn't save testplan also.
Coming to browser i configured proxy settings and accessed application.Idid
some transactions like 
login to the application
Clicked a module(Masters)
clicked a transaction(Add customer)
enterd dets and submitted.
I closed browser.when i saw test plan, no sampler is added.
What is the problem?
Please send reply ASAP.
Thanks.
-- 
View this message in context: http://www.nabble.com/Why-HTTP-Proxy-Server--tp19571279p19583270.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: Why HTTP Proxy Server?

Posted by sebb <se...@gmail.com>.
On 19/09/2008, Sandeep G <sa...@gmail.com> wrote:
>
>  Thanks sebb,
>  Where shall i specify to put proxy server recordings in some file?
>

Once the test plan has been generated, you can use the Save or Save As
menu options to save it to any file you want. Same as if you create
the test plan manually.

I suggest you read the docs e.g.

http://jakarta.apache.org/jmeter/usermanual/index.html
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Proxy_Server
http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf

and experiment with some simple scenarios to get a better idea for how it works.

> --
>  View this message in context: http://www.nabble.com/Why-HTTP-Proxy-Server--tp19571279p19571692.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: Why HTTP Proxy Server?

Posted by Sandeep G <sa...@gmail.com>.
Thanks sebb,
Where shall i specify to put proxy server recordings in some file?
-- 
View this message in context: http://www.nabble.com/Why-HTTP-Proxy-Server--tp19571279p19571692.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: Why HTTP Proxy Server?

Posted by sebb <se...@gmail.com>.
On 19/09/2008, Sandeep G <sa...@gmail.com> wrote:
>
>  Hi all,
>   Why we use HTTP Proxy Server?

To create a test plan by recording HTTP (not HTTPS) requests made by a browser.

You tell the browser to use a proxy (which happens to be JMeter) so
all the HTTP browser requests get passed to JMeter.

>  Application is in my machine and database is in other machine.can i use http
>  proxy server?

The location of the database is irrelevant (unless the browser talks
directly to it).

>  Where can i see requests recorded by http proxy server..?

Where you tell it to put them.

>  Thanks.
>  regards,
>  Sandeep.
>
>
>  --
>  View this message in context: http://www.nabble.com/Why-HTTP-Proxy-Server--tp19571279p19571279.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