千流 AI 测试效能平台集成技能。
在 ~/.qianliu/config.json 中配置 TP 平台的访问 Token:
{
"tp_token": "your_token_here",
"tp_base_url": "https://tp.atrust.sangfor.com"
}
在 workspace/.qianliu/.qianliu-aitest/tp-aitest-config.yaml 中配置任务参数:
tp_platform:
project_id: 8
version_id: 117
ai_testcase_task_id: 1488
agent_version: "v1"
testbed_name: ""
exec_host_name: ""
desc: "批量测试任务(上线验证)- 千流manus"
# PowerShell
./scripts/execute-tp-test.ps1 -PlanId 1488 -ProductId 8 -ProjectId 117
# PowerShell
./scripts/get-resources.ps1 -Type testbed
GET /api/resource/testbedsGET /api/resource/exec-hostsPOST /api/test/executeGET /api/test/status/{taskId}GET /api/test/report/{taskId}~/.qianliu/config.json共 1 个版本