[Webtest] Help

Aatish Arora webtest@lists.canoo.com
Wed, 16 Apr 2003 06:13:32 -0700 (PDT)


Hi Mahesh,

Port 80 is the default port for a webserver.
But if you donot specify it canoo should not set any
default value...

Do not specify anything in the config for "port" and
try...

Best of Luck!
Aatish

--- Mahesh Pande <mahesh.pande@patni.com> wrote:
> Hi Aatish,
> Why WebTest adds ":80" by default to this URL....
>
http://developer.java.sun.com:80/servlet/SessionServlet
> How should I get rid of this. I am not specifying
> "port" in the config. I
> don't want ":80" there. What should I do to get rid
> of this.
> Thanks and regards,
> Mahesh
> 
> 
> -----Original Message-----
> From: webtest-admin@gate.canoo.com
> [mailto:webtest-admin@gate.canoo.com]On Behalf Of
> webtest-request@gate.canoo.com
> Sent: Wednesday, April 16, 2003 3:31 PM
> To: webtest@gate.canoo.com
> Subject: WebTest digest, Vol 1 #247 - 1 msg
> 
> 
> Send WebTest mailing list submissions to
> 	webtest@lists.canoo.com
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 	http://lists.canoo.com/mailman/listinfo/webtest
> or, via email, send a message with subject or body
> 'help' to
> 	webtest-request@lists.canoo.com
> 
> You can reach the person managing the list at
> 	webtest-admin@lists.canoo.com
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of WebTest digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Help (Aatish Arora)
> 
> --__--__--
> 
> Message: 1
> Date: Wed, 16 Apr 2003 02:38:16 -0700 (PDT)
> From: Aatish Arora <a_aatish@yahoo.com>
> Subject: Re: [Webtest] Help
> To: webtest@lists.canoo.com
> Reply-To: webtest@lists.canoo.com
> 
> Hi Mahesh,
> 
> Well currently canoo does not support a proxy
> redirection...someone on the list had posted abt
> this
> and he mentioned using the <setproxy/> task - u can
> check this up in the ant user manual.
> 
> Cheers!
> Aatish Arora
> 
> 
> --- Mahesh Pande <mahesh.pande@patni.com> wrote:
> > Yes ., I am accessing net via a proxy but I can
> test
> > some websites quite ok
> > while some give problem. By default the port taken
> > is 80. Please tell me how
> > should I handle the proxy through the Ant Script.
> > The exception I get is as follows:
> >
> >  [testSpec] java.net.ConnectException: Connection
> > timed out: connect
> >  [testSpec]  at
> > java.net.PlainSocketImpl.socketConnect(Native
> > Method)
> >  [testSpec]  at
> >
>
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
> >  [testSpec]  at
> >
>
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
> >  [testSpec]  at
> >
>
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
> >  [testSpec]  at
> > java.net.Socket.connect(Socket.java:426)
> >  [testSpec]  at
> > java.net.Socket.connect(Socket.java:376)
> >  [testSpec]  at
> >
>
sun.net.NetworkClient.doConnect(NetworkClient.java:139)
> >  [testSpec]  at
> >
>
sun.net.www.http.HttpClient.openServer(HttpClient.java:386)
> >  [testSpec]  at
> >
>
sun.net.www.http.HttpClient.openServer(HttpClient.java:602)
> >  [testSpec]  at
> >
>
sun.net.www.http.HttpClient.<init>(HttpClient.java:303)
> >  [testSpec]  at
> >
>
sun.net.www.http.HttpClient.<init>(HttpClient.java:264)
> >  [testSpec]  at
> >
> sun.net.www.http.HttpClient.New(HttpClient.java:336)
> >  [testSpec]  at
> >
> sun.net.www.http.HttpClient.New(HttpClient.java:317)
> >  [testSpec]  at
> >
> sun.net.www.http.HttpClient.New(HttpClient.java:312)
> >  [testSpec]  at
> >
>
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.j
> > ava:481)
> >  [testSpec]  at
> >
>
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:4
> > 72)
> >  [testSpec]  at
> >
>
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
> > .java:574)
> >  [testSpec]  at
> >
>
sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(HttpURLConnect
> > ion.java:1208)
> >  [testSpec]  at
> >
>
com.meterware.httpunit.HttpWebResponse.loadHeaders(HttpWebResponse.java:191)
> >  [testSpec]  at
> >
>
com.meterware.httpunit.HttpWebResponse.readHeaders(HttpWebResponse.java:173)
> >  [testSpec]  at
> >
>
com.meterware.httpunit.HttpWebResponse.<init>(HttpWebResponse.java:53)
> >  [testSpec]  at
> >
>
com.meterware.httpunit.WebConversation.newResponse(WebConversation.java:60)
> >  [testSpec]  at
> >
>
com.meterware.httpunit.WebWindow.getResource(WebWindow.java:154)
> >  [testSpec]  at
> >
>
com.meterware.httpunit.WebWindow.getSubframeResponse(WebWindow.java:117)
> >  [testSpec]  at
> >
>
com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:110)
> >  [testSpec]  at
> >
>
com.meterware.httpunit.WebWindow.getResponse(WebWindow.java:91)
> >  [testSpec]  at
> >
>
com.meterware.httpunit.WebClient.getResponse(WebClient.java:87)
> >  [testSpec]  at
> >
>
com.canoo.webtest.steps.request.Target.getResponse(Target.java:257)
> >  [testSpec]  at
> >
>
com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:216)
> >  [testSpec]  at
> >
>
com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:183)
> >  [testSpec]  at
> >
>
com.canoo.webtest.steps.request.InvokePage.doExecute(InvokePage.java:41)
> >  [testSpec]  at
> > com.canoo.webtest.steps.Step.execute(Step.java:56)
> >  [testSpec]  at
> >
>
com.canoo.webtest.engine.Engine.executeSteps(Engine.java:32)
> >  [testSpec]  at
> >
>
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask.ja
> > va:55)
> >  [testSpec]  at
> >
>
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193)
> >  [testSpec]  at
> > org.apache.tools.ant.Task.perform(Task.java:341)
> >  [testSpec]  at
> >
> org.apache.tools.ant.Target.execute(Target.java:309)
> >  [testSpec]  at
> >
>
org.apache.tools.ant.Target.performTasks(Target.java:336)
> >  [testSpec]  at
> >
>
org.apache.tools.ant.Project.executeTarget(Project.java:1339)
> >  [testSpec]  at
> >
>
org.apache.tools.ant.Project.executeTargets(Project.java:1255)
> >  [testSpec]  at
> > org.apache.tools.ant.Main.runBuild(Main.java:609)
> >  [testSpec]  at
> > org.apache.tools.ant.Main.start(Main.java:196)
> >  [testSpec]  at
> > org.apache.tools.ant.Main.main(Main.java:235)
> 
=== message truncated ===


=====
================================================
Six monkeys pounding on six typewriters at random for a million years will recreate all the works of Isaac Asimov.
================================================

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com