Help Center/ CodeArts PerfTest/ FAQs/ Pressure Test Project Management/ How Do I Check If the Global Variable Values Are Read Sequentially in a Test Task?
Updated on 2024-10-21 GMT+08:00

How Do I Check If the Global Variable Values Are Read Sequentially in a Test Task?

Perform the following steps:

  1. Create a global variable. It is recommended that the number of its values be no more than 10 (for example, 6, 5, 4, 3, 2, and 1) for quick testing.
  2. Create a case, reference the global variable configured in 1 in the body of the case packet, set Execution Policy to Count, set the number of concurrent users to 1, and set the number of transmissions to 10. Then start the test task.
  3. On the Detail tab page of the performance report, click Log View. In the displayed dialog box, click View in the Operation column. Check whether the values of global variables in the request body in the request log are in the configured sequence.

    When reading proceeds to the last value, it will start from the first value again.