[Webtest] Summary/report questions

Chris Reeves webtest@lists.canoo.com
Fri, 30 Jul 2004 15:25:47 -0400


This is a multi-part message in MIME format.

------_=_NextPart_001_01C4766B.04078F0A
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi folks -
=20
I am trying to generate a summary so I can run it through the transforms
to be consumable by the junit report task (at least, that's what I've
gleaned I can do from the documentation).
=20
So, I took the testInstall.xml, changed summary to "true", and ran it:
=20
 [testSpec] ERROR (TestSpecificationTask.java:146) - Exception caught
while writing test summary
 [testSpec] java.io.IOException: Resultpath / ResultFile not set
properly in config
=20
The docs don't say anything about other attributes that are required for
summary to work. In fact, resultfile seems to say exactly the opposite:
=20
Defines a commonly used result file where test results are appended.
This is useful to create summary reports for more than one testspec. An
individual result file for each testspec is created if this parameter is
not specified.
=20
Turns out, I have to have both resultpath and resultfile attributes to
get output - which is strange, because the description of resultpath
seems to apply only to html responses (maybe "responsepath" would make
more sense).
=20
Am I crazy, or have I just gone about this wrong?
=20
Either way, I get a result file. Next up, I want to transform it for
junit-report; is this process documented any where?
=20
Thanks!
=20
Chris

------_=_NextPart_001_01C4766B.04078F0A
Content-Type: text/html;
	charset="us-ascii"
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=3Dus-ascii">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D698342519-30072004>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial size=3D2>Hi =
folks=20
-</FONT></SPAN></DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial size=3D2>I am =
trying to=20
generate a summary so I can run it through the transforms to be =
consumable by=20
the junit report task (at least, that's what I've gleaned I can do from =
the=20
documentation).</FONT></SPAN></DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial size=3D2>So, I =
took the=20
testInstall.xml, changed summary to "true", and ran =
it:</FONT></SPAN></DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial =
size=3D2>&nbsp;[testSpec]=20
ERROR (TestSpecificationTask.java:146) - Exception caught while writing =
test=20
summary<BR>&nbsp;[testSpec] java.io.IOException: Resultpath / ResultFile =
not set=20
properly in config</FONT></SPAN></DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial size=3D2>The =
docs don't say=20
anything about other attributes that are required for summary to work. =
In fact,=20
resultfile seems to say exactly the opposite:</FONT></SPAN></DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D501090319-30072004>Defines a commonly used result =
file where=20
test results are appended. This is useful to create summary reports for =
more=20
than one testspec. An individual result file for each testspec is =
created if=20
this parameter is not specified.</SPAN></DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial size=3D2>Turns =
out, I have to=20
have both resultpath and resultfile attributes to get output - which is =
strange,=20
because the description of resultpath seems to apply only to html =
responses=20
(maybe "responsepath" would make more sense).</FONT></SPAN></DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial size=3D2>Am I =
crazy, or have=20
I just gone about this wrong?</FONT></SPAN></DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial size=3D2>Either =
way, I get a=20
result file. Next up, I want to transform it for junit-report; is this =
process=20
documented any where?</FONT></SPAN></DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial=20
size=3D2>Thanks!</FONT></SPAN></DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D501090319-30072004><FONT face=3DArial=20
size=3D2>Chris</FONT></SPAN></DIV></SPAN></FONT></DIV></BODY></HTML>

------_=_NextPart_001_01C4766B.04078F0A--