43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
|
|
{
|
|||
|
|
"version": 1,
|
|||
|
|
"defaults": {
|
|||
|
|
"base_url": "http://localhost:8037",
|
|||
|
|
"username": "admin",
|
|||
|
|
"password": "123456",
|
|||
|
|
"request_timeout_sec": 120,
|
|||
|
|
"max_wait_sec": 300,
|
|||
|
|
"poll_interval_sec": 2
|
|||
|
|
},
|
|||
|
|
"cases": [
|
|||
|
|
{
|
|||
|
|
"id": "homework-hello",
|
|||
|
|
"name": "学生作业管理助手-打招呼",
|
|||
|
|
"agent": { "name": "学生作业管理助手" },
|
|||
|
|
"message": "你好",
|
|||
|
|
"expect": {
|
|||
|
|
"status": "completed",
|
|||
|
|
"output_contains": ["作业", "助手"]
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"id": "homework-by-id-smoke",
|
|||
|
|
"name": "按 ID 冒烟(请换成你环境真实 UUID)",
|
|||
|
|
"enabled": false,
|
|||
|
|
"agent": { "id": "00000000-0000-0000-0000-000000000000" },
|
|||
|
|
"message": "你好"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"id": "generic-with-preview-fields",
|
|||
|
|
"name": "带预览扩展字段示例(与前端一致时可开)",
|
|||
|
|
"enabled": false,
|
|||
|
|
"agent": { "name": "你的Agent名称" },
|
|||
|
|
"message": "你好",
|
|||
|
|
"input_extra": {
|
|||
|
|
"user_id": "preview_script_user",
|
|||
|
|
"attachments": []
|
|||
|
|
},
|
|||
|
|
"expect": { "status": "completed" }
|
|||
|
|
}
|
|||
|
|
]
|
|||
|
|
}
|