Jagger
 All Classes Namespaces Files Functions Variables Groups Pages
Collectors main page
General info
Collectors calculate information based on invocation response and validate result of invocation.
Collectors are executed after every invoke during test run. Test run sequence you can find here: Test execution sequence
Example of collectors setup in XML:
Following XML code should be included in test-description section
Order of collectors execution is the same as order of their declaration in XML
If test-description has parent, collectors from parent will be executed first
<!-- begin: following section is used for docu generation - metric calculator usage-->
<info-collectors id="defaultCollectors">
<validator xsi:type="validator-not-null-response"/>
<validator xsi:type="validator-consistency"/>
<metric id="responseSize" xsi:type="metric-custom" calculator="responseSize" plotData="true"/>
<metric xsi:type="metric-ref" ref="successRateCollector" plotData="true"/>
</info-collectors>
<!-- end: following section is used for docu generation - metric calculator usage-->
Info collector XML elements
metricAbstract - what metrics can be used in information collector XML element. See 'Sub Types' section of man page
validatorAbstract - what validators can be used in information collector XML element. See 'Sub Types' section of man page
How metrics and validators mentioned above are implemented you can see in section: Implementations of collectors
What is the difference between metrics, validators, collectors you can see in section: Custom collectors

Collectors execution sequence

Click on diagram components to learn more about every component

dot_jagger_collectors.png
Simplified Collectors execution sequence