AI Agent Hub
Back to skills
Qianliu AI Testing icon

Qianliu AI Testing

AI Agent Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_6c0ab08d/qianliu-aitest.

About this skill

Problem

This skill targets test workflows on the Qianliu TP platform: checking test resources, polling task status, and collecting reports can be scattered across manual API calls. It groups testbed discovery, execution-host discovery, task execution, status tracking, and report retrieval into a consistent interface, which fits an agent-driven automation loop.

How It Works

The skill works through TP platform APIs. The main path is:
- Resource discovery: call GET /api/resource/testbeds and GET /api/resource/exec-hosts to inspect available testbeds and execution hosts.
- Task execution: configure task parameters in workspace/.qianliu/.qianliu-aitest/tp-aitest-config.yaml, then call POST /api/test/execute to start a test.
- Status tracking: query GET /api/test/status/{taskId} for execution state, then fetch the result with GET /api/test/report/{taskId}.

Before use, store the TP platform access token in ~/.qianliu/config.json. The token should be generated from TP platform API token settings and carry the required permissions. If a testbed is unavailable, an execution host cannot be reached, or the token is rejected, check resource status, network connectivity, and token expiry.

Use Cases

  • Before regression testing, list available testbeds and execution hosts, confirm they are idle, then start the task.
  • In CI test steps, run a Qianliu TP task, poll its status, and download the final test report.
  • During troubleshooting, use execution-host lists and task-status APIs to distinguish offline hosts from stuck tasks.
  • When building automation, write task parameters to the YAML config and call the execution API to dispatch tests.

Best For

  • Test engineers running regression tests: dispatch configured test tasks and track status and reports.
  • CI engineers integrating the Qianliu TP platform: query testbeds, execution hosts, and run tasks from pipelines.
  • AI workflow engineers: orchestrate test execution, status polling, and report retrieval in agent skills.
  • Test platform operators: diagnose unavailable testbeds or failed execution-host connections.