性能测试需求
单场景
with open("n.txt",'w',encoding='utf8') as f: for i in range(1,10001): f.write(str(i)) f.write('\n')
CRUD
查询礼品
{"status":200,"msg":"success","result":{"id":1,"productName":"product1","price":1.0,"stock":9899999}}
兑换礼品
{"status":200,"msg":"success","result":"下单成功!下单商品为:product1"}
查询订单
{"status":200,"msg":"success","result":{"id":1,"orderNumber":"n305udx6jqu2pjxt","orderProductName":"product1","orderPrice":1.0,"count":1,"buyDate":"2021-12-11T14:26:05.000+0000"}}
待更新
混合场景
待更新
稳定性场景
待更新
异常场景
暂未考虑