Skip to content

Commit 24043c1

Browse files
added additional description
1 parent e3a4682 commit 24043c1

File tree

1 file changed

+8
-5
lines changed
  • jmeter-java-dsl/src/main/java/us/abstracta/jmeter/javadsl

1 file changed

+8
-5
lines changed

jmeter-java-dsl/src/main/java/us/abstracta/jmeter/javadsl/JmeterDsl.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -624,15 +624,18 @@ public static DslOnceOnlyController onceOnlyController(ThreadGroupChild... child
624624
return new DslOnceOnlyController(Arrays.asList(children));
625625
}
626626
/**
627-
* Builds a Runtime Controller that allows running a part of a test plan for a specified
628-
* number of seconds on each iteration of a thread group.
629-
*
627+
* Builds a Runtime Controller that allows it's child elements to be executed for a defined amount of time (seconds)
628+
* per thread group iteration.
629+
* This can be very useful in tailoring a test plan to more accurately the actual behavior of users in a system or
630+
* perhaps control the execution of a set of samplers for a period of time followed by a request to refresh an auth token.
631+
* When the defined execution time of the controller is reached, the runtime controller will stop execution and the next part of the
632+
* test plan will be executed
630633
*@param seconds defines the number of seconds the runtime controller should be executed on
631-
* each iteration.
634+
* each iteration. Can be a variable expression or a fixed value.
632635
* @param children contains the test plan elements to execute only one time on first iteration of
633636
* each thread group.
634637
* @return the controller instance for further configuration and usage.
635-
* @see DslOnceOnlyController
638+
* @see DslRuntimeController
636639
*/
637640

638641
public static DslRuntimeController runtimeController(String seconds,

0 commit comments

Comments
 (0)