Jagger
 All Classes Namespaces Files Functions Variables Groups Pages
Public Member Functions | Protected Member Functions | List of all members
com.griddynamics.jagger.engine.e1.collector.CollectThreadsTestListener Class Reference

Listener, executed periodically during test to collect number of workload threads. More...

Inheritance diagram for com.griddynamics.jagger.engine.e1.collector.CollectThreadsTestListener:
Inheritance graph
[legend]

Public Member Functions

TestListener provide ()
 Method is providing listener to Jagger that will trigger listener methods during test run. More...
 
- Public Member Functions inherited from com.griddynamics.jagger.engine.e1.services.ServicesAware
DataService getDataService ()
 Gives access to DataService. More...
 
final void initServices (String sessionId, String taskId, NodeContext context, JaggerPlace environment)
 

Protected Member Functions

void init ()
 Method is executed single time when listener is created. More...
 
- Protected Member Functions inherited from com.griddynamics.jagger.engine.e1.services.ServicesAware
MetricService getMetricService ()
 Gives access to MetricService. More...
 
SessionInfoService getSessionInfoService ()
 Gives access to SessionInfoService. More...
 
void init ()
 User action, that will be executed before at least one object will be provided. More...
 

Detailed Description

Listener, executed periodically during test to collect number of workload threads.

Author
Gribov Kirill
Details:

This listener allows to collect and store information about workload produced by Jagger
When listener is used it saves number of Jagger threads that produce workload for SUT. Later this data
is available in report and WebUI.

Usage example in XML:
To use this listener add listeners-test of type listener-test-threads to test block in your configuration XML file
<!-- begin: following section is used for docu generation - test listener usage -->
<test id="t_jaggerPage" testDescription="td_jaggerPageTest">
<load xsi:type="load-tps" value="100" maxThreadNumber="1000"/>
<termination xsi:type="termination-iterations" iterations="1000" maxDuration="2m"/>
<!-- Test listeners will be executed on test start, stop and periodically during test run -->
<listeners-test>
<!-- Jagger implemented test listener to measure workload -->
<listener-test xsi:type="listener-test-threads"/>
<!-- Custom test listener -->
<listener-test xsi:type="listener-test-ref" ref="listenerTest"/>
</listeners-test>
</test>
<!-- end: following section is used for docu generation - test listener usage -->


The documentation for this class was generated from the following file: