View TCP stress test report

Updated at:

During a TCP stress test, you can view real-time performance data. After the test completes, the system automatically collects data from the test and generates a stress testing report. This topic describes the sections of a TCP stress testing report.

Access the stress test report

  1. Log on to the PTS console. In the navigation pane on the left, choose performance testing > report list.

  2. In the Actions column for the target report, click View Report.

    Note

    On the report details page, click Export Report in the upper-right corner. You can then select the Watermarked Version or Unwatermarked Version to export the report as a PDF.

View sample logs

On the report details page, click View Sample Logs in the upper-right corner. On the View Logs page, find the desired log and click Click to view details in the Actions column to see its details. Viewing sample logs during or after a test helps you quickly identify and troubleshoot issues.

Log details include:

  • The General tab displays the log fields and values of the sample log. In the upper-right corner, you can switch between the General and HTTP views. Log fields include samplerData, requestHeaders, responseHeaders, responseDataAsString, dataEncoding, responseMessage, startTime, endTime, and assertionResults.

  • The Timing waterfall tab shows the time each API took. It displays the time distribution of ConnectTime and Request/Response Transfer Time, and lists the URL, start time, and total duration for each API.

View stress test scenario information

The first section of the stress testing report shows key business metrics for the entire stress testing scenario. It contains three main components: the Data Information area at the top, which displays core metrics and a link to traffic region distribution; a right-side panel for stress information, configuration information, and billing information; and time-series charts at the bottom that show the success rate, RT, and TPS.

The Data Information area contains the following parameters:

Parameter

Description

Request success rate (%)

The overall request success rate for the scenario.

Average RT

The average RT for all requests (successful and failed).

TPS

The total number of requests divided by the test duration.

Concurrency

The configured concurrency for the scenario.

Errors

The number of errors that occurred during the test. Click the number to view detailed error logs.

Total requests

The total number of requests sent for the entire scenario.

The right side of the page shows the stress, configuration, and billing information.

Parameter

Description

Stress

Start Time

The start time of the stress test.

End Time

The end time of the stress test.

Stress Test Duration

The total duration of the stress test.

Configuration

Stress source

The stress source selected in the scenario's stress configuration to initiate the test.

Configured Duration

The stress test duration set in the scenario stress configuration.

Traffic model

The traffic model selected in the scenario stress configuration.

Number of specified IPs

The number of IP addresses configured to generate load.

Billing

VUM consumed

The total resources consumed by this stress test.

The bottom area of the page displays time-series charts for the request success rate, average RT, and TPS of the stress testing scenario. You can hover over a chart to view metrics for a specific point in time.

View business metrics

The Overview tab of the stress testing report shows the results for each test node in the scenario. You can switch to the Details tab at the top of the page. You can also view Operation Records in the upper-right corner. The Business Metrics section presents detailed data for the entire scenario and for each test node in a table.

Parameter

Description

Sampler name

The name of the overall scenario and each test node.

Total requests

The total number of requests sent during the stress test for this scenario.

Average TPS

The average TPS during the test. For a test node, this is calculated as: Total requests / Stress test duration.

Success rate

The success rate during the stress test. The green number indicates successes, and the red number indicates failures.

  • Click the success or failure count to quickly view the corresponding logs.

  • Click Details to view the number of failed requests caused by 2XX, 3XX, 4XX, 5XX, or other errors. Click the number under Other Errors to view a statistical summary of the errors, including their rank, message, count, and percentage (%).

Average response time (ms)

The average response time during the stress test. Click Details to view the maximum, minimum, and percentile response times.

Traffic (sent/received)

The amount of traffic sent and received, respectively.

View scenario details

The Details > Scenario Details tab shows business details for the entire scenario and each test node, including a Request Details View and a Performance Comparison View.

Note

The Performance Comparison View, which shows the relationships between thread count, throughput rate, and response time (RT), is available only for tests with variable concurrency.

Request details view

This view includes a status code distribution chart, a scenario concurrency chart, and detailed charts for requests (TPS), success rate, response time, and traffic. For more information about these metrics, see Test Metrics. Use the time range slider at the top of the page to adjust the time interval. You can switch between the Request Details View and the Performance Comparison View in the upper-right corner. The status code distribution chart categorizes results into 2XX, 3XX, 4XX, 5XX, and Other Errors.

Performance comparison view

  • Active threads vs. Response time (ms): Shows how RT changes as the number of active threads changes. As more users access the server simultaneously, the server's response time may increase.

  • Active threads vs. Throughput rate (/s): Shows the server's total response throughput rate versus the number of active threads. It indicates the maximum possible throughput for a given number of concurrent users.

  • Response time (ms) vs. Request count percentage (%): Shows the distribution of requests by response time.

View stress test logs

On the Details > Stress Test Logs tab of the stress testing report, you can view and search logs.

View stress agent performance

The Details > Stress Agent Performance tab displays time-series charts for all stress agents used during the test. These charts show garbage collection (GC) counts and duration, CPU utilization, load 5, memory utilization, and network traffic. You can also filter the view by a specific stress agent.

Note

Stress agent information is retained for up to 30 days.