Performance Testing Service (PTS) allows you to quickly start a stress test on the Overview page. This topic describes how to quickly start a PTS-based stress test to help you possess the basic knowledge about PTS.
Prerequisites
PTS is activated. For more information, see Activate PTS.
Overview
To quickly start a stress test, you can perform the following operations:
Configure a stress testing URL and the related parameters. For more information, see Configure a stress testing URL and the related parameters.
Debug the API. For more information, see Debug the API.
Start the stress test. For more information, see Start the stress test.
View real-time stress testing data. For more information, see View real-time stress testing data.
1. Configure a stress testing URL and the related parameters
Log on to the PTS console.
On the Overview page, configure the basic information and the related parameters.
In the GET drop-down list, select a request method and enter a stress testing URL in the text box.
ImportantThe stress testing URL must be a complete URL that starts with
http://
orhttps://
. The URL can contain parameters, such ashttp://<Domain name>/<Path? key1=value1&key2=value2>
. The URL can be accessed over the Internet. Internal endpoints are not supported.Optional. Configure parameters on the tabs such as Request Parameter, Header, Body, and Output Parameters. For more information, see HTTP nodes.
2. Debug the API
Click Send to debug the API and confirm that the API request is successful.
3. Start the stress test
Click Test. In the dialog box that appears, configure the Test Duration and Request per Second (RPS) parameters and click Start.
4. View real-time stress testing data
After you start the stress test, you are navigated to the Executing Test page on which you can view the real-time stress testing data.
Analyze the stress testing results
After the stress test is complete, the system automatically obtains the stress testing data, such as the stress testing scenario metrics, business details, monitoring details, and API sampling logs, and generates a stress testing report. For more information, see View PTS stress testing reports.