736 lines
17 KiB
JSON
736 lines
17 KiB
JSON
|
|
{
|
||
|
|
"schemaVersion": 1,
|
||
|
|
"id": "test_appsystem_13",
|
||
|
|
"name": "组件测试 13 · 远程桌面【手动】",
|
||
|
|
"description": "手动测试:先阅读测试说明。默认不开启执行开关,不能把组件返回成功当作功能通过。",
|
||
|
|
"enabled": true,
|
||
|
|
"trigger": {
|
||
|
|
"type": "manual",
|
||
|
|
"label": "手动运行"
|
||
|
|
},
|
||
|
|
"variables": [],
|
||
|
|
"nodes": [
|
||
|
|
{
|
||
|
|
"id": "t13_1",
|
||
|
|
"componentId": "Trigger.Manual",
|
||
|
|
"label": "人工发起",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 80
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"entryName": "开始组件测试"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_2",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "初始化失败计数",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 222
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": 0
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "failures"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_3",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "初始化待确认计数",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 364
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": 0
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "pending"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_4",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "初始化阻塞计数",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 506
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": 0
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "blocked"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_5",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "手动执行开关:确认环境后才可改为 true",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 648
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": false
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "manualEnabled"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_6",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "填写用户自己的测试远程地址",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 790
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": ""
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "remoteAddress"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_7",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "断连单独开关:可能断开当前 Windows 会话,必须另行确认",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 932
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": false
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "allowDisconnect"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_8",
|
||
|
|
"componentId": "logic_control_try_catch",
|
||
|
|
"label": "13-01 · System_ConnectRemoteDesktop",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1074
|
||
|
|
},
|
||
|
|
"values": {},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_9",
|
||
|
|
"componentId": "logic_control_if_else",
|
||
|
|
"label": "手动执行保护",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1520
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"condition": "${manualEnabled === true}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
},
|
||
|
|
"parentId": "t13_8",
|
||
|
|
"slot": "try_fn"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_10",
|
||
|
|
"componentId": "ExceptionUtil_Throws",
|
||
|
|
"label": "默认不执行系统状态操作",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1520
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"msg": "待人工确认:执行开关未开启"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
},
|
||
|
|
"parentId": "t13_9",
|
||
|
|
"slot": "statement_else"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_11",
|
||
|
|
"componentId": "System_ConnectRemoteDesktop",
|
||
|
|
"label": "System_ConnectRemoteDesktop",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1520
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"ip": "${remoteAddress}",
|
||
|
|
"port": "3389"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "actual_1"
|
||
|
|
},
|
||
|
|
"parentId": "t13_9",
|
||
|
|
"slot": "statement_if"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_12",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "记录实际值与判定",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1520
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": "${[\"13-01\", \"System_ConnectRemoteDesktop\", \"MANUAL\", \"{\\\"ip\\\":\\\"${remoteAddress}\\\",\\\"port\\\":\\\"3389\\\"}\", \"人工完成登录,并确认已连接到正确测试机器;启动 mstsc 不等于连接成功\", actual_1]}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "case_1"
|
||
|
|
},
|
||
|
|
"parentId": "t13_9",
|
||
|
|
"slot": "statement_if"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_13",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "累计失败数",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1520
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": "${failures + (case_1[2] === \"FAIL\" ? 1 : 0)}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "failures"
|
||
|
|
},
|
||
|
|
"parentId": "t13_9",
|
||
|
|
"slot": "statement_if"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_14",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "累计待人工确认数",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1520
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": "${pending + (case_1[2] === \"MANUAL\" ? 1 : 0)}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "pending"
|
||
|
|
},
|
||
|
|
"parentId": "t13_9",
|
||
|
|
"slot": "statement_if"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_15",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "记录异常结果",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1520
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": "${[\"13-01\", \"System_ConnectRemoteDesktop\", manualEnabled === true ? \"FAIL\" : \"MANUAL\", \"{\\\"ip\\\":\\\"${remoteAddress}\\\",\\\"port\\\":\\\"3389\\\"}\", \"人工完成登录,并确认已连接到正确测试机器;启动 mstsc 不等于连接成功\", error.reason]}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "case_1"
|
||
|
|
},
|
||
|
|
"parentId": "t13_8",
|
||
|
|
"slot": "except_fn"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_16",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "异常累计失败数",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1520
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": "${failures + (case_1[2] === \"FAIL\" ? 1 : 0)}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "failures"
|
||
|
|
},
|
||
|
|
"parentId": "t13_8",
|
||
|
|
"slot": "except_fn"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_17",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "异常累计待确认数",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1520
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": "${pending + (case_1[2] === \"MANUAL\" ? 1 : 0)}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "pending"
|
||
|
|
},
|
||
|
|
"parentId": "t13_8",
|
||
|
|
"slot": "except_fn"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_18",
|
||
|
|
"componentId": "Log_Info",
|
||
|
|
"label": "输出测试结果",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1578
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"msg": "用例结果:${json(case_1)}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_19",
|
||
|
|
"componentId": "logic_control_try_catch",
|
||
|
|
"label": "13-02 · System_CloseRemoteDesktop",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1720
|
||
|
|
},
|
||
|
|
"values": {},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_20",
|
||
|
|
"componentId": "logic_control_if_else",
|
||
|
|
"label": "手动执行保护",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1880
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"condition": "${manualEnabled === true}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
},
|
||
|
|
"parentId": "t13_19",
|
||
|
|
"slot": "try_fn"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_21",
|
||
|
|
"componentId": "ExceptionUtil_Throws",
|
||
|
|
"label": "默认不执行系统状态操作",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1880
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"msg": "待人工确认:执行开关未开启"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
},
|
||
|
|
"parentId": "t13_20",
|
||
|
|
"slot": "statement_else"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_30",
|
||
|
|
"componentId": "logic_control_if_else",
|
||
|
|
"label": "断连操作单独保护",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 2060
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"condition": "${allowDisconnect === true}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
},
|
||
|
|
"parentId": "t13_20",
|
||
|
|
"slot": "statement_if"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_22",
|
||
|
|
"componentId": "System_CloseRemoteDesktop",
|
||
|
|
"label": "System_CloseRemoteDesktop",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1880
|
||
|
|
},
|
||
|
|
"values": {},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "actual_2"
|
||
|
|
},
|
||
|
|
"parentId": "t13_30",
|
||
|
|
"slot": "statement_if"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_23",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "记录实际值与判定",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1880
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": "${[\"13-02\", \"System_CloseRemoteDesktop\", \"MANUAL\", \"{}\", \"确认目标会话及恢复方式后才能执行;当前实现会调用 tsdiscon\", actual_2]}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "case_2"
|
||
|
|
},
|
||
|
|
"parentId": "t13_20",
|
||
|
|
"slot": "statement_if"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_24",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "累计失败数",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1880
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": "${failures + (case_2[2] === \"FAIL\" ? 1 : 0)}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "failures"
|
||
|
|
},
|
||
|
|
"parentId": "t13_20",
|
||
|
|
"slot": "statement_if"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_25",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "累计待人工确认数",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1880
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": "${pending + (case_2[2] === \"MANUAL\" ? 1 : 0)}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "pending"
|
||
|
|
},
|
||
|
|
"parentId": "t13_20",
|
||
|
|
"slot": "statement_if"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_26",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "记录异常结果",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1880
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": "${[\"13-02\", \"System_CloseRemoteDesktop\", manualEnabled === true ? \"FAIL\" : \"MANUAL\", \"{}\", \"确认目标会话及恢复方式后才能执行;当前实现会调用 tsdiscon\", error.reason]}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "case_2"
|
||
|
|
},
|
||
|
|
"parentId": "t13_19",
|
||
|
|
"slot": "except_fn"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_27",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "异常累计失败数",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1880
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": "${failures + (case_2[2] === \"FAIL\" ? 1 : 0)}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "failures"
|
||
|
|
},
|
||
|
|
"parentId": "t13_19",
|
||
|
|
"slot": "except_fn"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_28",
|
||
|
|
"componentId": "Basic_SetVariable",
|
||
|
|
"label": "异常累计待确认数",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 1880
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"value": "${pending + (case_2[2] === \"MANUAL\" ? 1 : 0)}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false,
|
||
|
|
"outputVar": "pending"
|
||
|
|
},
|
||
|
|
"parentId": "t13_19",
|
||
|
|
"slot": "except_fn"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_29",
|
||
|
|
"componentId": "Log_Info",
|
||
|
|
"label": "输出测试结果",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 2224
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"msg": "用例结果:${json(case_2)}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_31",
|
||
|
|
"componentId": "ExceptionUtil_Throws",
|
||
|
|
"label": "阻止未授权断连",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 2060
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"msg": "阻塞:断连开关未开启;执行可能中断当前会话。"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
},
|
||
|
|
"parentId": "t13_30",
|
||
|
|
"slot": "statement_else"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_32",
|
||
|
|
"componentId": "Log_Info",
|
||
|
|
"label": "输出测试结果",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 2366
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"msg": "本组汇总:失败 ${failures} 项,阻塞 ${blocked} 项,待人工确认 ${pending} 项。"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_33",
|
||
|
|
"componentId": "logic_control_if_else",
|
||
|
|
"label": "汇总判定",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 2508
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"condition": "${failures > 0 || pending > 0 || blocked > 0}"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
}
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_34",
|
||
|
|
"componentId": "ExceptionUtil_Throws",
|
||
|
|
"label": "如实标记未通过",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 2420
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"msg": "组件测试未全部通过:失败 ${failures} 项,阻塞 ${blocked} 项,待人工确认 ${pending} 项。请查看日志。"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
},
|
||
|
|
"parentId": "t13_33",
|
||
|
|
"slot": "statement_if"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "t13_35",
|
||
|
|
"componentId": "Log_Info",
|
||
|
|
"label": "输出测试结果",
|
||
|
|
"position": {
|
||
|
|
"x": 220,
|
||
|
|
"y": 2420
|
||
|
|
},
|
||
|
|
"values": {
|
||
|
|
"msg": "本组全部通过。"
|
||
|
|
},
|
||
|
|
"options": {
|
||
|
|
"timeoutMs": 15000,
|
||
|
|
"retryCount": 0,
|
||
|
|
"logException": false
|
||
|
|
},
|
||
|
|
"parentId": "t13_33",
|
||
|
|
"slot": "statement_else"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"edges": [
|
||
|
|
{
|
||
|
|
"id": "e_t13_2",
|
||
|
|
"source": "t13_1",
|
||
|
|
"target": "t13_2"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "e_t13_3",
|
||
|
|
"source": "t13_2",
|
||
|
|
"target": "t13_3"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "e_t13_4",
|
||
|
|
"source": "t13_3",
|
||
|
|
"target": "t13_4"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "e_t13_5",
|
||
|
|
"source": "t13_4",
|
||
|
|
"target": "t13_5"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "e_t13_6",
|
||
|
|
"source": "t13_5",
|
||
|
|
"target": "t13_6"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "e_t13_7",
|
||
|
|
"source": "t13_6",
|
||
|
|
"target": "t13_7"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "e_t13_8",
|
||
|
|
"source": "t13_7",
|
||
|
|
"target": "t13_8"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "e_t13_18",
|
||
|
|
"source": "t13_8",
|
||
|
|
"target": "t13_18"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "e_t13_19",
|
||
|
|
"source": "t13_18",
|
||
|
|
"target": "t13_19"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "e_t13_29",
|
||
|
|
"source": "t13_19",
|
||
|
|
"target": "t13_29"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "e_t13_32",
|
||
|
|
"source": "t13_29",
|
||
|
|
"target": "t13_32"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "e_t13_33",
|
||
|
|
"source": "t13_32",
|
||
|
|
"target": "t13_33"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"meta": {
|
||
|
|
"createdAt": "2026-10-30T00:00:00.000Z",
|
||
|
|
"updatedAt": "2026-10-30T00:00:00.000Z",
|
||
|
|
"appVersion": "0.1.0"
|
||
|
|
}
|
||
|
|
}
|