python接口测试之测试用例封装与测试报告的生成
API信息:http://t.weather.sojson.com/api/weather/city/city_code
本文测试api:http://t.weather.sojson.com/api/weather/city/101210101
接口请求方式:get,接口入参:city_code
备注:文中涉及的API为又拍云提供的免费接口,尽量不要做性能方面的测试,请求量过大可能会导致ip被封;
原创
2020-06-08 17:46:46 ·
1285 阅读 ·
0 评论