# 雪衣测试 **Repository Path**: xi-xiaofei/snow-coat-test ## Basic Information - **Project Name**: 雪衣测试 - **Description**: 这是雪衣智能客服工单系统的测试仓库 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2026-09-30 - **Last Updated**: 2026-10-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # snow-coat-test · 雪梨智能工单系统 测试仓库 本仓库存放 **雪梨智能 AI 工单系统** 的测试资产,与产品仓库 [snowy-coat-customer-service](https://gitee.com/xi-xiaofei/snowy-coat-customer-service.git) 分离管理。 ## 目录结构 | 目录 | 说明 | |---|---| | `tests/` | **界面自动化**(pytest + Playwright/浏览器驱动,含 autouse 登录 fixture) | | `api_tests/` | **接口自动化**(pytest + requests + 数据驱动,覆盖知识库 21 个端点) | | `jmxs/` | **性能测试**(JMeter 阶梯加压 + 全套监听器,含 PerfMon/ServerAgent 配置) | | `scripts/` | 测试辅助脚本(冒烟 `smoke_*`、JMeter 生成器 `gen_*`、种子 `seed.py` 等) | | `docs/` | 测试相关文档(Bug 复盘、JMeter 性能测试梳理、Postman 接口测试文档等) | ## 约定 - 接口自动化断言以 `body.code` 为准(后端 HTTP 恒为 200,业务结果看 `code`)。 - 知识库写接口仅 `admin` 可调,普通客服返回 `code=403`。 - 运行前确保后端 `127.0.0.1:8080`(或部署地址)已启动。 ## 快速开始 ```bash # 接口自动化 pip install requests pytest pytest api_tests -q # 界面自动化(需浏览器驱动) pytest tests -q ```