Redis stress testing report
During a Redis stress test, you can view real-time performance data. After the test is complete, Performance Testing Service (PTS) automatically collects data to generate a stress testing report. This topic describes each section of a Redis stress testing report.
Access the report
- PTS console
-
In the left-side navigation pane, choose Performance Testing > Reports.
-
In the Actions column of the target report, click View Report.
NoteOn the report details page, click Export Report in the upper-right corner. You can then select Version with Watermark or Version without Watermark to export the Redis stress testing report as a PDF file.
Sample logs
On the report details page, click View Sample Logs in the upper-right corner. Then, on the View Logs page, click Click to view details in the Actions column to see detailed sample logs. By examining sample logs and call traces during or after a test, you can quickly identify issues.
The log details include the following information:
-
The General tab displays the log fields and their values. The fields include Thread Name, Sample Time (ms), Load Time, Connect Time (ms), Latency, Size (bytes), Bytes, Sent Bytes, Header Size, Body Size, Sample Count, Error Count, Data Type, Response Code, Response Message, Content Type, Data Encoding, URL, and SampleLabel.
-
The Timing waterfall tab displays a timing waterfall chart that shows the time spent on each stage of a request. The chart visualizes the duration of stages, such as DNS Lookup, Connect, SSL Handshake, Send, Wait, and Receive. Each stage is represented by a color-coded horizontal bar, with its duration displayed on the right.
-
The Trace view page shows the call trace details for the tested API and its upstream and downstream services. The view uses a tree structure to illustrate the parent-child relationships of service spans. Each span displays the service name, method name, and duration, and can be expanded for more details.
Scenario information
The first part of the stress testing report displays key business metrics for the entire stress testing scenario.
You can view the following parameters in the Data Information area:
|
Parameter |
Description |
|
Success rate (%) |
The success rate of all requests in the scenario during the statistical period. |
|
Average RT (Success/Failure) |
The average response time (RT) for successful and failed requests during the statistical period. |
|
TPS |
The average number of transactions per second during the test. |
|
Concurrent users |
The number of concurrent users configured for the stress testing scenario. |
|
Errors |
The number of errors that occurred during the test. Click the number to view error log details. |
|
Total requests |
The total number of requests sent during the test. |
You can view the stress, configuration, and billing information for the stress testing scenario in the following sections.
|
Parameter |
Description |
|
Stress details |
|
|
Start time |
The time when the stress test started for this scenario. |
|
End time |
The time when the stress test ended for this scenario. |
|
Test duration |
The total duration of the stress test. |
|
Configuration details |
|
|
Stress source |
The stress source selected in the scenario's stress configuration. |
|
Configured duration |
The test duration set in the scenario's stress configuration. |
|
Traffic model |
The traffic model selected in the scenario's stress configuration. |
|
Number of stress testing engines |
The number of stress testing engines set in the scenario's stress configuration. |
|
Billing |
|
|
Consumed VUMs |
The total amount of resources consumed by the test. |
The stress testing report also provides time-series charts for the scenario's success rate, average RT, and TPS. You can hover over the charts to view the status at specific points in time.
Performance metrics
The Overview tab of the report displays the test results for each test node in the scenario. The columns include Sampler Name, Total Requests, Average TPS, Success Rate, Average Response Time (ms), and Traffic (Sent/Received). The first row shows the aggregate data for the entire scenario, followed by detailed data for each test node.
|
Parameter |
Description |
|
Sampler name |
The name of the entire scenario and each test node. |
|
Total requests |
The total number of requests sent during the test for this node. |
|
Average TPS |
The average number of transactions per second for this node during the test. |
|
Success rate (%) |
The success rate for the test node. The value is color-coded green for success and red for failure.
|
|
Average response time (ms) |
The average response time for this test node during the test. Click Details to view the maximum, minimum, and percentile response times. |
|
Traffic (Sent/Received) |
The amount of data sent and received, respectively. |
Scenario details
The Details > Scenario Details tab shows detailed business metrics for the overall scenario and for each test node, including a Request Details View and a Performance Comparison View.
The performance comparison view is displayed only for tests that do not use a fixed-load model. This view includes charts that show the relationship between the number of threads and throughput, response time (RT), and RT distribution.
Request details
This view includes charts for status code statistics, scenario concurrency, requests (TPS), success rate, response time, and traffic details. For more information about these metrics, see Test metrics. The horizontal axis of each chart represents time, and the vertical axis represents the metric's value, allowing you to observe the trends of each metric throughout the test.
Performance comparison
-
Relationship between the number of threads and response time (RT): Shows how RT changes as the number of threads increases.
-
Relationship between the number of threads and throughput: Shows how the server's throughput changes relative to the number of active threads.
-
Relationship between response time (RT) and request count percentage: Shows the distribution of requests across different RT values.
Stress test logs
On the Details > Stress Test Logs tab, you can view and search for logs. The top of the page provides a time range selector and a keyword search box for filtering logs. Below, logs are displayed in a list with timestamps and content summaries, which can be expanded for full details.
Stressor performance
The Details > Stressor Performance tab displays time-series charts for all stressors used during the test. Metrics include GC counts and duration, CPU utilization, Load5, memory utilization, and network traffic. You can also filter the view to see performance information for a specific stressor.
Stressor information is retained for a maximum of 30 days.