jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Stover <mstov...@apache.org>
Subject Re: Using the Proxy Server to record test scripts
Date Thu, 02 Sep 2004 16:02:39 GMT
Hey now, that's just not true.  You can start JMeter with information
about a proxy server it should use:

jmeter -H proxyHost -P proxyPort

JMeter will send all http requests through the proxy, even ones from
it's own proxy.

-Mike

On Thu, 2004-09-02 at 09:49, joelsherriff wrote:
> I assume you know that you can tell the proxy server what port to listen on
> ("Port:", on the proxy server panel), and that you have to tell IE to go to
> that port, but if you're asking how to get the jmeter proxy to send requests
> through another proxy (your firewall) - You Can't.  In other words, the
> jmeter proxy must be the only proxy being used.  It wouldn't be too hard to
> modify the jmeter proxy server do this (tunnel to another proxy), but since
> the only reason to do this is for demonstration purposes (unless you're load
> testing your proxy!), I doubt anyone has a burning need for it.  Actually
> there is at least one other case where it might be useful - to capture
> behind a firewall and be able to play back inside or outside the firewall -
> but that's a pretty specific case and requires a lot of code.  We'd have to
> modify the proxy to tunnel to another proxy - that's pretty easy, don't even
> have to change the request, just open a connection to the proxy and send the
> the original request (after modifying one or two header entries, IIRC).  But
> getting the playback code to support going through a proxy would be quite a
> bit more work.
> 
> J
> 
> ----- Original Message ----- 
> From: "Abdelilah Manassi" <manassi@gmx.net>
> To: "JMeter Users List" <jmeter-user@jakarta.apache.org>
> Sent: Thursday, September 02, 2004 8:19 AM
> Subject: Re: Using the Proxy Server to record test scripts
> 
> 
> > Hi I have also this Problem :
> > I´m Student on trainig in a company and we have a default Proxy and now
> i´m
> > trying use JMeter HTTP Proxy Server to capture http request but I´m seeing
> > no think .
> > >>>> I thought it connects to an already running proxy server __on a
> > particular port__. I am able to run it now.<<<<<<
> >
> > what have you got to resolve this Problem(how to select a particular port)
> >
> > Thanke you very match
> >
> > piako
> >
> > > Hello,
> > >
> > > Thanks. You are right, I didn't knew that the HTTPProxyServer under the
> > > workbench is a proxy server itself. I thought it connects to an already
> > > running proxy server on a particular port. I am able to run it now.
> > >
> > > Thanks,
> > > Ashish
> > >
> > > >
> > > > ----- Original Message -----
> > > > From: <asureka@ncsu.edu>
> > > > To: <jmeter-user@jakarta.apache.org>
> > > > Sent: Monday, August 30, 2004 10:05 AM
> > > > Subject: Using the Proxy Server to record test scripts
> > > >
> > > >
> > > >> Hello,
> > > >>
> > > >> I am trying use the Proxy Server to record test scripts. I have a
> HTTP
> > > >> proxy server running on my machine at port 8080.
> > > >
> > > > Just a sanity check here..."a" HTTP proxy server or "the" jmeter proxy
> > > > capture server?
> > > > If you're trying to go through an existing proxy AND capture using
> both
> > > > servers on the
> > > > same port, that doesn't work.
> > > >
> > > >> The browser has been
> > > >> configured to use the proxy server. JMeter is also running on the
> same
> > > >> machine as the proxy server.
> > > >>
> > > >> I have the following setup
> > > >>
> > > >> Test Plan
> > > >> |__ThreadGroup
> > > >>    |__RecrdingController
> > > >>
> > > >> WorkBench
> > > >> |__HTTPProxyServer (Name: Internet
> > > >>                     Port: 8080
> > > >>                     Target Controller: ThreadGroup>Recording
> > > Controller)
> > > >>
> > > >> When I press the Start button of HTTPProxyServer I dont see any
> > > >> confirmation that the recording process has begun.
> > > >>
> > > >> After the Start, I am using the browser to invoke some URL's but I
> dont
> > > >> see anything added to the Test Plan.
> > > >>
> > > >> Please let me know how to use the Proxy Server to record test
> scripts.
> > > >> Is
> > > >> there a tutorial on it with screenshots.
> > > >>
> > > >> any help is appreciated.
> > > >>
> > > >> Thanks,
> > > >> Ashish
> > > >>
> > > >>
> > > >>
> > > >> ---------------------------------------------------------------------
> > > >> 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
> > >
> >
> > -- 
> > NEU: Bis zu 10 GB Speicher für e-mails & Dateien!
> > 1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail
> >
> >
> > ---------------------------------------------------------------------
> > 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
-- 
Michael Stover <mstover1@apache.org>
Apache Software Foundation


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


Mime
View raw message