使用命令行方式,可能会不大习惯,下面来一个通过Pycharm来创建httprunner项目。创建虚拟环境。 安装httprunner 创建脚手架目录:httprunner startproject test_hru