增加测试-2
This commit is contained in:
@@ -27,7 +27,7 @@ npm run test:industry:http -- \
|
||||
--signSecret=xxx
|
||||
|
||||
# 远程 - 使用 .env 中的密钥
|
||||
npm run test:industry:http -- --baseUrl=https://order.khhao.com
|
||||
npm run test:industry:http -- --baseUrl=https://ks.khhao.com
|
||||
```
|
||||
|
||||
测试内容:发码 → 幂等性 → 查询全部 → 查询单个 → 不存在订单 → 销毁 → 销毁验证 → 整单销毁 → 签名错误拦截
|
||||
@@ -37,12 +37,12 @@ npm run test:industry:http -- --baseUrl=https://order.khhao.com
|
||||
```bash
|
||||
# 全部接口 100 TPS
|
||||
npm run test:industry:http -- \
|
||||
--baseUrl=https://order.khhao.com \
|
||||
--baseUrl=https://ks.khhao.com \
|
||||
--load --tps=100 --duration=10
|
||||
|
||||
# 单接口 500 QPS
|
||||
npm run test:industry:http -- \
|
||||
--baseUrl=https://order.khhao.com \
|
||||
--baseUrl=https://ks.khhao.com \
|
||||
--load --endpoint=query-code --tps=500 --duration=30
|
||||
|
||||
# 测试环境(自签证书)
|
||||
|
||||
Reference in New Issue
Block a user