1、整个工程的目录结构:
2、工程说明:
# ddcapitest
XXX_API自动化测试
# 一、文件说明:
1、
ddcapitest/src/是工程的入口
ddcapitest/pom.xml是maven的构建文件
ddcapitest/README.md是注解文件
2、
ddcapitest/src/main/resources/是测试报告的模版
3、
ddcapitest/src/test/jmeter/是测试脚本与配置文件的目录
ddcapitest/src/test/jmeter/ddc.app是预留给app的
ddcapitest/src/test/jmeter/ddc.operate是预留给运营后台的
ddcapitest/src/test/jmeter/ddc.store是预留给门店后台的
.jmx后缀是JMeter的脚本
.csv后缀是脚本需要读取的配置文件
请注意脚本文件与配置文件需要处于同一目录下
# 二、运行:
需要安装Maven
在ddcapitest/根目录下
1、
编译
mvn verify
2、清理
mvn clean
# 三、分支说明:
master是主分支
不允许直接在这个分支上工作
各人在自己的分支上工作