mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-04 23:16:57 +08:00
fix locusts for test api and suite
This commit is contained in:
@@ -40,6 +40,7 @@ def gen_locustfile(testcase_file_path):
|
|||||||
"templates",
|
"templates",
|
||||||
"locustfile_template"
|
"locustfile_template"
|
||||||
)
|
)
|
||||||
|
TestcaseLoader.load_test_dependencies()
|
||||||
testset = TestcaseLoader.load_test_file(testcase_file_path)
|
testset = TestcaseLoader.load_test_file(testcase_file_path)
|
||||||
host = testset.get("config", {}).get("request", {}).get("base_url", "")
|
host = testset.get("config", {}).get("request", {}).get("base_url", "")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user