执行命令:
hrp run .\test_extract.yml --gen-html-report
日志:
6:03PM INF validate status_code assertMethod=eq checkExpr=status_code checkValue=200 checkValueType=int64 expectValue=200 expectValueType=int64 result=true
6:03PM INF run step end exportVars={"agent":"application/json","origin":"218.94.85.82","url":"http://httpbin.org/post"} step=post success=true type=request
6:03PM INF run testcase end testcase="引用变量"
6:03PM INF create folder path="results\\20230515180308"
6:03PM INF generate HTML report path="results\\20230515180308\\report.html"
6:03PM INF quit hashicorp plugin process
2023-05-15T18:03:15.897+0800 [WARN] grpc-py: plugin failed to exit gracefully
2023-05-15T18:03:15.913+0800 [ERROR] grpc-py: plugin process exited: path=C:\Users\JennyJiang\.hrp\venv\Scripts\python.exe pid=22096 error="exit status 1"
标签:03PM,httprunner,plugin,report,run,validate,extract,INF From: https://www.cnblogs.com/jiangkeji/p/17403757.html