Managing PerfTest Cases
Debugging a Test Case
After you create or edit a test case, you can debug it to detect syntax or configuration errors before pressure testing.
- Log in to the CodeArts PerfTest console.
- In the navigation pane, choose PerfTest Projects.
- Click the name of the desired PerfTest project to go to the details page.
- In the case list on the left of the Cases tab, click the test case you want to debug.
- Click Debug in the upper right corner of the page.
- Select the target test resource group as the executor and click Start to start debugging.
- Click View log to view the test case debugging details.
If an error is reported in the debugging result, edit the case based on the log information and debug it again.
- On the Debug log tab, view the debugging history.
Resetting Configurations
When you modify a test case, you can reset the configurations that are not yet saved.
- In the case list on the left of the Cases tab, click the test case you want to configure.
- Click
in the upper right corner of the page. In the displayed dialog box, click OK.
Copying a Test Case
- In the case list on the left of the Cases tab, locate the test case you want to copy.
- Click
next to the case, and choose Copy from the pop-up menu. Figure 1 Copying a case
- Click
next to the destination directory, and choose Paste from the pop-up menu. Figure 2 Pasting a case
- Click Save.
Moving a Test Case
- In the case list on the left of the Cases tab, locate the test case you want to move.
- Drag the case to move it to a new directory.
You can also click
next to the case, and choose Cut from the pop-up menu.Figure 3 Cutting a case
Click
next to the destination directory, and choose Paste from the pop-up menu.Figure 4 Pasting a case
Deleting a Single Test Case
- In the case list on the left of the Cases tab, locate the test case you want to delete.
- Click
next to the case, and choose Delete from the pop-up menu. - Click OK.
Deleting Test Cases in Batches
- In the case list on the left of the Cases tab, select multiple cases or directories.
- In the floating box displayed at the bottom of the page, click Delete.
- Click OK.
Starting Test Cases in Batches
The case list supports batch operations, which apply only to test cases (including those inside a directory, but excluding the directory itself).
- In the case list on the left of the Cases tab, select multiple cases or directories.
- In the floating box displayed at the bottom of the page, click Start.
- In the displayed Executing Temporary Test Task dialog box, modify the parameters of the temporary task.
Table 1 Temporary test task parameters Parameter
Description
Temporary Task Name
The current cases will not generate a permanent test task. The generated report will be displayed on the Performance Reports tab as a temporary task report and automatically deleted 30 days later.
Execution Mode
Select Serial or Parallel.
Resource Group Type
Select Shared resource group or Private resource group.
- Select Confirm that this pressure test is approved and complies with local laws.
- Click Start to execute the temporary task.
- After the test cases are started, click View Report to check the real-time performance report.
You can also switch to the Performance Reports tab in the upper left corner and click Temporary Task List to find the report by task name.
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