1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.soapui.model.testsuite;
14
15 /***
16 * Runner for loadtests
17 *
18 * @author Ole.Matzura
19 */
20
21 public interface LoadTestRunner extends TestRunner
22 {
23 /***
24 * Gets the number of threads currently running
25 */
26
27 public int getRunningThreadCount();
28
29 public LoadTest getLoadTest();
30
31 /***
32 * Returns the progress of the loadtest as a value between 0 and 1. Progress
33 * is measured depending on the LoadTest limit configuration
34 */
35
36 public float getProgress();
37
38 /***
39 * Confusing but unfortunately necessary; isStopped will return false until the loadtest has
40 * called all handlers, etc.. the status will be set to FINISHED before that.
41 *
42 * @return
43 */
44
45 public boolean hasStopped();
46 }