The utils module contains number of small utility functions useful in every day load testing.
|Random integer in a given range
|Random item from a given array
|Random string of a given length, optionally selected from a custom character set
|Random UUID v4 in a string representation
|findBetween(content, left, right, [repeat])
|Extract a string between two surrounding strings
|normalDistributionStages(maxVUs, durationSeconds, [numberOfStages])
|Creates stages which will produce a normal distribution (bell-curve) of VUs for a test
|Get the index of the running stage as defined in the stages array options. It can be used only with the executors that support the stages option as ramping-vus or ramping-arrival-rate.
|Tag all the generated metrics in the iteration with the index of the current running stage.
|Tag all the generated metrics in the iteration with the computed profile for the current running stage.