Halaman ini belum tersedia dalam bahasa lokal Anda. Kami berusaha keras untuk menambahkan lebih banyak versi bahasa. Terima kasih atas dukungan Anda.
- What's New
- Function Overview
- Service Overview
- Billing
- Getting Started
-
User Guide
- CodeArts PerfTest Use Process
- Permissions Management
- Test Resource Management
- PerfTest Project Management
-
PerfTest Case Management
- Test Case Description
- Directory Management of Test Cases
- Creating a Test Case
-
Configuring a Test Case (High-Performance Test Projects)
- Filling in Case Details
- Configuring a Case Script
- Adding Request Information (Packet)
- Adding Request Information (Think Time)
- Adding Request Information (Response Extraction)
- Adding Request Information (Checkpoint)
- Adding a Data Instruction, Cycle Controller, Condition Judgment, or Rendezvous Point
- Adding Concurrency Weight Controllers and Throughput Controllers
- Pressure Configuration
- Advanced Configuration
- SLA Configuration
- Configuring a Test Case (Scalable Test Projects)
- Setting Global Variables (High-Performance Test Projects)
- Setting Global Variables (Scalable Test Projects)
- Binding a Domain Name
- Plug-in Management
- Resetting Configurations
- Managing Test Cases
- Debugging a Case
- Batch Operations
- PerfTest Task Management
- PerfTest Report Management
- Transaction Management
- JMeter Test Project Management
- Crontask
- Configuring SLAs
- Auditing
- Reference
- Best Practices
- API Reference
- SDK Reference
-
FAQs
- Resource Group Management
-
Pressure Test Project Management
- What Are the Differences Between Think Time and Duration in CodeArts PerfTest?
- What Is the Number of Concurrent Users?
- How Do I Fill in Packets?
- Why Does Transaction Debugging Frequently Fail?
- Which Headers Are Mandatory in an HTTP-based Packet Request?
- Why Is the CPU Usage of the Execution Node Used for the Pressure Test Constantly High?
- What Are the Differences Between Global Variables and Variables Extracted from Responses?
- What Is the Impact of the Bandwidth Applied for CodeArts PerfTest on Tests?
- What Are the Differences Between a JMeter Test Project and a PerfTest Project?
- How Do I Check If the Global Variable Values Are Read Sequentially in a Test Task?
- Pressure Test Report Management
-
General FAQs
- What Are the Permissions Required for Using CodeArts PerfTest?
- How Do I Use the New IAM Edition to Isolate Permissions by Enterprise Project?
- Does CodeArts PerfTest Support Windows Server 2016 Standard (64-bit)?
- What Can I Do If Chinese or Special Characters Are Not Properly Displayed When the API Response Body Containing Them Is Exported Using the Traffic Recording Plug-in?
-
Using JMeter Projects
- What Are the Differences Between the JMeter Engine of CodeArts PerfTest and the Open-source JMeter?
- What Scripts Does the JMeter Engine of CodeArts PerfTest Support?
- Which Operations in Scripts Are Not Supported by the JMeter Engine of CodeArts PerfTest?
- What Are the Possible Causes of a JMX File Import Error in a JMeter Test Project?
- What Are the Suggestions for Using CodeArts PerfTest Scripts?
- How Do I Use the Global Variable Function?
- What Should I Pay Attention to When Uploading a Third-Party JAR Package?
- What Should I Pay Attention to When Uploading a CSV File?
- What Should I Pay Attention to When Uploading a Custom Installation Package?
- Why Does CodeArts PerfTest Return Garbled Characters When Content-Type in the Request Header Is Set to UTF-8 in JMeter?
- What Are the Meanings of Log Errors in a JMeter Report?
- Why Does JMeter Case Debugging Fail in Less Than 5 Seconds and No Data Is Displayed on the Page?
- Videos
- General Reference
Copied.
Overview
Scenarios
When you use the local JMeter to perform a pressure test, various plug-ins are required to meet pressure test requirements. To view visual test reports, import JMeter projects to CodeArts PerfTest. CodeArts PerfTest supports the native JMeter engine. You can import JMeter scripts into JMeter projects in CodeArts PerfTest to quickly initiate high-concurrency performance tests with JMeter, and view complete performance test reports.
Notes and Constraints
- If you use CodeArts PerfTest test resources for the first time, authorize CodeArts PerfTest to perform operations on CCE and VPC endpoint (VPCEP).
- The CodeArts PerfTest container integrates the open-source Apache JMeter, CodeArts PerfTest's control code, and some enhanced JMeter capabilities (such as multi-phase pressure configuration and log output).
- By default, CodeArts PerfTest integrates Apache JMeter 5.4. You can upload a custom installation package to the CodeArts PerfTest resources to change the version to Apache JMeter 5.3 or 5.2. The custom installation package is a ZIP package downloaded from the Apache official website.
- If you want to use third-party plug-ins, upload them in the form of third-party JAR packages to the JMeter project in CodeArts PerfTest. This is equivalent to placing JAR packages in the JMeter root directory \lib\ext.
- If JMX scripts are deleted on the GUI, CodeArts PerfTest scripts stored in OBS are also deleted.
Solution Architecture
CodeArts PerfTest integrates the open-source Apache JMeter to implement pressure tests. The working principles are as follows:
- You can use CodeArts PerfTest resources to manage CCE nodes (one debugging node and one or more execution nodes) of the tenant. Then, a VPC endpoint is created to upload test data to CodeArts PerfTest. CodeArts PerfTest starts a resident debugging workload through CCE. The workload starts a CodeArts PerfTest container for debugging.
- Upload JMX scripts to CodeArts PerfTest before you use JMeter projects in CodeArts PerfTest. These scripts are stored in OBS buckets of CodeArts PerfTest. After the CodeArts PerfTest container is started, it downloads your scripts from OBS and executes them.
- During task execution, a temporary execution load is started through CCE. The load starts one or more CodeArts PerfTest containers based on the task scale for execution. If multiple containers are used for execution, threads in the thread group are equally allocated to each CodeArts PerfTest container.
- During task execution, the CodeArts PerfTest container uploads the test result to CodeArts PerfTest through VPCEP for the following purposes:
- Collects performance metrics such as concurrency, latency, RPS, bandwidth, and TP90.
- Displays request logs and return logs generated during execution.
- When the task is complete, the CodeArts PerfTest container is destroyed, and only execution records are stored in the executor.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot