All Products
Search
Document Center

Performance Testing:Start a stress test within one minute

Last Updated:Nov 01, 2024

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:

1. Configure a stress testing URL and the related parameters

  1. Log on to the PTS console.

  2. On the Overview page, configure the basic information and the related parameters.

    1. In the GET drop-down list, select a request method and enter a stress testing URL in the text box.

      Important

      The stress testing URL must be a complete URL that starts with http:// or https://. The URL can contain parameters, such as http://<Domain name>/<Path? key1=value1&key2=value2>. The URL can be accessed over the Internet. Internal endpoints are not supported.

    2. Optional. Configure parameters on the tabs such as Request Parameter, Header, Body, and Output Parameters. For more information, see HTTP nodes.

      image

2. Debug the API

Click Send to debug the API and confirm that the API request is successful. image

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. image

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. image

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.