tencent cloud

Performance Testing Service

Overview
Purchase Guide
Billing Overview
Pay-as-You-Go (postpaid)
Purchasing Channels
Payment Overdue
Refund Instructions
Quick Start
Operation Guide
Performance Testing in Simple Mode
Performance Testing in Script Mode
Performance Testing in JMeter Mode
Project Management
Scenario Management
Traffic Recording
Environment Management
Scheduled Performance Testing
Performance Testing Report
Access Control
Alarm Management
Tag Management
Error Code Manual
Practice Tutorial
Using Prometheus To Monitor Performance Testing Metrics
Using PTS to Playback Requests Recorded by GoReplay
API Documentation
History
Introduction
API Category
Making API Requests
PTS-related APIs
Data Types
Error Codes
JavaScript API List
Overview of JavaScript API List
pts/global
pts/http
pts
pts/dataset
pts/grpc
pts/jsonpath
pts/protobuf
pts/redis
pts/sql
pts/url
pts/util
pts/ws
pts/socketio
pts/socket
FAQs
Related Agreements
Service Level Agreement
Use Limits
Privacy Policy
Data Processing And Security Agreement

Module Overview

PDF
Focus Mode
Font Size
Last updated: 2025-03-10 17:04:50
The pts module in the JavaScript API implements basic features for testing.

Methodology

Methodology
Return Type
Description
boolean
Perform further checks on the results returned by the request; if a failure is returned, it indicates that the current check has not passed.
void
Suspend the execution for a specified duration.
void
Divide the performance testing scenario into different steps, and achieve step differentiation in the final performance testing report.
Return the metadata of the performance testing task.

Object

Object
Description
An Object that contains the metadata of the performance testing task, which is returned when the pts.metadata() method is called.


Help and Support

Was this page helpful?

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

Feedback