Files
bj_power/test/reports/RUN20261107-01-场景1.json
T

307 lines
12 KiB
JSON
Raw Normal View History

{
"runBatch": "RUN20261107-01",
"scenario": "场景1",
"startedAt": "2026-11-07 22:40:59",
"finishedAt": "2026-11-07 22:40:59",
"probes": [
{
"name": "MES",
"url": "http://127.0.0.1:8888",
"ok": false,
"detail": "不可达:Get \"http://127.0.0.1:8888/api/v1/login\": dial tcp 127.0.0.1:8888: connectex: No connection could be made because the target machine actively refused it."
},
{
"name": "WMS",
"url": "http://127.0.0.1:8890",
"ok": false,
"detail": "不可达:Get \"http://127.0.0.1:8890/api/health\": dial tcp 127.0.0.1:8890: connectex: No connection could be made because the target machine actively refused it."
},
{
"name": "工位终端",
"url": "http://127.0.0.1:8892",
"ok": false,
"detail": "不可达:Get \"http://127.0.0.1:8892/api/health\": dial tcp 127.0.0.1:8892: connectex: No connection could be made because the target machine actively refused it."
},
{
"name": "看板",
"url": "http://127.0.0.1:5173",
"ok": false,
"detail": "不可达:Get \"http://127.0.0.1:5173/\": dial tcp 127.0.0.1:5173: connectex: No connection could be made because the target machine actively refused it."
}
],
"loginErrors": [
"MES 登录失败:Post \"http://127.0.0.1:8888/api/v1/login\": dial tcp 127.0.0.1:8888: connectex: No connection could be made because the target machine actively refused it.",
"WMS 登录失败:Post \"http://127.0.0.1:8890/api/auth/login\": dial tcp 127.0.0.1:8890: connectex: No connection could be made because the target machine actively refused it.",
"工位终端 登录失败:Post \"http://127.0.0.1:8892/api/auth/login\": dial tcp 127.0.0.1:8892: connectex: No connection could be made because the target machine actively refused it."
],
"dbErrors": null,
"results": [
{
"stepId": "S1-00",
"caseLine": "案例.md:59,136",
"layer": "L1 接口响应",
"expect": "预检:主数据前提(工位3/6/12 启用、工艺 ACTIVE、三库连通)",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-01",
"caseLine": "案例.md:62 / 流水1-1 :135-141",
"layer": "L1 接口响应",
"expect": "建物料档案(原材料四件套 + 成品)",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-02",
"caseLine": "案例.md:65-66 / 流水1-2 :143-149",
"layer": "L1 接口响应",
"expect": "入库与来料检验(8/8/8 + 20 颗 SN,Z02,判合格)",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-03",
"caseLine": "案例.md:69-70 / 流水1-3 :151-157",
"layer": "L1 接口响应",
"expect": "建工单、自动排产、下发并开工",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-04",
"caseLine": "案例.md:73 / 流水1-4 :159-165",
"layer": "L1 接口响应",
"expect": "看备料清单(只读,实时计算不落台账)",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-05",
"caseLine": "案例.md:76-82 / 流水1-5 :167-173",
"layer": "L1 接口响应",
"expect": "上线建档与叫料(按包提交、分次补叫)",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-06",
"caseLine": "案例.md:85-87 / 流水1-6 :175-181",
"layer": "L1 接口响应",
"expect": "完成备料、生成出库单、建配送单",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-07",
"caseLine": "案例.md:88-89 / 流水1-7 :183-189",
"layer": "L1 接口响应",
"expect": "送货派车与 AGV 步进(人工确认装车/卸货)",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-08",
"caseLine": "案例.md:92 / 流水1-8 :191-197",
"layer": "L1 接口响应",
"expect": "接料确认",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-09",
"caseLine": "案例.md:93 / 流水1-9 :199-205",
"layer": "L1 接口响应",
"expect": "报工(工位3→6→12、装配绑定、拧紧)",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-10",
"caseLine": "案例.md:94-95 / 流水1-10 :207-213",
"layer": "L1 接口响应",
"expect": "下线完工、反冲扣账、成品回流、工单完工",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-11",
"caseLine": "案例.md:112 / 流水1-11 :215-221",
"layer": "L1 接口响应",
"expect": "绩效报表(含工单损耗)",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-12",
"caseLine": "案例.md:113 / 流水1-12 :223-229",
"layer": "L1 接口响应",
"expect": "工件追溯(3→6→12 时间线)",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-13",
"caseLine": "案例.md:114 / 流水1-13 :231-237",
"layer": "L1 接口响应",
"expect": "生产流程卡(主卡 + PDF/Excel/打印导出)",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-14",
"caseLine": "案例.md:98-102 / 流水1-14 :239-245",
"layer": "L1 接口响应",
"expect": "余料退库(两张分批退料单 + 库管确认收货)",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-15",
"caseLine": "案例.md:105 / 流水1-15 :247-253",
"layer": "L1 接口响应",
"expect": "下班收尾(左右接驳台空台校验)",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "S1-16",
"caseLine": "案例.md:109-110",
"layer": "L1 接口响应",
"expect": "收口核对:库存汇总 + 四类单据终态",
"actual": "未执行(前置条件不满足)",
"pass": false,
"failReason": "四服务未全部在监听,真实流水无法发起;未向运行库写入任何测试数据",
"status": "阻断"
},
{
"stepId": "C-01",
"caseLine": "案例.md:540-545",
"layer": "L4 交付物",
"expect": "叫料时接驳台非必填(允许空值行)(期望 \u003e=0)",
"actual": "select count(*) from material_request where target_dock is null or target_dock='' → \"0\"",
"pass": true,
"failReason": "",
"status": "通过"
},
{
"stepId": "C-02",
"caseLine": "案例.md:543,601-611",
"layer": "L4 交付物",
"expect": "退料必须指定左/右接驳台(空值行应为 0)(期望 0)",
"actual": "select count(*) from return_orders where return_dock is null or return_dock='' → \"0\"",
"pass": true,
"failReason": "",
"status": "通过"
},
{
"stepId": "C-03",
"caseLine": "案例.md:544,282",
"layer": "L4 交付物",
"expect": "叫料池按工位×物料聚合、不认工单(期望 \u003e=0)",
"actual": "select count(*) from call_pool → \"0\"",
"pass": true,
"failReason": "",
"status": "通过"
},
{
"stepId": "C-04",
"caseLine": "案例.md:551-560",
"layer": "L4 交付物",
"expect": "AGV 任务按配送单驱动(biz_no 关联配送单)(期望 \u003e=0)",
"actual": "select count(*) from agv_tasks → \"4\"",
"pass": true,
"failReason": "",
"status": "通过"
},
{
"stepId": "C-05",
"caseLine": "案例.md:613-617",
"layer": "L4 交付物",
"expect": "损耗原因在 WMS 确认收货时落账(期望 \u003e=0)",
"actual": "select count(*) from return_orders where loss_reason is not null and loss_reason\u003c\u003e'' → \"0\"",
"pass": true,
"failReason": "",
"status": "通过"
},
{
"stepId": "C-06",
"caseLine": "案例.md:623-625",
"layer": "L4 交付物",
"expect": "MES 物料副本与 WMS 主数据源同源(期望 同源)",
"actual": "MES=6 / WMS=6(差集需按 code 逐条核)",
"pass": true,
"failReason": "",
"status": "通过"
},
{
"stepId": "C-07",
"caseLine": "案例.md:547-549",
"layer": "L4 交付物",
"expect": "设备失联降级动作有事件日志留痕(期望 \u003e=0)",
"actual": "select count(*) from event_log → \"160\"",
"pass": true,
"failReason": "",
"status": "通过"
},
{
"stepId": "C-08",
"caseLine": "案例.md:449,547-549",
"layer": "L4 交付物",
"expect": "工位终端本地无离线队列/重试缓存表(期望 0)",
"actual": "select count(*) from sqlite_master where type='table' and name in ('report_queue','torque_results') → \"0\"",
"pass": true,
"failReason": "",
"status": "通过"
},
{
"stepId": "C-09",
"caseLine": "案例.md:619-621",
"layer": "L4 交付物",
"expect": "看板免登录可读、报喜不报忧",
"actual": "看板不可达:GET http://127.0.0.1:5173/:Get \"http://127.0.0.1:5173/\": dial tcp 127.0.0.1:5173: connectex: No connection could be made because the target machine actively refused it.(耗时 1ms)",
"pass": false,
"failReason": "看板服务未启动",
"status": "失败"
}
],
"summary": {
"total": 26,
"pass": 8,
"fail": 1,
"block": 17,
"passRate": "30.8%"
}
}