Skip to content
kgribov edited this page Mar 13, 2013 · 2 revisions

Termination

Termination describes how long load will be executed. Termination can be configured by element termination. Thera are some types of termination -

  • termination-duration Use this termination, when you would like to execute your load within a certain time.
     <termination-duration duration="2h"/>
  • termination-iterations This termination strategy is helpful, when you would like to execute an exact number of iterations. Attribute 'iterations' say how much iterations you would like to execute. With attribute 'maxDuration' you can configure maximum execution time of test. By default it equals 2 hours.
     <termination-iterations iterations="10000" maxDuration="10m"/>
  • termination-background Test with such termination strategy will wait another tests in test-group to be stopped.
     <termination-background/>

Example -

     <test id="jaggerPage" testDescription="jaggerPageTest">
          <load xsi:type="load-tps" value="100" maxThreadNumber="1000"/>
          <termination xsi:type="termination-iterations" iterations="1000" maxDuration="10h"/>
     </test>

Clone this wiki locally