pytest+allure +requests接口自動化

request是一個很實用的python HTTP客戶端庫,編寫爬蟲和測試服務器響應數據時經常會用到,Requests是python語言的第三方的庫,專門用於發送HTTP請求 GET請求: r = requests.get(「http://www.baidu.com」) 傳參: aa = {‘key1’: ‘value1’, ‘key2’: ‘value2’, ‘key3’: None} r =
相關文章
相關標籤/搜索