测试客户端

创建测试客户,选择客户身份,进入与销售的聊天测试。

client-test

61593803849503

facebook:61593803849503 / 客户 d38eb744
marioTest7-ai10proposal
marioTest7-ai10proposalunknown
同步: 初始
当前上下文
模式: ai_auto子状态: proposal_tool_or_platform下一步: proposal_follow_up置信度: 55.50%真实销售: marioTest7Chat Session: -
测试控制
Có bị chích điện không
10/08 13:42 / 客户
unknown / fallback / 45.00%proposal / proposal_tool_or_platform / proposal_follow_up
em đang dùng điện thoại gì để anh cài cho
10/08 13:42 / 销售
không đâu em ơi, tool cài trực tiếp về máy thôi, không giật điện gì đâu, yên tâm nha
10/08 13:42 / 销售
Đang bên cam hay châu phi
10/08 13:43 / 客户
unknown / fallback / 45.00%proposal / proposal_tool_or_platform / proposal_follow_up
em đang dùng điện thoại gì để anh cài tool cho em
10/08 13:43 / 销售
anh ở vn thôi em, mình hỗ trợ tool game á
10/08 13:43 / 销售
VN mà mày đang chui ở hố rác nào vậy
10/08 13:44 / 客户
unknown / fallback / 45.00%proposal / proposal_tool_or_platform / proposal_follow_up
em ơi mình nói chuyện bình thường thôi, anh chỉ hỗ trợ cài tool cho em á
10/08 13:44 / 销售
em có muốn làm tiếp không để anh hỗ trợ
10/08 13:44 / 销售
Tiếp dòng họ mày nhé
10/08 13:45 / 客户
unknown / fallback / 45.00%proposal / proposal_tool_or_platform / proposal_follow_up
em nói chuyện lịch sự thôi nha, anh hỗ trợ bình thường mà
10/08 13:45 / 销售
em còn cần cài tool không, cần thì anh giúp, không thì thôi anh nghỉ nha
10/08 13:45 / 销售
Mày đang chui ở hố rác nào vậy
10/08 13:46 / 客户
unknown / fallback / 45.00%proposal / proposal_tool_or_platform / proposal_follow_up
em không cần cài tool nữa thì anh dừng hỗ trợ nha, chúc em vui
10/08 13:46 / 销售
Thằng phần mềm phân sống
10/08 13:46 / 客户
unknown / fallback / 45.00%proposal / proposal_tool_or_platform / proposal_follow_up
anh dừng ở đây nha em, không hỗ trợ nữa
10/08 13:47 / 销售
Tao không cần, thằng phần mềm phân sống
10/08 13:47 / 客户
express_need / proposal_interest / 73.00%proposal / proposal_tool_or_platform / proposal_follow_up
ok em, chúc em vui vẻ nha
10/08 13:47 / 销售
Còn bên cam không
10/08 13:49 / 客户
unknown / fallback / 45.00%proposal / proposal_tool_or_platform / proposal_follow_up
em không cần tool thì anh không trả lời mấy câu này nữa nha
10/08 13:49 / 销售
Mày trả lời dòng họ mày í
10/08 13:49 / 客户
unknown / fallback / 45.00%proposal / proposal_tool_or_platform / proposal_follow_up
anh không nói chuyện kiểu này đâu nha, em cần gì về tool thì hỏi
10/08 13:50 / 销售
Chào đơ đơ
10/08 13:56 / 客户
smalltalk / opening / 76.00%proposal / proposal_tool_or_platform / proposal_follow_up
chào em
10/08 13:56 / 销售
Bố mẹ mày chết chưa
10/08 14:04 / 客户
unknown / fallback / 45.00%proposal / proposal_tool_or_platform / proposal_follow_up
em không nói chuyện kiểu này đâu nha, anh dừng ở đây
10/08 14:05 / 销售
Dòng họ mày chắc hãnh diện vì mày lắm nhỉ..
10/08 14:09 / 客户
unknown / fallback / 45.00%proposal / proposal_tool_or_platform / proposal_follow_up
anh không trả lời nữa nha, em cần tool thì nhắn, không thì chào em
10/08 14:10 / 销售

生产验收测试台

API 契约、权限矩阵、健康状态、测试数据、Mock、报告和发布 Checklist。

环境身份

app_env: testnode_env: productionsource_commit: d68727bbb80737f1c6f0b80ebcc3ff84aeb4eb20build_time: 2026-10-08T08:30:00Zapi_base_url: https://vsales-sales-test.vntask.proclient_base_url: https://vsales-sales-test.vntask.prosales_base_url: https://vsales-sales-test.vntask.proadmin_base_url: https://vsales-sales-test.vntask.prois_production: falseclient_testbench_enabled: trueclient_control_enabled: truedestructive_control_enabled: falseredis_configured: truesecrets_masked: true

健康状态

DB okWorker okRedis configured
DB 延迟: 11ms队列积压: 0失败: 0死信: 0客户: 9408事件: 188695

API Explorer

healthclientsalesadminadapterinternaltestbench
readnone

Lightweight service health and release identity.

{ ok, data: { service, app_env, source_commit, build_time, database } }
curl -sS -X GET "/api/v1/health"

测试数据与 Mock

等待执行

权限矩阵

anonymous允许: /api/v1/health禁止: /client / /sales / /admin / all writesnone
client-testbench允许: /client / /api/v1/client/* / /api/v1/client/testbench/*禁止: admin writes / sales actor overrideCLIENT_BASIC_AUTH_PASSWORD when configured
sales允许: /sales / /api/v1/sales/*禁止: other sales customer data / admin surfacesSALES_BASIC_AUTH_PASSWORD and resolved sales actor
admin允许: /admin / /api/v1/admin/*禁止: none when super_adminADMIN_BASIC_AUTH_PASSWORD
readonly-admin允许: admin read APIs禁止: system diagnostics write / config writes / dangerous mutationsADMIN_AUTH_USERS readonly role
adapter-client允许: /api/v1/adapters/{channel}/messages / delivery ack禁止: admin/sales/client UIadapter client id/secret/signature
internal-worker允许: /api/v1/internal/*禁止: browser UIinternal API token or network policy

报告中心

Lintnpm run lint
Typechecknpm run typecheck
Buildnpm run build.next/
Client/API contractnpm run test:contract
Admin contractnpm run test:contract:admin
Sales contractnpm run test:contract:sales
Adapter contractnpm run test:contract:adapter-facebook
Security boundariesnpm run test:security
Client e2enpm run test:e2e
Sales e2enpm run test:e2e:sales
Admin e2enpm run test:e2e:admin-filter-state
Client screenshotsnpm run test:screenshotsartifacts/client-screenshots
Sales screenshotsnpm run test:screenshots:salesartifacts/sales-screenshots
Admin screenshotsnpm run test:screenshots:adminartifacts/admin-screenshots
Health checkcurl -fsS $BASE_URL/api/v1/health

发布 Checklist

manualAPI contract scripts passnpm run test:contract && npm run test:contract:admin && npm run test:contract:sales
manualFrontend e2e scripts passnpm run test:e2e && npm run test:e2e:sales && npm run test:e2e:admin-filter-state
manualScreenshot regression passnpm run test:screenshots && npm run test:screenshots:sales && npm run test:screenshots:admin
passDatabase reachable
passWorker queues healthy
passRelease identity is present
passProduction destructive controls disabled by default
passProtected surfaces require auth in production
manualNo pending migration before releasenpm run db:migrate
manualBackup and restore drill verifiednpm run ops:prod:backup && npm run ops:prod:restore-drill
manualRollback runbook exists and is rehearsed
manualTest fixtures cleaned before prod releasenpm run data-governance:cleanup-test-data
manualProduction monitoring and alerts verifiednpm run ops:prod:alert

页面回归入口

Client testbench/clienttest:screenshots / test:contract / test:e2e
Sales workbench/salestest:screenshots:sales / test:e2e:sales / test:contract:sales
Sales customer detail/sales/customers/:customerIdtest:e2e:sales / test:contract:sales
Admin dashboard/admintest:screenshots:admin / test:e2e:admin-filter-state / test:contract:admin
Admin customers/admin?tab=customerstest:e2e:admin-filter-state
Admin configs/admin?tab=configstest:contract:admin