tencent cloud

Tencent Cloud Observability Platform

Release Notes and Announcements
Release Notes
Product Introduction
Overview
Strengths
Basic Features
Basic Concepts
Use Cases
Use Limits
Purchase Guide
Tencent Cloud Product Monitoring
Application Performance Management
Mobile App Performance Monitoring
Real User Monitoring
Cloud Automated Testing
Prometheus Monitoring
Grafana
EventBridge
PTS
Quick Start
Monitoring Overview
Instance Group
Tencent Cloud Product Monitoring
Application Performance Management
Real User Monitoring
Cloud Automated Testing
Performance Testing Service
Prometheus Getting Started
Grafana
Dashboard Creation
EventBridge
Alarm Service
Cloud Product Monitoring
Tencent Cloud Service Metrics
Operation Guide
CVM Agents
Cloud Product Monitoring Integration with Grafana
Troubleshooting
Practical Tutorial
Application Performance Management
Product Introduction
Access Guide
Operation Guide
Practical Tutorial
Parameter Information
FAQs
Mobile App Performance Monitoring
Overview
Operation Guide
Access Guide
Practical Tutorial
Tencent Cloud Real User Monitoring
Product Introduction
Operation Guide
Connection Guide
FAQs
Cloud Automated Testing
Product Introduction
Operation Guide
FAQs
Performance Testing Service
Overview
Operation Guide
Practice Tutorial
JavaScript API List
FAQs
Prometheus Monitoring
Product Introduction
Access Guide
Operation Guide
Practical Tutorial
Terraform
FAQs
Grafana
Product Introduction
Operation Guide
Guide on Grafana Common Features
FAQs
Dashboard
Overview
Operation Guide
Alarm Management
Console Operation Guide
Troubleshooting
FAQs
EventBridge
Product Introduction
Operation Guide
Practical Tutorial
FAQs
Report Management
FAQs
General
Alarm Service
Concepts
Monitoring Charts
CVM Agents
Dynamic Alarm Threshold
CM Connection to Grafana
Documentation Guide
Related Agreements
Application Performance Management Service Level Agreement
APM Privacy Policy
APM Data Processing And Security Agreement
RUM Service Level Agreement
Mobile Performance Monitoring Service Level Agreement
Cloud Automated Testing Service Level Agreement
Prometheus Service Level Agreement
TCMG Service Level Agreements
PTS Service Level Agreement
PTS Use Limits
Cloud Monitor Service Level Agreement
API Documentation
History
Introduction
API Category
Making API Requests
Monitoring Data Query APIs
Alarm APIs
Legacy Alert APIs
Notification Template APIs
TMP APIs
Grafana Service APIs
Event Center APIs
TencentCloud Managed Service for Prometheus APIs
Monitoring APIs
Data Types
Error Codes
Glossary

Debugging Scenarios

PDF
Focus Mode
Font Size
Last updated: 2025-03-10 22:20:39
After creating the scenario and before the formal stress test, you can use the debug mode to quickly verify your scenario, troubleshoot and fix errors, so as to ensure that your scenario meets expectations during the formal stress test.

Operation Steps

1. Log in to the TCOP console.
2. In the left sidebar, click PTS > Test Scenario.
3. Click Create New Scenario, select the testing scenario mode, fill in the basic information on the new testing scenario page, and then click Debug to enter debug mode.



4. On the popped-up web debugging page, you can view all the sampling logs, engine logs, and script information of requests, and use the debugging tool to debug and analyze your request data.



On the sampling log page, you can click on the request list on the left to view specific information and the time-consuming waterfall of a certain request and its response; you can also click on the debugging tool tab, enter a JSON Path expression or regular expression, and extract the required data from the response results.
An example of extracting data using JSON Path is as follows:



An example of extracting data using regular expressions is as follows:



On the engine log page, you can select the log level and log source to view the logs output by the engine:


On the script information page, you can browse the snapshot of the scenario script used at the time of this stress test:



5. To exit debug mode, click the "Off" icon in the upper right corner to return to the scenario page.




Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback