Esta página ainda não está disponível no idioma selecionado. Estamos trabalhando para adicionar mais opções de idiomas. Agradecemos sua compreensão.
- 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
Show all
Copied.
Inserting a Variable
When adding a request, enter $ in the text box to insert a variable.
- Range: variable range.
- Name: name of a custom variable. Specifies the name of a variable when the variable is added.
When Type is set to System, select a function name.
- ID card number: Randomly generates an ID number.
- Mobile phone number: Randomly generates a phone number.
- Random number in a range: Randomly generates an integer within the specified range.
- Random character string: Randomly generates a string consisting of lowercase letters and numbers based on your specified string length (1 to 32 characters).
- Time stamp: Generates a timestamp for the current time based on your specified unit. A 10-digit timestamp represents time in seconds whereas a 13-digit timestamp represents time in milliseconds.
- Time stamp(Format): The current time is output in the specified format. Time offsets in seconds are supported.
The time format is described as follows:
yyyy: indicates a four-digit year, for example, 2024.
yy: indicates a two-digit year. For example, 24 indicates 2024.
MM: indicates a two-digit month. For example, 01 indicates January.
M: indicates a month without leading zeros. For example, 1 indicates January.
dd: indicates a two-digit day, for example, 03.
d: indicates a day without leading zeros, for example, 3.
HH: indicates a 24-hour clock value. For example, 13 indicates 13:00.
H: same as HH.
hh: indicates a 12-hour clock value. For example, 01 indicates 01:00.
h: indicates a 24-hour clock value without leading zeros. For example, 1 indicates 01:00.
mm: indicates a minute, for example, 04.
m: indicates a minute without leading zeros, for example, 4.
ss: indicates a second, for example, 05.
s: indicates a second without leading zeros, for example, 5.
SSS: indicates a millisecond, for example, 098.
- UUID: randomly generates a string of 32 characters.
- MD5: Encrypts the val data using MD5 and returns the encrypted data string.
- MD5-BASE64: Performs MD5-BASE64 encoding on val data and returns the encoded data string.
- SHA-1: Encrypts the input data using SHA-1 and returns the encrypted data string.
- SHA-224: Encrypts the input data using SHA-224 and returns the encrypted data character string.
- SHA-256: Encrypts the input data using SHA-256 and returns the encrypted data character string.
- SHA-384: Encrypts the input data using SHA-384 and returns the encrypted data string.
- SHA-512: Encrypts the input data using SHA-512 and returns the encrypted data character string.
- BASE64 encoding: Encodes the input data using BASE64 and returns the encoded data string.
- BASE64 decoding: Performs BASE64 decoding on the input data and returns the decoded data character string.
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