mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-10 10:19:38 +08:00
change: replace template with config headers
This commit is contained in:
3
examples/empty-demo-without-plugin/.env
Normal file
3
examples/empty-demo-without-plugin/.env
Normal file
@@ -0,0 +1,3 @@
|
||||
base_url=https://postman-echo.com
|
||||
USERNAME=debugtalk
|
||||
PASSWORD=123456
|
||||
14
examples/empty-demo-without-plugin/.gitignore
vendored
Normal file
14
examples/empty-demo-without-plugin/.gitignore
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
reports/
|
||||
*.so
|
||||
.vscode/
|
||||
.idea/
|
||||
.DS_Store
|
||||
output/
|
||||
__pycache__/
|
||||
*.pyc
|
||||
.python-version
|
||||
logs/
|
||||
|
||||
# plugin
|
||||
debugtalk.bin
|
||||
debugtalk.so
|
||||
0
examples/empty-demo-without-plugin/har/.keep
Normal file
0
examples/empty-demo-without-plugin/har/.keep
Normal file
6
examples/empty-demo-without-plugin/proj.json
Normal file
6
examples/empty-demo-without-plugin/proj.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"project_name": "empty-demo-without-plugin",
|
||||
"project_path": "/Users/debugtalk/MyProjects/HttpRunner-dev/httprunner/examples/empty-demo-without-plugin",
|
||||
"create_time": "2022-05-28T09:46:53.794409+08:00",
|
||||
"hrp_version": "v4.1.0-beta"
|
||||
}
|
||||
25
examples/empty-demo-without-plugin/testcases/requests.json
Normal file
25
examples/empty-demo-without-plugin/testcases/requests.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"config": {
|
||||
"name": "request methods testcase: empty testcase",
|
||||
"variables": null,
|
||||
"verify": false
|
||||
},
|
||||
"teststeps": [
|
||||
{
|
||||
"name": "",
|
||||
"variables": null,
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"url": "https://"
|
||||
},
|
||||
"validate": [
|
||||
{
|
||||
"check": "status_code",
|
||||
"assert": "equal",
|
||||
"expect": 200,
|
||||
"msg": "check status_code"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user