mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-03 14:59:38 +08:00
feat: make testcase with weight
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# NOTE: Generated By HttpRunner v3.0.13
|
||||
# NOTE: Generated By HttpRunner v3.1.0
|
||||
# FROM: examples/postman_echo/request_methods/request_with_functions.yml
|
||||
|
||||
from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase
|
||||
@@ -18,6 +18,7 @@ class TestCaseRequestWithFunctions(HttpRunner):
|
||||
.base_url("https://postman-echo.com")
|
||||
.verify(False)
|
||||
.export(*["foo3"])
|
||||
.locust_weight(2)
|
||||
)
|
||||
|
||||
teststeps = [
|
||||
|
||||
Reference in New Issue
Block a user