On 20/05/2009, Ari Heino <[email protected]> wrote:
>
>  Hi!
>
>  I'm trying to record request coming from ApacheHttpClient to web application
>  server.
>
>  Example request:
>  1 > GET http://localhost:8080/webservices/projects
>  1 > Authorization: Basic *******
>  1 > Host: localhost:8080
>  1 > User-Agent: Jakarta Commons-HttpClient/3.1
>  1 > Content-Type: text/xml
>  1 > Accept: text/xml
>
>  I have "HTTP Request Defaults" defined:
>  Server name or IP: localhost
>  port: 8080
>
>  I have "HTTP Proxy Server" defined:
>  port: 8088
>
>
>  When i make a request vie Jmeter proxy, what JMeter records is as "Http
>  Request":
>  Name: /webservices/projects
>  Server name or IP: /webservices/projects
>  Path: /webservices/projects
>
>  So the server name comes from path somehow and isn't the expected empty (or
>  the very least "localhost").
>
>  Anyone have an idea why is this?

No, this works fine with a browser.

>  I haev Basic Authentication setup for my server, could that cause this
>  problem of server name getting wrong?
>

Can you try it and see?

>  --
>  View this message in context: 
> http://www.nabble.com/Recorded-server-name-problem-tp23634097p23634097.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  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