Skip to content

Test suite

kgribov edited this page Mar 13, 2013 · 9 revisions

Test-suite

Test-suite is a jagger component that describes how long and how often targets will be under load. It contains a list of test-group components. Test-groups will be executed in order, that you have. For example-

<test-suite>
     <test-group id="myFirstSearchTest">
          <test id="jaggerPage" testDescription="jaggerPageTest">
               <load xsi:type="load-tps" value="100" maxThreadNumber="1000"/>
               <termination xsi:type="termination-iterations" iterations="1000" maxDuration="2h"/>
          </test>
     </test-group>
     <test-group id="mySecondSearchTest">
          <test id="googlePage" testDescription="googlePageTest">
               <load xsi:type="load-threads" count="1"/>
               <termination xsi:type="termination-background" />
          </test>
     </test-group>
</test-suite>

myFirstSearchTest will run the first and mySecondSearchTest the second.

Every test-group contains a list of test components. Tests will be executed in parallel mode.

<test-suite>
     <test-group id="myFirstSearchTest">
          <test id="jaggerPage" testDescription="jaggerPageTest">
               <load xsi:type="load-tps" value="100" maxThreadNumber="1000"/>
               <termination xsi:type="termination-iterations" iterations="1000" maxDuration="2h"/>
          </test>
          <test id="googlePage" testDescription="googlePageTest">
               <load xsi:type="load-threads" count="1"/>
               <termination xsi:type="termination-background" />
          </test>
     </test-group>
</test-suite>

jaggerPage and googlePage will run parallel.

!Note - don't forget to set id attribute for all test-group and test components. It is necessary to create correct report.

Clone this wiki locally