What Are the Differences Between Think Time and Duration in CodeArtsPerfTest?
There are two time-related concepts in CodeArtsPerfTest:
- Think time (ms): waiting period between two consecutive operations performed by a user.
- Duration (min): time spent executing a test task.
The think time does not affect the total duration of concurrency. It only affects the number of concurrent requests. The following example explains this in detail.
The think time is set to 1000 ms, the duration is set to 10 min, and the number of concurrent users is set to 10. The formula for calculating the number of concurrent requests is: Duration x Number of concurrent users/Think time. The result is 6000 (600s x 10/1s). The total duration of the concurrency for this task is 10 min, and 6000 query requests are sent to the server.
In some cases, the test result shows that the number of concurrent requests is smaller than 6000. The reason is that if a message is not immediately responded to, the system waits 0.1s for response.
Pressure Test Project Management FAQs
- What Are the Differences Between Think Time and Duration in CodeArtsPerfTest?
- What Is the Number of Concurrent Users?
- How Do I Fill in Packets?
- Why Does Transaction Debugging Frequently Fail?
- Which Headers Are Mandatory in an HTTP-based Packet Request?
- Why Is the CPU Usage of the Execution Node Used for the Pressure Test Constantly High?
- What Are the Differences Between Global Variables and Variables Extracted from Responses?
- What Is the Impact of the Bandwidth Applied for CodeArtsPerfTest on the Test?
- How Do I Perform Concurrent Tests?
- What Are the Differences Between a JMeter Test Project and a PerfTest Project?
- How Do I Check If the Global Variable Values Are Read Sequentially in a Test Task?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore