fix: output html report path optimization and failed to extract variables to session while load testing

This commit is contained in:
xucong053
2022-04-13 17:03:49 +08:00
parent 60f921dfd1
commit 65c4ac64e9
5 changed files with 65 additions and 13 deletions

View File

@@ -31,9 +31,11 @@ jobs:
run: ./output/hrp startproject demo
- name: Run generated demo tests
run: ./output/hrp run demo/testcases/
- name: Run demo in examples
- name: Run API test demo in examples
run: ./output/hrp run examples/demo-with-py-plugin/testcases/demo_with_funplugin.json
- name: Run load test demo in examples
run: |
./output/hrp run examples/demo-with-py-plugin/testcases/demo_with_funplugin.json
./output/hrp boom examples/demo-with-py-plugin/testcases/demo_with_funplugin.json --spawn-count 10 --spawn-rate 10 --loop-count 10
scaffold-with-go-plugin:
strategy:
@@ -56,10 +58,14 @@ jobs:
run: ./output/hrp startproject demo --go
- name: Run generated demo tests
run: ./output/hrp run demo/testcases/
- name: Run demo in examples
- name: Run API test demo in examples
run: |
go build -o examples/demo-with-go-plugin/debugtalk.bin examples/demo-with-go-plugin/plugin/debugtalk.go
./output/hrp run examples/demo-with-go-plugin/testcases/demo_with_funplugin.json
- name: Run load test demo in examples
run: |
go build -o examples/demo-with-go-plugin/debugtalk.bin examples/demo-with-go-plugin/plugin/debugtalk.go
./output/hrp boom examples/demo-with-go-plugin/testcases/demo_with_funplugin.json --spawn-count 10 --spawn-rate 10 --loop-count 10
scaffold-without-custom-plugin:
strategy:
@@ -82,6 +88,8 @@ jobs:
run: ./output/hrp startproject demo --ignore-plugin
- name: Run generated demo tests
run: ./output/hrp run demo/testcases/demo_without_funplugin.json
- name: Run demo in examples
- name: Run API test demo in examples
run: ./output/hrp run examples/demo-without-plugin/testcases/demo_without_funplugin.json
- name: Run load test demo in examples
run: |
./output/hrp run examples/demo-without-plugin/testcases/demo_without_funplugin.json
./output/hrp boom examples/demo-without-plugin/testcases/demo_without_funplugin.json --spawn-count 10 --spawn-rate 10 --loop-count 10