12 messages in com.canoo.lists.webtestRe: [Webtest] accesing StepResults in...| From | Sent On | Attachments |
|---|---|---|
| Stefan Majer | 26 Nov 2007 03:22 | |
| Marc Guillemot | 26 Nov 2007 04:41 | |
| Florent Blondeau | 26 Nov 2007 05:36 | |
| Stefan Majer | 26 Nov 2007 11:01 | |
| Florent Blondeau | 27 Nov 2007 03:10 | |
| Stefan Majer | 27 Nov 2007 10:41 | |
| Florent Blondeau | 28 Nov 2007 02:04 | |
| Marc Guillemot | 28 Nov 2007 02:42 | |
| Stefan Majer | 29 Nov 2007 08:37 | |
| Marc Guillemot | 29 Nov 2007 10:56 | |
| Stefan Majer | 20 Dec 2007 10:54 | |
| Marc Guillemot | 28 Dec 2007 00:17 |
| Subject: | Re: [Webtest] accesing StepResults in a Groovy WebTest![]() |
|---|---|
| From: | Marc Guillemot (mgui...@yahoo.fr) |
| Date: | 12/28/2007 12:17:39 AM |
| List: | com.canoo.lists.webtest |
Hi Stefan,
-duration
duration of step execution is available in report, once the test is finished. If you're interested by the duration of the http transfer alone, you should register a custom WebConnection.
-http-error-code
Error codes causes steps to fail (unless configured not to do so). To get precise information, a custom WebConnection is the right way.
-error-response
what do you mean?
-size of transfered html
you can check the size of the saved responses... or use a custom WebConnection here too.
Cheers, Marc. -- Blog: http://mguillem.wordpress.com
Stefan Majer wrote:
Hi Marc,
sorry for the delay, but 1 week after my last response i got a delivery error message because our mailserver went black :-)
So i would like to have access to these information but it would be ok if i can access them after the whole run.
Greetings
Stefan On Thu, 2007-11-29 at 19:56 +0100, Marc Guillemot wrote:
Hallo Stefan,
are you looking for this kind of information during test execution or first when the webtest is finished?
Cheers, Marc.
Stefan Majer wrote:
Hi Marc,
we have a kind of monitoring application which periodically checks different things like snmp devices, legacy applications and so on. It also measures webapplikations but in a very unflexible way. What i actually try is to to webtesting with webtest. But therefore i have to be able to store the informations generated during a webtest run in the database (not directly of course, this is done by a ejb layer). I would prefer to write these tests in groovy because this is in my opinion more flexible than the ant task way and is way easier to embed into our applikation. I love how to write webapplication tests with webtest, but its a bit hard to get informations like: -duration -http-error-code -error-response -size of transfered html
and so on. Im sure its possible, probably i didnt find the right way. Mayby its possible to write my own reportlistener but i didnt know.
So if you can give me some starting points would be great.
Greetings
Stefan
On Wed, 2007-11-28 at 02:42 -0800, Marc Guillemot wrote:
Hi Stephan,
I have to ask the question again: what do you want to achieve?
If I know that I can probably help otherwise I fear that you start to rely on WebTest internal that are not easy to use for your purpose and that may change over the time.
Cheers, Marc.
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________ WebTest mailing list WebT...@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest




