当前位置:网站首页>搭建你jmeter+jenkins+ant
搭建你jmeter+jenkins+ant
2022-06-28 06:22:00 【m0_62041335】
配置ant
首先创建一个test的文件夹

再test里面创建2个文件夹ant,TestAuto

然后在TestAuto文件夹下创建pc文件夹

再在pc下创建文件夹

把baidu.jmx拉入script文件夹里面

在resultlog文件夹下创建2个文件夹

将本地的ant包解压

配置环境变量 在ant的bin目录下
![]()
配置库文件


配置ant的编译文件build.xml

然后修改build的数据

8jmeter.propertise文档
找到jmeter.properties文档,在jmeter/bin目录下,打开该文档并编辑,修改jmeter报告输出格式为xml:
改jmeter.save.saveservice.output_format=csv 为jmeter.save.saveservice.output_format=xml,并去掉前面的注释符号#

在build.xml目录下输入cmd,并执行ant

如果出现如下图展示的信息,需要将javax.mail-1.6.2.jar包放在ant的\lib 目录下即可


生成测试报告

登录QQ邮箱,点击设置

点击账号

开启SMTP服务

发送短信



再次在build.xml上级文件夹下执行ant命令,执行成功并发送邮件


边栏推荐
- Using pytorch and tensorflow to calculate the confusion matrix of classification model
- ES9023音频解码芯片的工作原理
- 职场IT老鸟的几点小习惯
- socke.io長連接實現推送、版本控制、實時活躍用戶量統計
- Differences between overloads, rewrites, abstract classes and interfaces
- Online facing such an online world, the only limitation is our imagination
- Exception handling (I) -- null pointer and array index out of bounds
- 链表(二)——设计链表
- @The reason why the Autowired annotation is empty
- Drop down list processing in Web Automation
猜你喜欢

整型提昇和大小端字節序

Alert pop-up processing in Web Automation

FPGA - 7系列 FPGA SelectIO -09- 高级逻辑资源之IO_FIFO

链表(三)——反转链表

High quality domestic stereo codec cjc8988, pin to pin replaces wm8988

【Paper Reading-3D Detection】Fully Convolutional One-Stage 3D Object Detection on LiDAR Range Images

ES9023音频解码芯片的工作原理

mac下安装多个版本php并且进行管理

Yygh-6-wechat login

Caused by: com. fasterxml. jackson. databind. exc.InvalidDefinitionException: Cannot construct instance
随机推荐
链表(一)——移除链表元素
ImportError: cannot import name 'ensure_ dir_ Possible solutions for exists'
图片按日期批量导入WPS表格
Global country (and region) information JSON data
Differences between basic types and packaging classes
EasyUI reset multi condition query
记JPA使用自定义VO接收 JPQL查询结果
YYGH-BUG-02
cocoapod中的第三方库怎么引用本地头文件
手把手教你用Ucos
Lombok @equalsandhashcode annotation how to make objects The equals () method compares only some attributes
整型提昇和大小端字節序
OpenSCAP 简介
Linux MySQL implements root user login without password
高质量国产立体声编解码器CJC8988,Pin to Pin替代WM8988
Working principle of es9023 audio decoding chip
三极管驱动无刷电机
阿里云短信服务(完整指南),短信发送功能实现。
Idea automatically adds comments when creating classes
High quality domestic stereo codec cjc8988, pin to pin replaces wm8988