Event
This tag is used to throw events in a DTF test case, and allows
you to measure the amount of time or the number of times a
certain block of your test case is executed over the course of
the test case. This is useful for measuring the performance of
a certain part of the test case and it will automatically allow
you to have event information for calculating what the maximum,
minimum or averages of a certain operation are.
There are already some events thrown within the DTF code itself
for testing of the actual framework. These events are usually
prefixed by the prefix, which makes it simple to filter
out of the other tests being executed.
Children Tags
(){0,*}
Optional Attributes
name
Identifies the name of the the event to be thrown here in
the test case.
id
Unique ID by which this XML tag will be known to all other
elements that which to reference it through the refid
attribute.
refid
Reference ID should reference an existing element with an
ID set to this same value, otherwise an exception will be
thrown.
Usage Examples
Example #1
<event name="dtf.echo">
<echo>This block of actions is being measured by a a counter</echo>
<property name="iteration" value="${index}" />
</event>