[Webtest] a problem in implementation

Siju John Siju John" <msiju@coulera.com
Thu, 12 Oct 2006 21:14:10 +0530


This is a multi-part message in MIME format.

------=_NextPart_000_0144_01C6EE43.5C4A4AB0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_001_0145_01C6EE43.5C4A4AB0"


------=_NextPart_001_0145_01C6EE43.5C4A4AB0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I am facing a problem running webtest for our product.

Actually, Webtest was used on a limited scale earlier.
I tried to run a file which earlier used to work. However, it is not =
working now.

I am attaching a resultfile for the script run.=20
Can anyone help me out with this.

-Siju
------=_NextPart_001_0145_01C6EE43.5C4A4AB0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2180" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am facing a problem running webtest =
for our=20
product.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Actually, Webtest was used&nbsp;on a =
limited scale=20
earlier.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I tried to run a file which earlier =
used to work.=20
However, it is not working now.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am attaching a resultfile for the =
script run.=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Can anyone help me out with =
this.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-Siju</FONT></DIV></BODY></HTML>

------=_NextPart_001_0145_01C6EE43.5C4A4AB0--

------=_NextPart_000_0144_01C6EE43.5C4A4AB0
Content-Type: text/xml;
	name="Resultfile.xml"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="Resultfile.xml"

<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>=0A=
<summary>=0A=
    <testresult=0A=
        starttime=3D"Thu Oct 12 21:01:59 IST 2006"=0A=
        successful=3D"no" testspecname=3D"AccountCreation">=0A=
        <config>=0A=
            <parameter name=3D"defaultpage" value=3D"null"/>=0A=
            <parameter name=3D"protocol" value=3D"HTTPS"/>=0A=
            <parameter name=3D"summary" value=3D"yes"/>=0A=
            <parameter name=3D"saveresponse" value=3D"yes"/>=0A=
            <parameter name=3D"haltonerror" value=3D"no"/>=0A=
            <parameter name=3D"port" value=3D"80"/>=0A=
            <parameter name=3D"resultfile" value=3D"Resultfile.xml"/>=0A=
            <parameter name=3D"showhtmlparseroutput" value=3D"no"/>=0A=
            <parameter name=3D"resultpath" value=3D"c:\CanooResults"/>=0A=
            <parameter name=3D"host" value=3D"192.168.1.106"/>=0A=
            <parameter name=3D"haltonfailure" value=3D"no"/>=0A=
            <parameter name=3D"verbose" value=3D"no"/>=0A=
            <parameter name=3D"basepath" value=3D""/>=0A=
        </config>=0A=
        <results>=0A=
            <step>=0A=
                <parameter name=3D"stepId" value=3D"Login Page"/>=0A=
                <parameter name=3D"url" =
value=3D"http://192.168.1.106/index.jsp?"/>=0A=
                <parameter name=3D"stepType" value=3D"invoke"/>=0A=
                <result>=0A=
                    <failed/>=0A=
                </result>=0A=
            </step>=0A=
            <step>=0A=
                <parameter name=3D"value" value=3D"system"/>=0A=
                <parameter name=3D"stepId" value=3D"Set the username"/>=0A=
                <parameter name=3D"name" value=3D"user"/>=0A=
                <parameter name=3D"stepType" value=3D"setinputfield"/>=0A=
                <result>=0A=
                    <notexecuted/>=0A=
                </result>=0A=
            </step>=0A=
            <step>=0A=
                <parameter name=3D"value" value=3D"system"/>=0A=
                <parameter name=3D"stepId" value=3D"Set the password"/>=0A=
                <parameter name=3D"name" value=3D"pwd"/>=0A=
                <parameter name=3D"stepType" value=3D"setinputfield"/>=0A=
                <result>=0A=
                    <notexecuted/>=0A=
                </result>=0A=
            </step>=0A=
            <step>=0A=
                <parameter name=3D"text" value=3D"Content Manager"/>=0A=
                <parameter name=3D"stepId" value=3D"Select the =
Application"/>=0A=
                <parameter name=3D"name" value=3D"server"/>=0A=
                <parameter name=3D"regex" value=3D"false"/>=0A=
                <parameter name=3D"stepType" value=3D"setselectfield"/>=0A=
                <result>=0A=
                    <notexecuted/>=0A=
                </result>=0A=
            </step>=0A=
            <step>=0A=
                <parameter name=3D"ParameterName" value=3D"command"/>=0A=
                <parameter name=3D"ParameterValue" value=3D"login"/>=0A=
                <parameter name=3D"Form" value=3D"CA_LOGIN"/>=0A=
                <parameter name=3D"stepId" value=3D"Submit Login page"/>=0A=
                <parameter name=3D"stepType" value=3D"submitform"/>=0A=
                <result>=0A=
                    <notexecuted/>=0A=
                </result>=0A=
            </step>=0A=
            <step>=0A=
                <parameter name=3D"text" =
value=3D"location.href=3D&quot;/packager/layout/welcome.jsp"/>=0A=
                <parameter name=3D"stepId" value=3D"Check if you are =
logged in"/>=0A=
                <parameter name=3D"regex" value=3D"false"/>=0A=
                <parameter name=3D"stepType" value=3D"verifytext"/>=0A=
                <result>=0A=
                    <notexecuted/>=0A=
                </result>=0A=
            </step>=0A=
            <step>=0A=
                <parameter name=3D"stepId" value=3D"Check the welcome =
home page"/>=0A=
                <parameter name=3D"url" =
value=3D"packager/layout/welcome.jsp"/>=0A=
                <parameter name=3D"stepType" value=3D"invoke"/>=0A=
                <result>=0A=
                    <notexecuted/>=0A=
                </result>=0A=
            </step>=0A=
            <step>=0A=
                <parameter name=3D"stepId" value=3D"Show Accounts Page"/>=0A=
                <parameter name=3D"url" =
value=3D"packager/commands/ShowAccounts.jsp"/>=0A=
                <parameter name=3D"stepType" value=3D"invoke"/>=0A=
                <result>=0A=
                    <notexecuted/>=0A=
                </result>=0A=
            </step>=0A=
            <step>=0A=
                <parameter name=3D"text" value=3D"Account"/>=0A=
                <parameter name=3D"stepId" value=3D"Verify text =
Account"/>=0A=
                <parameter name=3D"regex" value=3D"false"/>=0A=
                <parameter name=3D"stepType" value=3D"verifytext"/>=0A=
                <result>=0A=
                    <notexecuted/>=0A=
                </result>=0A=
            </step>=0A=
            <step>=0A=
                <parameter name=3D"text" value=3D"system"/>=0A=
                <parameter name=3D"stepId" value=3D"Verify text system"/>=0A=
                <parameter name=3D"regex" value=3D"false"/>=0A=
                <parameter name=3D"stepType" value=3D"verifytext"/>=0A=
                <result>=0A=
                    <notexecuted/>=0A=
                </result>=0A=
            </step>=0A=
            <step>=0A=
                <parameter name=3D"stepId" value=3D"Create Accounts =
Page"/>=0A=
                <parameter name=3D"url" =
value=3D"appui/class-fmt/Account.jsp?command=3Dcreate"/>=0A=
                <parameter name=3D"stepType" value=3D"invoke"/>=0A=
                <result>=0A=
                    <notexecuted/>=0A=
                </result>=0A=
            </step>=0A=
            <step>=0A=
                <parameter name=3D"countername" value=3D"i"/>=0A=
                <parameter name=3D"stepId" value=3D"&lt;unknown&gt;"/>=0A=
                <parameter name=3D"count" value=3D"48"/>=0A=
                <parameter name=3D"stepType" value=3D"null"/>=0A=
                <result>=0A=
                    <notexecuted/>=0A=
                </result>=0A=
                <step>=0A=
                    <parameter name=3D"value" value=3D"Value#{i}"/>=0A=
                    <parameter name=3D"stepId" value=3D"Assigning values =
to Attributes"/>=0A=
                    <parameter name=3D"name" value=3D"Attrib#{i}"/>=0A=
                    <parameter name=3D"stepType" =
value=3D"customsetinputfield"/>=0A=
                    <result>=0A=
                        <notexecuted/>=0A=
                    </result>=0A=
                </step>=0A=
            </step>=0A=
            <step>=0A=
                <parameter name=3D"text" value=3D"${Country}"/>=0A=
                <parameter name=3D"stepId" value=3D"Country"/>=0A=
                <parameter name=3D"name" value=3D"_Attr_country"/>=0A=
                <parameter name=3D"regex" value=3D"false"/>=0A=
                <parameter name=3D"stepType" value=3D"setselectfield"/>=0A=
                <result>=0A=
                    <notexecuted/>=0A=
                </result>=0A=
            </step>=0A=
            <step>=0A=
                <parameter name=3D"ParameterName" value=3D"command"/>=0A=
                <parameter name=3D"ParameterValue" value=3D"make"/>=0A=
                <parameter name=3D"Form" value=3D"ServerRequest"/>=0A=
                <parameter name=3D"stepId" value=3D"Submit Account =
Create page"/>=0A=
                <parameter name=3D"stepType" value=3D"submitform"/>=0A=
                <result>=0A=
                    <notexecuted/>=0A=
                </result>=0A=
            </step>=0A=
            <error=0A=
                =
exception=3D"com.canoo.webtest.engine.StepExecutionException" =
message=3D"Unexpected exception caught: =
java.io.IOException"><![CDATA[com.canoo.webtest.engine.StepExecutionExcep=
tion: Unexpected exception caught: java.io.IOException
	at =
com.canoo.webtest.steps.Step.handleUnexpectedException(Step.java:307)
	at =
com.canoo.webtest.steps.request.Target.protectedGoto(Target.java:182)
	at com.canoo.webtest.steps.request.Target.gotoTarget(Target.java:228)
	at =
com.canoo.webtest.steps.request.InvokePage.doExecute(InvokePage.java:42)
	at com.canoo.webtest.steps.Step.execute(Step.java:69)
	at com.canoo.webtest.engine.Engine.executeSteps(Engine.java:32)
	at =
com.canoo.webtest.ant.TestSpecificationTask.execute(TestSpecificationTask=
.java:74)
	at org.apache.tools.ant.Task.perform(Task.java:341)
	at org.apache.tools.ant.Target.execute(Target.java:309)
	at org.apache.tools.ant.Target.performTasks(Target.java:336)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
	at org.apache.tools.ant.Main.runBuild(Main.java:609)
	at org.apache.tools.ant.Main.start(Main.java:196)
	at org.apache.tools.ant.Main.main(Main.java:235)
]]></error>=0A=
        </results>=0A=
    </testresult>=0A=
</summary>=0A=

------=_NextPart_000_0144_01C6EE43.5C4A4AB0--