add httpbingo test

Change-Id: I41911d2a723ac64d5aa0cdf6b3f99b2554c6a196
This commit is contained in:
buyuxiang
2022-02-11 15:20:31 +08:00
parent fbeecc2693
commit 293551997f

View File

@@ -0,0 +1,32 @@
{
"config": {
"name": "request methods testcase: validate with parameters",
"base_url": "https://httpbingo.bytedance.net"
},
"teststeps": [
{
"name": "get with params",
"request": {
"method": "GET",
"url": "/get",
"params": {
"a": 1
}
},
"validate": [
{
"check": "status_code",
"assert": "greater_than",
"expect": 199,
"msg": "check status code"
},
{
"check": "body.args.a",
"assert": "equal",
"expect": "1",
"msg": "check argument a"
}
]
}
]
}