天天天蓝loveyou

关注

Pytest+requests

天天天蓝loveyou

关注

阅读 59

2022-08-01

没啥好讲的,基础中的基础


免费api网址: https://www.binstd.com/


"""
Author:Zhou
Create_Date:2022年08月01日--22:09
Tool:PyCharm
Software: PyCharm
"""
import requests


def test_mobile():
r = requests.get('https://api.binstd.com/shouji/query',
params={"shouji": "**********", "appkey": "*********"}
)
print(r.status_code)
assert r.status_code == 200
print(r.json())

Pytest+requests_pytest

相关推荐

大漠雪关山月

[接口测试_B] 14 pytest+requests实战-参数化

大漠雪关山月 79 0 0

凉夜lrs

接口测试 | 25 requests + pytest测试实例

凉夜lrs 58 0 0

月孛星君

接口自动化Requests+Pytest基础实现

月孛星君 28 0 0

花明

python+requests+pytest+allure自动化框架

花明 18 0 0

kolibreath

自动化测试框架pytest+allure+requests

kolibreath 8 0 0

左小米z

python+requests+pytest 接口自动化实现

左小米z 25 0 0

林塬

python+requests+mysql+pytest接口自动化

林塬 79 0 0

认真的老去

Python+requests+pytest+allure自动化测试框架

认真的老去 14 0 0

老王420

python+requests+pytest 接口自动化框架(二)

老王420 88 0 0

青青子衿谈育儿

python+requests+pytest实现接口自动化测试

青青子衿谈育儿 56 0 0

精彩评论(0)

0 0 举报