[Webtest] Repeat step: access to count/iterations and elapsed time
Mike B
Mike B <mikebigg@yahoo.com>
Fri, 14 Dec 2007 07:43:16 -0800 (PST)
--0-1774246423-1197646996=:45491
Content-Type: text/plain; charset=us-ascii
All,
Good day. I looked in the docs and didn't see the answer to this question:
At execution time, can I get the number of iterations and elapsed time when using a <repeat> step?
Example:
<repeat count="80">
.... some actions
</repeat>
<echo message="Count: ${count} in ${time}"/>
I would like to access this information at execution time so that I can provide visual feedback and command flow branching based on results.
Mike
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
--0-1774246423-1197646996=:45491
Content-Type: text/html; charset=us-ascii
<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:10pt"><span style="font-family: arial,helvetica,sans-serif;">All,</span><br style="font-family: arial,helvetica,sans-serif;"><br>Good day. <span style="font-family: arial,helvetica,sans-serif;">I looked in the docs and didn't see the answer to this question:</span><br style="font-family: arial,helvetica,sans-serif;"><br style="font-family: arial,helvetica,sans-serif;"><span style="font-family: arial,helvetica,sans-serif;">At execution time, can I get the number of iterations and elapsed time when using a </span><span style="font-weight: bold; font-family: arial,helvetica,sans-serif;"><repeat> </span><span style="font-family: arial,helvetica,sans-serif;">step?</span><br><br>Example:<br><br><div style="margin-left: 40px;"><span style="font-weight: bold;"><repeat count="80"></span><br
style="font-weight: bold;"><span style="font-weight: bold;">.... some actions</span><br style="font-weight: bold;"><span style="font-weight: bold;"></repeat></span><br style="font-weight: bold;"><span style="font-weight: bold;"><echo message="Count: ${count} in ${time}"/></span><br><span style="font-weight: bold;"></span></div><span style="font-weight: bold;"><span style="font-family: arial,helvetica,sans-serif;"><br></span></span><span style="font-family: arial,helvetica,sans-serif;">I would like to access this information at execution time so that I can provide visual feedback and command flow branching based on results.</span><span style="font-weight: bold;"><span style="font-family: arial,helvetica,sans-serif;"><br><br></span></span><span style="font-family: arial,helvetica,sans-serif;">Mike</span><span style="font-weight: bold;"><span style="font-family: arial,helvetica,sans-serif;"><br></span></span></div><br>
<hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a></body></html>
--0-1774246423-1197646996=:45491--