Help Center/ CodeArts PerfTest/ CLI Reference/ CLI Command Reference
Updated on 2026-09-16 GMT+08:00

CLI Command Reference

PerfTest Project Management

API Name

Command

Description

Operation

Querying a Project Set

hcloud CPTS ListProjectSets

This API is used to query a project set.

Go debug

Creating a Project

hcloud CPTS CreateProject

This API is used to create a project.

Go debug

Querying a Project

hcloud CPTS ShowProject

This API is used to query a project.

Go debug

Modifying a Project

hcloud CPTS UpdateProject

This API is used to modify a project.

Go debug

Deleting a Project

hcloud CPTS DeleteProject

This API is used to delete a project.

Go debug

Querying the Import Progress

hcloud CPTS ShowProcess

This API is used to query the import progress.

Go debug

Task Management

API Name

Command

Description

Operation

Querying a Task Set

hcloud CPTS ShowTaskSet

This API is used to query a task set.

Go debug

Querying a Task

hcloud CPTS ShowTask

This API is used to query a task.

Go debug

Modifying a Task

hcloud CPTS UpdateTask

This API is used to modify a task.

Go debug

Deleting a Task

hcloud CPTS DeleteTask

This API is used to delete a task.

Go debug

Creating a Task

hcloud CPTS CreateTask

This API is used to create a task.

Go debug

Updating the Status of a Task

hcloud CPTS UpdateTaskStatus

This API is used to update the status of a task.

Go debug

Modifying the Case Associated with the Task

hcloud CPTS UpdateTaskRelatedTestCase

This API is used to modify the case associated with the task.

Go debug

Case Management

API Name

Command

Description

Operation

Creating a Case

hcloud CPTS CreateCase

This API is used to create a case.

Go debug

Deleting a Case

hcloud CPTS DeleteCase

This API is used to delete a case.

Go debug

Modifying a Case

hcloud CPTS UpdateCase

This API is used to modify a case.

Go debug

Debugging a Case

hcloud CPTS DebugCase

This API is used to debug a case.

Go debug

Global Variable Management

API Name

Command

Description

Operation

Querying a Global Variable

hcloud CPTS ListVariables

This API is used to query a global variable.

Go debug

Creating a Variable

hcloud CPTS CreateVariable

This API is used to create a variable.

Go debug

Modifying a Variable

hcloud CPTS UpdateVariable

This API is used to modify a variable.

Go debug

Deleting a Global Variable

hcloud CPTS DeleteVariable

This API is used to delete a global variable.

Go debug

Transaction Management

API Name

Command

Description

Operation

Querying a Transaction Set

hcloud CPTS ShowTempSet

This API is used to query a transaction set.

Go debug

Creating a Transaction

hcloud CPTS CreateTemp

This API is used to create a transaction.

Go debug

Querying a Transaction

hcloud CPTS ShowTemp

This API is used to query a transaction.

Go debug

Modifying a Transaction

hcloud CPTS UpdateTemp

This API is used to modify a transaction

Go debug

Deleting a Transaction

hcloud CPTS DeleteTemp

This API is used to delete a transaction.

Go debug

Report Management

API Name

Command

Description

Operation

Querying a Report

hcloud CPTS ShowReport

This API is used to query a report.

Go debug

Querying the Offline Report List of a PerfTest Task

hcloud CPTS ShowHistoryRunInfo

This API is used to query the offline report list of a PerfTest task.

Go debug

Directory Management

API Name

Command

Description

Operation

Query a case tree.

hcloud CPTS ListProjectTestCase

Querying a Case Tree

Go debug