PRA-only-demo/resources/test-flows/app-system/test_appsystem_04.json
liuwenxin d489288c8e test(应用与系统): 添加组件验收流程与复测报告
提供 13 组、74 个用例,覆盖 49 项可执行组件。
新增隔离运行、真实界面检查、结果汇总和安全安装脚本。
升级仅覆盖未修改的测试模板,并保留原文件备份。
为手动操作设置保护开关,保留修复前后验证证据。

验证:43 项相关检查、类型检查与构建通过。
2026-11-02 09:06:40 +08:00

2042 lines
48 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"schemaVersion": 1,
"id": "test_appsystem_04",
"name": "组件测试 04 · 变量与配置",
"description": "查看运行日志中的用例结果;有失败时任务最终显示失败,其他用例仍继续。",
"enabled": true,
"trigger": {
"type": "manual",
"label": "手动运行"
},
"variables": [],
"nodes": [
{
"id": "t04_1",
"componentId": "Trigger.Manual",
"label": "人工发起",
"position": {
"x": 220,
"y": 80
},
"values": {
"entryName": "开始组件测试"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_2",
"componentId": "Basic_SetVariable",
"label": "初始化失败计数",
"position": {
"x": 220,
"y": 222
},
"values": {
"value": 0
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
}
},
{
"id": "t04_3",
"componentId": "Basic_SetVariable",
"label": "初始化待确认计数",
"position": {
"x": 220,
"y": 364
},
"values": {
"value": 0
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
}
},
{
"id": "t04_4",
"componentId": "Basic_SetVariable",
"label": "初始化阻塞计数",
"position": {
"x": 220,
"y": 506
},
"values": {
"value": 0
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "blocked"
}
},
{
"id": "t04_5",
"componentId": "logic_control_try_catch",
"label": "04-01 · Basic_SetVariable",
"position": {
"x": 220,
"y": 648
},
"values": {},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_6",
"componentId": "Basic_SetVariable",
"label": "Basic_SetVariable",
"position": {
"x": 220,
"y": 980
},
"values": {
"value": "中文变量往返"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "actual_1"
},
"parentId": "t04_5",
"slot": "try_fn"
},
{
"id": "t04_7",
"componentId": "Basic_SetVariable",
"label": "记录实际值与判定",
"position": {
"x": 220,
"y": 980
},
"values": {
"value": "${[\"04-01\", \"Basic_SetVariable\", (actual_1 === \"中文变量往返\") ? \"PASS\" : \"FAIL\", \"{\\\"value\\\":\\\"中文变量往返\\\"}\", \"原值及输出变量均保持中文文本\", actual_1]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_1"
},
"parentId": "t04_5",
"slot": "try_fn"
},
{
"id": "t04_8",
"componentId": "Basic_SetVariable",
"label": "累计失败数",
"position": {
"x": 220,
"y": 980
},
"values": {
"value": "${failures + (case_1[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_5",
"slot": "try_fn"
},
{
"id": "t04_9",
"componentId": "Basic_SetVariable",
"label": "累计待人工确认数",
"position": {
"x": 220,
"y": 980
},
"values": {
"value": "${pending + (case_1[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_5",
"slot": "try_fn"
},
{
"id": "t04_10",
"componentId": "Basic_SetVariable",
"label": "记录异常结果",
"position": {
"x": 220,
"y": 980
},
"values": {
"value": "${[\"04-01\", \"Basic_SetVariable\", \"FAIL\", \"{\\\"value\\\":\\\"中文变量往返\\\"}\", \"原值及输出变量均保持中文文本\", error.reason]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_1"
},
"parentId": "t04_5",
"slot": "except_fn"
},
{
"id": "t04_11",
"componentId": "Basic_SetVariable",
"label": "异常累计失败数",
"position": {
"x": 220,
"y": 980
},
"values": {
"value": "${failures + (case_1[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_5",
"slot": "except_fn"
},
{
"id": "t04_12",
"componentId": "Basic_SetVariable",
"label": "异常累计待确认数",
"position": {
"x": 220,
"y": 980
},
"values": {
"value": "${pending + (case_1[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_5",
"slot": "except_fn"
},
{
"id": "t04_13",
"componentId": "Log_Info",
"label": "输出测试结果",
"position": {
"x": 220,
"y": 1290
},
"values": {
"msg": "用例结果:${json(case_1)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_14",
"componentId": "logic_control_try_catch",
"label": "04-02 · Basic_SetVariable_V1",
"position": {
"x": 220,
"y": 1432
},
"values": {},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_15",
"componentId": "Basic_SetVariable_V1",
"label": "Basic_SetVariable_V1",
"position": {
"x": 220,
"y": 1340
},
"values": {
"variableType": "rpa_int",
"value": "42"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "actual_2"
},
"parentId": "t04_14",
"slot": "try_fn"
},
{
"id": "t04_16",
"componentId": "Basic_SetVariable",
"label": "记录实际值与判定",
"position": {
"x": 220,
"y": 1340
},
"values": {
"value": "${[\"04-02\", \"Basic_SetVariable_V1\", (actual_2 === 42) ? \"PASS\" : \"FAIL\", \"{\\\"variableType\\\":\\\"rpa_int\\\",\\\"value\\\":\\\"42\\\"}\", \"数字 42\", actual_2]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_2"
},
"parentId": "t04_14",
"slot": "try_fn"
},
{
"id": "t04_17",
"componentId": "Basic_SetVariable",
"label": "累计失败数",
"position": {
"x": 220,
"y": 1340
},
"values": {
"value": "${failures + (case_2[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_14",
"slot": "try_fn"
},
{
"id": "t04_18",
"componentId": "Basic_SetVariable",
"label": "累计待人工确认数",
"position": {
"x": 220,
"y": 1340
},
"values": {
"value": "${pending + (case_2[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_14",
"slot": "try_fn"
},
{
"id": "t04_19",
"componentId": "Basic_SetVariable",
"label": "记录异常结果",
"position": {
"x": 220,
"y": 1340
},
"values": {
"value": "${[\"04-02\", \"Basic_SetVariable_V1\", \"FAIL\", \"{\\\"variableType\\\":\\\"rpa_int\\\",\\\"value\\\":\\\"42\\\"}\", \"数字 42\", error.reason]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_2"
},
"parentId": "t04_14",
"slot": "except_fn"
},
{
"id": "t04_20",
"componentId": "Basic_SetVariable",
"label": "异常累计失败数",
"position": {
"x": 220,
"y": 1340
},
"values": {
"value": "${failures + (case_2[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_14",
"slot": "except_fn"
},
{
"id": "t04_21",
"componentId": "Basic_SetVariable",
"label": "异常累计待确认数",
"position": {
"x": 220,
"y": 1340
},
"values": {
"value": "${pending + (case_2[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_14",
"slot": "except_fn"
},
{
"id": "t04_22",
"componentId": "Log_Info",
"label": "输出测试结果",
"position": {
"x": 220,
"y": 2074
},
"values": {
"msg": "用例结果:${json(case_2)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_23",
"componentId": "logic_control_try_catch",
"label": "04-03 · Basic_SetVariable_V1",
"position": {
"x": 220,
"y": 2216
},
"values": {},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_24",
"componentId": "Basic_SetVariable_V1",
"label": "Basic_SetVariable_V1",
"position": {
"x": 220,
"y": 1700
},
"values": {
"variableType": "rpa_list",
"value": "[1,2]"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "actual_3"
},
"parentId": "t04_23",
"slot": "try_fn"
},
{
"id": "t04_25",
"componentId": "Basic_SetVariable",
"label": "记录实际值与判定",
"position": {
"x": 220,
"y": 1700
},
"values": {
"value": "${[\"04-03\", \"Basic_SetVariable_V1\", (json(actual_3) === \"[1,2]\") ? \"PASS\" : \"FAIL\", \"{\\\"variableType\\\":\\\"rpa_list\\\",\\\"value\\\":\\\"[1,2]\\\"}\", \"数组 [1,2]\", actual_3]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_3"
},
"parentId": "t04_23",
"slot": "try_fn"
},
{
"id": "t04_26",
"componentId": "Basic_SetVariable",
"label": "累计失败数",
"position": {
"x": 220,
"y": 1700
},
"values": {
"value": "${failures + (case_3[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_23",
"slot": "try_fn"
},
{
"id": "t04_27",
"componentId": "Basic_SetVariable",
"label": "累计待人工确认数",
"position": {
"x": 220,
"y": 1700
},
"values": {
"value": "${pending + (case_3[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_23",
"slot": "try_fn"
},
{
"id": "t04_28",
"componentId": "Basic_SetVariable",
"label": "记录异常结果",
"position": {
"x": 220,
"y": 1700
},
"values": {
"value": "${[\"04-03\", \"Basic_SetVariable_V1\", \"FAIL\", \"{\\\"variableType\\\":\\\"rpa_list\\\",\\\"value\\\":\\\"[1,2]\\\"}\", \"数组 [1,2]\", error.reason]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_3"
},
"parentId": "t04_23",
"slot": "except_fn"
},
{
"id": "t04_29",
"componentId": "Basic_SetVariable",
"label": "异常累计失败数",
"position": {
"x": 220,
"y": 1700
},
"values": {
"value": "${failures + (case_3[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_23",
"slot": "except_fn"
},
{
"id": "t04_30",
"componentId": "Basic_SetVariable",
"label": "异常累计待确认数",
"position": {
"x": 220,
"y": 1700
},
"values": {
"value": "${pending + (case_3[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_23",
"slot": "except_fn"
},
{
"id": "t04_31",
"componentId": "Log_Info",
"label": "输出测试结果",
"position": {
"x": 220,
"y": 2858
},
"values": {
"msg": "用例结果:${json(case_3)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_32",
"componentId": "Basic_SetVariable",
"label": "初始化复制源",
"position": {
"x": 220,
"y": 3000
},
"values": {
"value": {
"title": "中文",
"nested": {
"n": 1
}
}
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "original"
}
},
{
"id": "t04_33",
"componentId": "logic_control_try_catch",
"label": "04-04 · Basic_Clone",
"position": {
"x": 220,
"y": 3142
},
"values": {},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_34",
"componentId": "Basic_Clone",
"label": "Basic_Clone",
"position": {
"x": 220,
"y": 2240
},
"values": {
"val": "${original}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "actual_4"
},
"parentId": "t04_33",
"slot": "try_fn"
},
{
"id": "t04_35",
"componentId": "Basic_SetVariable",
"label": "记录实际值与判定",
"position": {
"x": 220,
"y": 2240
},
"values": {
"value": "${[\"04-04\", \"Basic_Clone\", (json(actual_4) === json(original) && actual_4 !== original && actual_4.nested !== original.nested) ? \"PASS\" : \"FAIL\", \"{\\\"val\\\":\\\"${original}\\\"}\", \"深复制内容相同,外层和嵌套对象均不共用引用\", actual_4]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_4"
},
"parentId": "t04_33",
"slot": "try_fn"
},
{
"id": "t04_36",
"componentId": "Basic_SetVariable",
"label": "累计失败数",
"position": {
"x": 220,
"y": 2240
},
"values": {
"value": "${failures + (case_4[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_33",
"slot": "try_fn"
},
{
"id": "t04_37",
"componentId": "Basic_SetVariable",
"label": "累计待人工确认数",
"position": {
"x": 220,
"y": 2240
},
"values": {
"value": "${pending + (case_4[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_33",
"slot": "try_fn"
},
{
"id": "t04_38",
"componentId": "Basic_SetVariable",
"label": "记录异常结果",
"position": {
"x": 220,
"y": 2240
},
"values": {
"value": "${[\"04-04\", \"Basic_Clone\", \"FAIL\", \"{\\\"val\\\":\\\"${original}\\\"}\", \"深复制内容相同,外层和嵌套对象均不共用引用\", error.reason]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_4"
},
"parentId": "t04_33",
"slot": "except_fn"
},
{
"id": "t04_39",
"componentId": "Basic_SetVariable",
"label": "异常累计失败数",
"position": {
"x": 220,
"y": 2240
},
"values": {
"value": "${failures + (case_4[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_33",
"slot": "except_fn"
},
{
"id": "t04_40",
"componentId": "Basic_SetVariable",
"label": "异常累计待确认数",
"position": {
"x": 220,
"y": 2240
},
"values": {
"value": "${pending + (case_4[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_33",
"slot": "except_fn"
},
{
"id": "t04_41",
"componentId": "Log_Info",
"label": "输出测试结果",
"position": {
"x": 220,
"y": 3784
},
"values": {
"msg": "用例结果:${json(case_4)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_42",
"componentId": "logic_control_try_catch",
"label": "04-05 · Basic_GetProcessInfo",
"position": {
"x": 220,
"y": 3926
},
"values": {},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_43",
"componentId": "Basic_GetProcessInfo",
"label": "Basic_GetProcessInfo",
"position": {
"x": 220,
"y": 2600
},
"values": {},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "actual_5"
},
"parentId": "t04_42",
"slot": "try_fn"
},
{
"id": "t04_44",
"componentId": "Basic_SetVariable",
"label": "记录实际值与判定",
"position": {
"x": 220,
"y": 2600
},
"values": {
"value": "${[\"04-05\", \"Basic_GetProcessInfo\", (actual_5.id === \"test_appsystem_04\" && actual_5.name === \"组件测试 04 · 变量与配置\" && len(actual_5.runId) > 0 && actual_5.nodeCount > 0) ? \"PASS\" : \"FAIL\", \"{}\", \"当前流程 ID、名称、运行 ID 和节点数一致\", actual_5]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_5"
},
"parentId": "t04_42",
"slot": "try_fn"
},
{
"id": "t04_45",
"componentId": "Basic_SetVariable",
"label": "累计失败数",
"position": {
"x": 220,
"y": 2600
},
"values": {
"value": "${failures + (case_5[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_42",
"slot": "try_fn"
},
{
"id": "t04_46",
"componentId": "Basic_SetVariable",
"label": "累计待人工确认数",
"position": {
"x": 220,
"y": 2600
},
"values": {
"value": "${pending + (case_5[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_42",
"slot": "try_fn"
},
{
"id": "t04_47",
"componentId": "Basic_SetVariable",
"label": "记录异常结果",
"position": {
"x": 220,
"y": 2600
},
"values": {
"value": "${[\"04-05\", \"Basic_GetProcessInfo\", \"FAIL\", \"{}\", \"当前流程 ID、名称、运行 ID 和节点数一致\", error.reason]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_5"
},
"parentId": "t04_42",
"slot": "except_fn"
},
{
"id": "t04_48",
"componentId": "Basic_SetVariable",
"label": "异常累计失败数",
"position": {
"x": 220,
"y": 2600
},
"values": {
"value": "${failures + (case_5[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_42",
"slot": "except_fn"
},
{
"id": "t04_49",
"componentId": "Basic_SetVariable",
"label": "异常累计待确认数",
"position": {
"x": 220,
"y": 2600
},
"values": {
"value": "${pending + (case_5[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_42",
"slot": "except_fn"
},
{
"id": "t04_50",
"componentId": "Log_Info",
"label": "输出测试结果",
"position": {
"x": 220,
"y": 4568
},
"values": {
"msg": "用例结果:${json(case_5)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_51",
"componentId": "logic_control_try_catch",
"label": "04-06 · Basic_DebugOutput",
"position": {
"x": 220,
"y": 4710
},
"values": {},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_52",
"componentId": "Basic_DebugOutput",
"label": "Basic_DebugOutput",
"position": {
"x": 220,
"y": 2960
},
"values": {
"msg": "中文日志测试:${actual_2}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "actual_6"
},
"parentId": "t04_51",
"slot": "try_fn"
},
{
"id": "t04_53",
"componentId": "Basic_SetVariable",
"label": "记录实际值与判定",
"position": {
"x": 220,
"y": 2960
},
"values": {
"value": "${[\"04-06\", \"Basic_DebugOutput\", (actual_6 === \"中文日志测试:42\") ? \"PASS\" : \"FAIL\", \"{\\\"msg\\\":\\\"中文日志测试:${actual_2}\\\"}\", \"日志及返回值为“中文日志测试:42”\", actual_6]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_6"
},
"parentId": "t04_51",
"slot": "try_fn"
},
{
"id": "t04_54",
"componentId": "Basic_SetVariable",
"label": "累计失败数",
"position": {
"x": 220,
"y": 2960
},
"values": {
"value": "${failures + (case_6[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_51",
"slot": "try_fn"
},
{
"id": "t04_55",
"componentId": "Basic_SetVariable",
"label": "累计待人工确认数",
"position": {
"x": 220,
"y": 2960
},
"values": {
"value": "${pending + (case_6[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_51",
"slot": "try_fn"
},
{
"id": "t04_56",
"componentId": "Basic_SetVariable",
"label": "记录异常结果",
"position": {
"x": 220,
"y": 2960
},
"values": {
"value": "${[\"04-06\", \"Basic_DebugOutput\", \"FAIL\", \"{\\\"msg\\\":\\\"中文日志测试:${actual_2}\\\"}\", \"日志及返回值为“中文日志测试:42”\", error.reason]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_6"
},
"parentId": "t04_51",
"slot": "except_fn"
},
{
"id": "t04_57",
"componentId": "Basic_SetVariable",
"label": "异常累计失败数",
"position": {
"x": 220,
"y": 2960
},
"values": {
"value": "${failures + (case_6[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_51",
"slot": "except_fn"
},
{
"id": "t04_58",
"componentId": "Basic_SetVariable",
"label": "异常累计待确认数",
"position": {
"x": 220,
"y": 2960
},
"values": {
"value": "${pending + (case_6[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_51",
"slot": "except_fn"
},
{
"id": "t04_59",
"componentId": "Log_Info",
"label": "输出测试结果",
"position": {
"x": 220,
"y": 5352
},
"values": {
"msg": "用例结果:${json(case_6)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_60",
"componentId": "logic_control_try_catch",
"label": "04-07 · CustomConfig_GetConfig",
"position": {
"x": 220,
"y": 5494
},
"values": {},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_61",
"componentId": "CustomConfig_GetConfig",
"label": "CustomConfig_GetConfig",
"position": {
"x": 220,
"y": 3320
},
"values": {
"jsonlist": "[{\"name\":\"timeout\",\"value\":30}]",
"configName": "timeout"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "actual_7"
},
"parentId": "t04_60",
"slot": "try_fn"
},
{
"id": "t04_62",
"componentId": "Basic_SetVariable",
"label": "记录实际值与判定",
"position": {
"x": 220,
"y": 3320
},
"values": {
"value": "${[\"04-07\", \"CustomConfig_GetConfig\", (actual_7 === 30) ? \"PASS\" : \"FAIL\", \"{\\\"jsonlist\\\":\\\"[{\\\\\\\"name\\\\\\\":\\\\\\\"timeout\\\\\\\",\\\\\\\"value\\\\\\\":30}]\\\",\\\"configName\\\":\\\"timeout\\\"}\", \"数字 30\", actual_7]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_7"
},
"parentId": "t04_60",
"slot": "try_fn"
},
{
"id": "t04_63",
"componentId": "Basic_SetVariable",
"label": "累计失败数",
"position": {
"x": 220,
"y": 3320
},
"values": {
"value": "${failures + (case_7[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_60",
"slot": "try_fn"
},
{
"id": "t04_64",
"componentId": "Basic_SetVariable",
"label": "累计待人工确认数",
"position": {
"x": 220,
"y": 3320
},
"values": {
"value": "${pending + (case_7[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_60",
"slot": "try_fn"
},
{
"id": "t04_65",
"componentId": "Basic_SetVariable",
"label": "记录异常结果",
"position": {
"x": 220,
"y": 3320
},
"values": {
"value": "${[\"04-07\", \"CustomConfig_GetConfig\", \"FAIL\", \"{\\\"jsonlist\\\":\\\"[{\\\\\\\"name\\\\\\\":\\\\\\\"timeout\\\\\\\",\\\\\\\"value\\\\\\\":30}]\\\",\\\"configName\\\":\\\"timeout\\\"}\", \"数字 30\", error.reason]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_7"
},
"parentId": "t04_60",
"slot": "except_fn"
},
{
"id": "t04_66",
"componentId": "Basic_SetVariable",
"label": "异常累计失败数",
"position": {
"x": 220,
"y": 3320
},
"values": {
"value": "${failures + (case_7[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_60",
"slot": "except_fn"
},
{
"id": "t04_67",
"componentId": "Basic_SetVariable",
"label": "异常累计待确认数",
"position": {
"x": 220,
"y": 3320
},
"values": {
"value": "${pending + (case_7[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_60",
"slot": "except_fn"
},
{
"id": "t04_68",
"componentId": "Log_Info",
"label": "输出测试结果",
"position": {
"x": 220,
"y": 6136
},
"values": {
"msg": "用例结果:${json(case_7)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_69",
"componentId": "logic_control_try_catch",
"label": "04-08 · CustomConfig_GetConfig",
"position": {
"x": 220,
"y": 6278
},
"values": {},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_70",
"componentId": "CustomConfig_GetConfig",
"label": "CustomConfig_GetConfig",
"position": {
"x": 220,
"y": 3680
},
"values": {
"jsonlist": "[]",
"configName": "missing"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "actual_8"
},
"parentId": "t04_69",
"slot": "try_fn"
},
{
"id": "t04_71",
"componentId": "Basic_SetVariable",
"label": "记录实际值与判定",
"position": {
"x": 220,
"y": 3680
},
"values": {
"value": "${[\"04-08\", \"CustomConfig_GetConfig\", (actual_8 === null) ? \"PASS\" : \"FAIL\", \"{\\\"jsonlist\\\":\\\"[]\\\",\\\"configName\\\":\\\"missing\\\"}\", \"未命中返回 null\", actual_8]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_8"
},
"parentId": "t04_69",
"slot": "try_fn"
},
{
"id": "t04_72",
"componentId": "Basic_SetVariable",
"label": "累计失败数",
"position": {
"x": 220,
"y": 3680
},
"values": {
"value": "${failures + (case_8[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_69",
"slot": "try_fn"
},
{
"id": "t04_73",
"componentId": "Basic_SetVariable",
"label": "累计待人工确认数",
"position": {
"x": 220,
"y": 3680
},
"values": {
"value": "${pending + (case_8[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_69",
"slot": "try_fn"
},
{
"id": "t04_74",
"componentId": "Basic_SetVariable",
"label": "记录异常结果",
"position": {
"x": 220,
"y": 3680
},
"values": {
"value": "${[\"04-08\", \"CustomConfig_GetConfig\", \"FAIL\", \"{\\\"jsonlist\\\":\\\"[]\\\",\\\"configName\\\":\\\"missing\\\"}\", \"未命中返回 null\", error.reason]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_8"
},
"parentId": "t04_69",
"slot": "except_fn"
},
{
"id": "t04_75",
"componentId": "Basic_SetVariable",
"label": "异常累计失败数",
"position": {
"x": 220,
"y": 3680
},
"values": {
"value": "${failures + (case_8[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_69",
"slot": "except_fn"
},
{
"id": "t04_76",
"componentId": "Basic_SetVariable",
"label": "异常累计待确认数",
"position": {
"x": 220,
"y": 3680
},
"values": {
"value": "${pending + (case_8[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_69",
"slot": "except_fn"
},
{
"id": "t04_77",
"componentId": "Log_Info",
"label": "输出测试结果",
"position": {
"x": 220,
"y": 6920
},
"values": {
"msg": "用例结果:${json(case_8)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_78",
"componentId": "logic_control_try_catch",
"label": "04-09 · Basic_BusinessOrderCount",
"position": {
"x": 220,
"y": 7062
},
"values": {},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_79",
"componentId": "Basic_BusinessOrderCount",
"label": "Basic_BusinessOrderCount",
"position": {
"x": 220,
"y": 4040
},
"values": {
"start_count": 10,
"count": 2
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "actual_9"
},
"parentId": "t04_78",
"slot": "try_fn"
},
{
"id": "t04_80",
"componentId": "Basic_SetVariable",
"label": "记录实际值与判定",
"position": {
"x": 220,
"y": 4040
},
"values": {
"value": "${[\"04-09\", \"Basic_BusinessOrderCount\", (actual_9 === 12) ? \"PASS\" : \"FAIL\", \"{\\\"start_count\\\":10,\\\"count\\\":2}\", \"首次计数 12\", actual_9]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_9"
},
"parentId": "t04_78",
"slot": "try_fn"
},
{
"id": "t04_81",
"componentId": "Basic_SetVariable",
"label": "累计失败数",
"position": {
"x": 220,
"y": 4040
},
"values": {
"value": "${failures + (case_9[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_78",
"slot": "try_fn"
},
{
"id": "t04_82",
"componentId": "Basic_SetVariable",
"label": "累计待人工确认数",
"position": {
"x": 220,
"y": 4040
},
"values": {
"value": "${pending + (case_9[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_78",
"slot": "try_fn"
},
{
"id": "t04_83",
"componentId": "Basic_SetVariable",
"label": "记录异常结果",
"position": {
"x": 220,
"y": 4040
},
"values": {
"value": "${[\"04-09\", \"Basic_BusinessOrderCount\", \"FAIL\", \"{\\\"start_count\\\":10,\\\"count\\\":2}\", \"首次计数 12\", error.reason]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_9"
},
"parentId": "t04_78",
"slot": "except_fn"
},
{
"id": "t04_84",
"componentId": "Basic_SetVariable",
"label": "异常累计失败数",
"position": {
"x": 220,
"y": 4040
},
"values": {
"value": "${failures + (case_9[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_78",
"slot": "except_fn"
},
{
"id": "t04_85",
"componentId": "Basic_SetVariable",
"label": "异常累计待确认数",
"position": {
"x": 220,
"y": 4040
},
"values": {
"value": "${pending + (case_9[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_78",
"slot": "except_fn"
},
{
"id": "t04_86",
"componentId": "Log_Info",
"label": "输出测试结果",
"position": {
"x": 220,
"y": 7704
},
"values": {
"msg": "用例结果:${json(case_9)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_87",
"componentId": "logic_control_try_catch",
"label": "04-10 · Basic_BusinessOrderCount",
"position": {
"x": 220,
"y": 7846
},
"values": {},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_88",
"componentId": "Basic_BusinessOrderCount",
"label": "Basic_BusinessOrderCount",
"position": {
"x": 220,
"y": 4400
},
"values": {
"start_count": 10,
"count": 2
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "actual_10"
},
"parentId": "t04_87",
"slot": "try_fn"
},
{
"id": "t04_89",
"componentId": "Basic_SetVariable",
"label": "记录实际值与判定",
"position": {
"x": 220,
"y": 4400
},
"values": {
"value": "${[\"04-10\", \"Basic_BusinessOrderCount\", (actual_10 === 14) ? \"PASS\" : \"FAIL\", \"{\\\"start_count\\\":10,\\\"count\\\":2}\", \"同一流程再次计数 14\", actual_10]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_10"
},
"parentId": "t04_87",
"slot": "try_fn"
},
{
"id": "t04_90",
"componentId": "Basic_SetVariable",
"label": "累计失败数",
"position": {
"x": 220,
"y": 4400
},
"values": {
"value": "${failures + (case_10[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_87",
"slot": "try_fn"
},
{
"id": "t04_91",
"componentId": "Basic_SetVariable",
"label": "累计待人工确认数",
"position": {
"x": 220,
"y": 4400
},
"values": {
"value": "${pending + (case_10[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_87",
"slot": "try_fn"
},
{
"id": "t04_92",
"componentId": "Basic_SetVariable",
"label": "记录异常结果",
"position": {
"x": 220,
"y": 4400
},
"values": {
"value": "${[\"04-10\", \"Basic_BusinessOrderCount\", \"FAIL\", \"{\\\"start_count\\\":10,\\\"count\\\":2}\", \"同一流程再次计数 14\", error.reason]}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "case_10"
},
"parentId": "t04_87",
"slot": "except_fn"
},
{
"id": "t04_93",
"componentId": "Basic_SetVariable",
"label": "异常累计失败数",
"position": {
"x": 220,
"y": 4400
},
"values": {
"value": "${failures + (case_10[2] === \"FAIL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "failures"
},
"parentId": "t04_87",
"slot": "except_fn"
},
{
"id": "t04_94",
"componentId": "Basic_SetVariable",
"label": "异常累计待确认数",
"position": {
"x": 220,
"y": 4400
},
"values": {
"value": "${pending + (case_10[2] === \"MANUAL\" ? 1 : 0)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false,
"outputVar": "pending"
},
"parentId": "t04_87",
"slot": "except_fn"
},
{
"id": "t04_95",
"componentId": "Log_Info",
"label": "输出测试结果",
"position": {
"x": 220,
"y": 8488
},
"values": {
"msg": "用例结果:${json(case_10)}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_96",
"componentId": "Log_Info",
"label": "输出测试结果",
"position": {
"x": 220,
"y": 8630
},
"values": {
"msg": "本组汇总:失败 ${failures} 项,阻塞 ${blocked} 项,待人工确认 ${pending} 项。"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_97",
"componentId": "logic_control_if_else",
"label": "汇总判定",
"position": {
"x": 220,
"y": 8772
},
"values": {
"condition": "${failures > 0 || pending > 0 || blocked > 0}"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
}
},
{
"id": "t04_98",
"componentId": "ExceptionUtil_Throws",
"label": "如实标记未通过",
"position": {
"x": 220,
"y": 4940
},
"values": {
"msg": "组件测试未全部通过:失败 ${failures} 项,阻塞 ${blocked} 项,待人工确认 ${pending} 项。请查看日志。"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
},
"parentId": "t04_97",
"slot": "statement_if"
},
{
"id": "t04_99",
"componentId": "Log_Info",
"label": "输出测试结果",
"position": {
"x": 220,
"y": 4940
},
"values": {
"msg": "本组全部通过。"
},
"options": {
"timeoutMs": 15000,
"retryCount": 0,
"logException": false
},
"parentId": "t04_97",
"slot": "statement_else"
}
],
"edges": [
{
"id": "e_t04_2",
"source": "t04_1",
"target": "t04_2"
},
{
"id": "e_t04_3",
"source": "t04_2",
"target": "t04_3"
},
{
"id": "e_t04_4",
"source": "t04_3",
"target": "t04_4"
},
{
"id": "e_t04_5",
"source": "t04_4",
"target": "t04_5"
},
{
"id": "e_t04_13",
"source": "t04_5",
"target": "t04_13"
},
{
"id": "e_t04_14",
"source": "t04_13",
"target": "t04_14"
},
{
"id": "e_t04_22",
"source": "t04_14",
"target": "t04_22"
},
{
"id": "e_t04_23",
"source": "t04_22",
"target": "t04_23"
},
{
"id": "e_t04_31",
"source": "t04_23",
"target": "t04_31"
},
{
"id": "e_t04_32",
"source": "t04_31",
"target": "t04_32"
},
{
"id": "e_t04_33",
"source": "t04_32",
"target": "t04_33"
},
{
"id": "e_t04_41",
"source": "t04_33",
"target": "t04_41"
},
{
"id": "e_t04_42",
"source": "t04_41",
"target": "t04_42"
},
{
"id": "e_t04_50",
"source": "t04_42",
"target": "t04_50"
},
{
"id": "e_t04_51",
"source": "t04_50",
"target": "t04_51"
},
{
"id": "e_t04_59",
"source": "t04_51",
"target": "t04_59"
},
{
"id": "e_t04_60",
"source": "t04_59",
"target": "t04_60"
},
{
"id": "e_t04_68",
"source": "t04_60",
"target": "t04_68"
},
{
"id": "e_t04_69",
"source": "t04_68",
"target": "t04_69"
},
{
"id": "e_t04_77",
"source": "t04_69",
"target": "t04_77"
},
{
"id": "e_t04_78",
"source": "t04_77",
"target": "t04_78"
},
{
"id": "e_t04_86",
"source": "t04_78",
"target": "t04_86"
},
{
"id": "e_t04_87",
"source": "t04_86",
"target": "t04_87"
},
{
"id": "e_t04_95",
"source": "t04_87",
"target": "t04_95"
},
{
"id": "e_t04_96",
"source": "t04_95",
"target": "t04_96"
},
{
"id": "e_t04_97",
"source": "t04_96",
"target": "t04_97"
}
],
"meta": {
"createdAt": "2026-10-30T00:00:00.000Z",
"updatedAt": "2026-10-30T00:00:00.000Z",
"appVersion": "0.1.0"
}
}