diff --git a/examples/httpbingo_test.json b/examples/httpbingo_test.json new file mode 100644 index 00000000..b3461ee4 --- /dev/null +++ b/examples/httpbingo_test.json @@ -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" + } + ] + } + ] +} \ No newline at end of file