On 03/10/2007, Richard Hubbell <[EMAIL PROTECTED]> wrote:
>
> --- sebb <[EMAIL PROTECTED]> wrote:
>
> > On 03/10/2007, Richard Hubbell
> > <[EMAIL PROTECTED]> wrote:
> > > Using latest jmeter and java.
> > >
> > > Reading urls from a csv file and passing into the
> > Path
> > > for the HTTP Request
> > >
> > > Each url in the file is like so:
> > > http://www.example.com/
> >
> > The path is supposed to contain just the path; in
> > this case /
> > The protocol and host need to be entered in
> > different fields.
>
> I probably did not explain this well, and although
> what you say is probably true and correct it doesn't
> apply in this case.
>
> Maybe an example will help.  If I use wget
>
> wget -e http_proxy=proxy.example.com
> http://www.example.com
>
> Then everything works just fine the proxy host
> (proxy.example.com here) shows it receives a
> GET http://www.example.com HTTP/1.1
>
> But if I use jmeter the proxy.example.com always gets
> a
> GET /http://www.example.com HTTP/1.1
>
> Here's the setup:
>
> 1.  HTTP Request Default has proxy.example.com as the
> server variable

The proxy needs to be defined on the command-line.

> 2.  HTTP Request has ${url} for the Path variable
>
> But jmeter, incorrectly I believe, inserts a leading
> slash.  Anyway I really just need to know where that
> happens so I can modify the java that's doing that.
> Do you happen to know?
>
> proxy.example.com is a transparent proxy only.
>
Which needs to be provided to JMeter via the command-line variables.

> >
> > > The default "HTTP Request Defaults" specify the
> > proxy
> > > server that the requests go through. The problem
> > is
> > > that jmeter inserts a leading slash before ${url}
> > and
> > > the proxy  just wants a GET http://www.example.com
> > > HTTP/1.1 but jmeter is sending a GET
> > > /http://www.example.com HTTP/1.1
> > >
> > > Does anyone know what file to change or setting to
> > set
> > > to fix this?  It seems like a bug to me, but maybe
> > > it's just a feature that doesn't make sense to me.
> > >
>
>
>
>
> ____________________________________________________________________________________
> Be a better Heartthrob. Get better relationship answers from someone who 
> knows. Yahoo! Answers - Check it out.
> http://answers.yahoo.com/dir/?link=list&sid=396545433
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to