摘要:
import jsonpathimport requestsimport re#接口返回jsonpath取值url='http://49.235.92.12:7005/api/test/demo'r=requests.get(url)print(r.json())msg=jsonpath.jsonp 阅读全文
posted @ 2022-01-27 15:28
落落2009
阅读(1052)
评论(0)
推荐(0)
摘要:
import requestsimport pytestdef test_1(): url1=1 url2=2 body={} s=requests.session()#创建会话 print(s.headers) r=requests.post(url1,json=body) token=r.jso 阅读全文
posted @ 2022-01-27 09:38
落落2009
阅读(60)
评论(0)
推荐(0)
浙公网安备 33010602011771号