hrun运行yaml文件报错httprunner.cli:main_run:49 - No valid testcases found, exit 1.

问题描述:

httprunner版本:3.1.4

har2case -V
0.3.1

yaml文件如下:

- config:
        name: httpbin api test
        request:
              base_url: http://www.httpbin.org
- test:
        name: get request
        request:
              url: /get
              method: GET
        validate:
              - eq: [status_code, 200]

hrun运行yaml文件报错httprunner.cli:main_run:49 - No valid testcases found, exit 1.(找不到有效的测试用例)

解决办法:

目前还未找到有效的解决办法,有遇到同样问题的同学吗?怎么解决的?

猜你喜欢

转载自blog.csdn.net/DaisyCold/article/details/108417304