You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by An...@ipaustralia.gov.au on 2002/08/12 02:28:27 UTC
New to JMeter - Trouble with .jsp pages
Hi All,
I have just started to use JMeter (1.7.1) and I am attempting to test
against a website that uses .jsp, when I attempt to connect to the first
page I get the following error. I am using the HTTP request, is this
right, should I be specifying some extra parameters to deal with .jsp
pages ?
thanks
@...
Sampling url: http://www.ipaustralia.gov.au:80/
Sampling url: http://www.ipaustralia.gov.au:80/
Sampling url: http:/ols/ecentre/content/olsHome.jsp
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
at java.net.Socket.connect(Socket.java:425)
at java.net.Socket.connect(Socket.java:375)
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:366)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:582)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:292)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:253)
at sun.net.www.http.HttpClient.New(HttpClient.java:321)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:301)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConn
ction.java:463)
at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnectio
.java:454)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampl
r.java:440)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampl
r.java:164)
at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:138)
at java.lang.Thread.run(Thread.java:536)
Re: New to JMeter - Trouble with .jsp pages
Posted by Mike Stover <ms...@apache.org>.
You're missing the Domain part of the URL - the server name. JMeter has no idea
what server to send the request to.
-Mike
On 12 Aug 2002 at 10:28, Andrew.Hammond@ipaustralia.gov.au wrote:
> Hi All,
>
> I have just started to use JMeter (1.7.1) and I am attempting to test
> against a website that uses .jsp, when I attempt to connect to the first
> page I get the following error. I am using the HTTP request, is this
> right, should I be specifying some extra parameters to deal with .jsp
> pages ?
>
> thanks
>
> @...
>
> Sampling url: http://www.ipaustralia.gov.au:80/
> Sampling url: http://www.ipaustralia.gov.au:80/
> Sampling url: http:/ols/ecentre/content/olsHome.jsp
> java.net.ConnectException: Connection refused: connect
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295)
> at
> java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148)
> at java.net.Socket.connect(Socket.java:425)
> at java.net.Socket.connect(Socket.java:375)
> at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
> at sun.net.www.http.HttpClient.openServer(HttpClient.java:366)
> at sun.net.www.http.HttpClient.openServer(HttpClient.java:582)
> at sun.net.www.http.HttpClient.<init>(HttpClient.java:292)
> at sun.net.www.http.HttpClient.<init>(HttpClient.java:253)
> at sun.net.www.http.HttpClient.New(HttpClient.java:321)
> at sun.net.www.http.HttpClient.New(HttpClient.java:306)
> at sun.net.www.http.HttpClient.New(HttpClient.java:301)
> at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConn
> ction.java:463)
> at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnectio
> .java:454)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampl
> r.java:440)
> at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampl
> r.java:164)
> at
> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:138)
> at java.lang.Thread.run(Thread.java:536)
--
Michael Stover
mstover1@apache.org
Yahoo IM: mstover_ya
ICQ: 152975688
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>