Sampling logs capture the request details, response details, and timing breakdown for each sampled API call during a stress test. Use them to pinpoint slow requests, identify failed assertions, and trace errors through the full request-response data and timing waterfall.
Sampling rate and retention
Property | Value |
Sampling rate | 1% of all requests |
Retention period | 30 days |
Prerequisites
Before you begin, make sure that you have:
An initiated stress test. For more information, see Quick start of PTS-based stress testing or Quick start of JMeter-based stress testing
Procedure
View sampling logs in a PTS scenario
On the page for an ongoing stress test or on the Report Details page, click the Request Sampling Log tab.
Set the search filters and click Search.
Filter
Description
API
Select the API to inspect
Request/Business Status
Filter by request outcome. If the checkpoints (assertions) are passed, the request is successful. If the checkpoints (assertions) are not passed, the request fails
RT Range
Set the Min RT and Max PT fields to filter by response time range
Status Code
Filter by HTTP status code, such as
200or302Find the target log entry in the search results and click View Details in the Actions column.
In the Log Details dialog box, review the request and response data:
On the General tab: Displays the request and response headers and bodies.

On the Timing Waterfall tab: Breaks down the time each phase of the request lifecycle consumed.
Phase
What it measures
DNS
Time to resolve the domain name through Domain Name System (DNS)
ConnectTime
Time to establish a TCP connection to the server
Request Sent
Time to transmit the request over the network
Waiting(TTFB)
Time between sending the request and receiving the first byte of the response, including network round-trip latency and server processing time
Content Download
Time to download the response body
NoteHover over the waterfall chart to view the exact values for DNS, ConnectTime, Request Sent, and Waiting.
The timing waterfall records durations for the core request lifecycle phases only. It does not cover every phase of the complete request processing pipeline.
View sampling logs in a JMeter scenario
On the page for an ongoing stress test or on the Report Details page, click the Request Sampling Log tab.
Set the search filters and click Search.
Filter
Description
Sampler
Select the API to inspect. Only one API can be selected at a time
Response Status
Filter by multiple status values, including request status (failed) and business status (failed or successful). Business status is available only for stress testing scenarios with assertions configured
Time Range
Specify the time window for the logs. Minimum unit: seconds
RT Range
Set the Min RT and Max PT fields to filter by response time range
Status Code
Filter by HTTP status code, such as
200or302.NoteHistorical logs generated before August 14, 2020 cannot be queried by status code.
Find the target log entry in the search results and click Click to view details in the Actions column.
Use the sampling logs and call chain information to quickly identify issues.
Review the log details:
General tab: Displays the sampling log fields and their values.

Timing Waterfall tab: Breaks down the time each phase of the request lifecycle consumed.
Phase
What it measures
DNS Lookup
Time to resolve the domain name through DNS
Get Connected
Time to establish a TCP connection to the server
Request Sent
Time to transmit the request over the network
Waiting(TTFB)
Time between sending the request and receiving the first byte of the response, including network round-trip latency and server processing time
Content Download
Time to download the response body
NoteThe timing waterfall records durations for the core request lifecycle phases only. It does not cover every phase of the complete request processing pipeline.