11 messages in com.canoo.lists.webtestRe: [Webtest] WebTest-Reportingproblem| From | Sent On | Attachments |
|---|---|---|
| Alexander Mannsfeld | 27 Nov 2007 06:58 | |
| Marc Guillemot | 27 Nov 2007 07:22 | |
| Alexander Mannsfeld | 27 Nov 2007 08:13 | |
| Marc Guillemot | 27 Nov 2007 08:40 | |
| Alexander Mannsfeld | 27 Nov 2007 08:48 | |
| Marc Guillemot | 28 Nov 2007 02:31 | |
| Alexander Mannsfeld | 28 Nov 2007 02:54 | |
| Marc Guillemot | 28 Nov 2007 03:13 | |
| Alexander Mannsfeld | 28 Nov 2007 04:08 | |
| Marc Guillemot | 28 Nov 2007 04:40 | |
| Alexander Mannsfeld | 28 Nov 2007 06:42 |
| Subject: | Re: [Webtest] WebTest-Reportingproblem![]() |
|---|---|
| From: | Alexander Mannsfeld (alex...@gameduell.de) |
| Date: | 11/28/2007 04:08:15 AM |
| List: | com.canoo.lists.webtest |
Hi Marc,
shame on me - I've downloaded build.zip with wget and didn't paid attention that the download was moved to build.zip.1 as there was allready a old version.
Now the tool is trying to generate the report but is stopping with this error:
wt.htmlReports.init:
wt.htmlReports: [mkdir] Created dir: /var/www/GDAutoTest/webTests/results/resources [copy] Copying 20 files to /var/www/GDAutoTest/webTests/results/resources [xslt] Transforming into /var/www/GDAutoTest/webTests/results [xslt] Transforming into /var/www/GDAutoTest/webTests/results
wt.openResultFile.init:
wt.openResultFile:
wt.countWebtestResults:
BUILD FAILED /opt/CanooWebTest/webtest.xml:344: Can't find result file >/var/www/GDAutoTest/webTests/results/WebTestOverview.xml<
Total time: 12 seconds [1]+ Done kedit /opt/CanooWebTest/webtest.xml
Here the content of my result-Directory:
aman@lathan:/var/www/GDAutoTest/webTests/webtest-results$ ls -1 001_VerifyJobSiteAnd response_1196181860987_invoke.html response_1196181862020_clickButton.html resultfile.xml
Within there is another directory(created by the recent test):
aman@lathan:/var/www/GDAutoTest/webTests/webtest-results$ ls -1 001_VerifyJobSiteAnd/ 001_response_invoke.html 002_response_clickButton.html 003_response_invoke.html 004_response_verifyLinks.html WebTestReport.xml
At least a big step in the right direction; I'm still confused in cause of the missing WebTestOverview.xml
Nevertheless, thanks!
Cheers,
Alexander
Marc Guillemot schrieb:
Hi,
are you really sure to run build 1641? The result directory content you showed doesn't map with this version as now one subfolder is used per <webtest>.
Cheers, Marc.
Alexander Mannsfeld wrote:
Hi Marc,
at the moment I'm using the build from http://webtest.canoo.com/webtest/build.zip on my test-machine(the machine I'm testing the tests on). As stated it should be build R_1641; the "real" testing-machine runs Build R1551 -> reportings works perfectly.
Cheers,
Alexander
Marc Guillemot schrieb:
Hi,
can you first update to the latest build, this would be easier for me to help you and to understand where the problem comes from.
Cheers, Marc.
Alexander Mannsfeld wrote:
Hi Marc,
the results are stored within the directory "./webtest-results"; webTest's output is like following:
INFO (com.canoo.webtest.ant.WebtestTask) - Test report successfully created.
wt.htmlReports.init:
wt.htmlReports:
wt.openResultFile.init:
wt.openResultFile:
wt.full:
BUILD SUCCESSFUL Total time: 6 seconds
The target directories content is this(after wt has finished):
aman@lathan:/var/www/GDAutoTest/webTests$ ls -l webtest-results/
-rw-r--r-- 1 aman aman 79522 2007-11-27 17:44 response_1196181860987_invoke.html -rw-r--r-- 1 aman aman 20157 2007-11-27 17:44 response_1196181862020_clickButton.html -rw-r--r-- 1 aman aman 6124 2007-11-27 17:44 resultfile.xml
The resultfile.xml looks like it, ahem, should look like ;-).
Marc Guillemot schrieb:
Alexander Mannsfeld wrote:
... Nevertheless webTest refuses to create the HTML-report. I'm still very clueless, perhps you've got anohther idea?
where are the results placed (xml and received responses)? How does the output look like on the console when wt.htmlReports gets called?
Alexander Mannsfeld wrote:
How does multiples-targets work when using wt.testInWork? The "real test" looks more like:
<target name="testSuite" depends="GermanPortalLI,GermanPortalLIO,DutchPortalLI, DutchPortalLO,[...]several other targets[...], wt.htmlReports" />
wt.full calls many targets to setup things, then wt.testInWork, then different targets to generate html results, open file, ... You can do what you put all the dependencies you want to wt.testInWork or perhaps better create something like tests/allTests.xml and call it from wt.testInWork.
Marc.
-- Alexander Mannsfeld Quality Assurance
GD GameDuell GmbH Ackerstraße 14/15, 10115 Berlin ( +49 (0)30 288 768 811 + +49 (0)30 288 768 299 alex...@gameduell.de Richtig spielen: www.gameduell.de
---
Firmensitz: Berlin, Deutschland|Handelsregister: Amtsgericht Berlin-Charlottenburg, HRB Nr. 90891|USt-Id-Nr.: DE 813829498, Steuernummer: 37 / 225 / 20926|Verantwortliche Geschäftsführer: Kai Bolik | Michael Kalkowski | Boris Wasmuth
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest
-- Alexander Mannsfeld Quality Assurance
GD GameDuell GmbH Ackerstraße 14/15, 10115 Berlin ( +49 (0)30 288 768 811 + +49 (0)30 288 768 299 alex...@gameduell.de Richtig spielen: www.gameduell.de
---
Firmensitz: Berlin, Deutschland|Handelsregister: Amtsgericht Berlin-Charlottenburg, HRB Nr. 90891|USt-Id-Nr.: DE 813829498, Steuernummer: 37 / 225 / 20926|Verantwortliche Geschäftsführer: Kai Bolik | Michael Kalkowski | Boris Wasmuth
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest
-- Alexander Mannsfeld Quality Assurance
GD GameDuell GmbH Ackerstraße 14/15, 10115 Berlin ( +49 (0)30 288 768 811 + +49 (0)30 288 768 299 alex...@gameduell.de Richtig spielen: www.gameduell.de
---
Firmensitz: Berlin,
Deutschland|Handelsregister: Amtsgericht Berlin-Charlottenburg, HRB Nr.
90891|USt-Id-Nr.: DE 813829498, Steuernummer: 37 / 225 /
20926|Verantwortliche Geschäftsführer: Kai Bolik | Michael Kalkowski | Boris
Wasmuth




