All Products
Search
Document Center

Performance Testing:Add a loop instruction

Last Updated:Mar 11, 2026

Loop instructions repeat a set of API calls a specified number of times within a test scenario, simulating repetitive user behavior such as repeated logon attempts or page browsing.

Prerequisites

Before you begin, make sure that you have:

Procedure

  1. Log on to the PTS console, choose Performance Test > Create Scenario, and then click PTS.

  2. In the Business Session section, click the Add Instruction drop-down list and select Loop.

  3. Expand Loop and set the Number of Loops parameter. Valid values: 0 to 10. All actions between the Loop Starts and Loop Ends markers run cyclically based on the Number of Loops value. The current loop must complete before the next API in the sequence runs.

    Loop instruction configuration

  4. Configure additional APIs as needed for your test scenario.