feat(test): VPN 黑盒/白盒测试工具 + 索引页 + 链路时序图与阶段拆解
- vpn_test.py(黑盒):站点矩阵连通/延迟(TLS 握手口径)/吞吐,落 tests/vpn/runs/ 并重建 index.html 索引(内嵌 meta、file:// 直开);索引含 cara→LA→Google 时序图 + 步骤表 - vpn_whitebox.py(白盒):双 IP-echo 判国内是否被隧道 + 五段拆解;经控制面 /v1/diag/egress 取出海段,自动算「接入段=整轮−出海段」,报告出「阶段拆解」表 (对应时序图 橙=接入 / 绿=出海) - tests/vpn/: runs 与生成的 index.html 为本地工件(.gitignore),README 说明用法 - docs/: vpn-testing-research.md(调研)+ vpn-test-plan.md(黑盒/白盒方案) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
# 测试产物为本地工件,不入 git(每次跑由 scripts/vpn_test.py 重新生成)
|
||||
runs/
|
||||
index.html
|
||||
Reference in New Issue
Block a user