Loop instructions allow you to call APIs or run instructions for a specific number of times to simulate real business traffic. For example, you can enable loop logon and loop browsing. This topic describes how to add a loop instruction.
Procedure
Log on to the PTS console, choose , and then click PTS.
Configure the basic request parameters of an HTTP API. For more information, see Basic request parameters.
In the Business Session section, click the Add Instruction drop-down list and select Loop.
Expand Loop and configure the Number of Loops parameter.
All actions involved between the Loop Starts and Loop Ends process are cyclically executed based on the value of the Number of Loops parameter. Valid values: 0 to 10. You can go to the next API only after the loop on the current API is closed.
Configure other APIs based on your business requirements.