| Package | Description |
|---|---|
| us.abstracta.jmeter.javadsl | |
| us.abstracta.jmeter.javadsl.core.threadgroups |
| Modifier and Type | Method and Description |
|---|---|
static RpsThreadGroup |
JmeterDsl.rpsThreadGroup()
Builds a thread group that dynamically adapts thread count and pauses to match a given RPS.
|
static RpsThreadGroup |
JmeterDsl.rpsThreadGroup(String name)
Same as
JmeterDsl.rpsThreadGroup() but allowing to set a name on the thread group. |
| Modifier and Type | Method and Description |
|---|---|
RpsThreadGroup |
RpsThreadGroup.counting(RpsThreadGroup.EventType counting)
Specifies to either control requests or iterations per second.
|
RpsThreadGroup |
RpsThreadGroup.holdFor(Duration duration)
Specifies to keep current RPS for a given duration.
|
RpsThreadGroup |
RpsThreadGroup.initThreads(int initThreads)
Specifies the initial number of threads to use.
|
RpsThreadGroup |
RpsThreadGroup.maxThreads(int maxThreads)
Specifies the maximum number of threads to use.
|
RpsThreadGroup |
RpsThreadGroup.rampTo(double rps,
Duration duration)
Allows ramping up or down RPS with a given duration.
|
RpsThreadGroup |
RpsThreadGroup.rampToAndHold(double rps,
Duration rampDuration,
Duration holdDuration)
Simply combines
rampTo(double, Duration) and holdFor(Duration) which are
usually used in combination. |
RpsThreadGroup |
RpsThreadGroup.spareThreads(double spareThreads)
Specifies the number of spare (not used) threads to keep in the thread group.
|
Copyright © 2023. All rights reserved.