其他分享
首页 > 其他分享> > Jenkins+JMeter+Ant 接口持续集成

Jenkins+JMeter+Ant 接口持续集成

作者:互联网

​JMeter安装

JMeter安装包:

JDK环境配置:

 

JMeter配置文件修改

为什么要修改配置文件

如果出现如下内容,说明安装成功:

Buildfile: build.xml does not exist!

Build failed


Ant相关使用:

定制集成Ant配置文件(bulid.xml):

具体参看build.xml文件


Jenkins相关插件介绍与配置:

Jenkins,之前叫做Hudson,是基于Java开发的一种持续集成工具,用于监控持续重复的工作,包括:

1.      持续的软件版本发布/测试项目。

2.      监控外部调用执行的工作。

Jenkins部署:

Jenkins安装插件:


JMeter插件:Performance plugin

配置说明:

配置说明:

Html展示插件:HTML Publisher plugin

配置说明:

原理说明:

Jenkins配置:

服务器环境与依赖:

其他:


 

测试执行与报告优化:

测试报告模板:

jmeter自带模板:

第三方模板:

第三方模板:

 

复制代码 复制代码
jmeter.save.saveservice.data_type=true
jmeter.save.saveservice.label=true
jmeter.save.saveservice.response_code=true
# response_data is not currently supported for CSV output
jmeter.save.saveservice.response_data=true
# Save ResponseData for failed samples
jmeter.save.saveservice.response_data.on_error=false
jmeter.save.saveservice.response_message=true
jmeter.save.saveservice.successful=true
jmeter.save.saveservice.thread_name=true
jmeter.save.saveservice.time=true
jmeter.save.saveservice.subresults=true
jmeter.save.saveservice.assertions=true
jmeter.save.saveservice.latency=true
jmeter.save.saveservice.connect_time=true
jmeter.save.saveservice.samplerData=true
jmeter.save.saveservice.responseHeaders=true
jmeter.save.saveservice.requestHeaders=true
jmeter.save.saveservice.encoding=true
jmeter.save.saveservice.bytes=true
jmeter.save.saveservice.url=true
jmeter.save.saveservice.filename=true
jmeter.save.saveservice.hostname=true
jmeter.save.saveservice.thread_counts=true
jmeter.save.saveservice.sample_count=true
jmeter.save.saveservice.idle_time=true
复制代码

 

复制代码
l  修改build.xml文件,如下style的值修改为新下载的xsl文件名:

http://market.szonline.net/amaz/24352.html
http://market.szonline.net/amaz/24351.html
http://market.szonline.net/amaz/24350.html
http://market.szonline.net/amaz/24349.html
http://market.szonline.net/amaz/24348.html
http://market.szonline.net/amaz/24347.html
http://market.szonline.net/amaz/24346.html
http://market.szonline.net/amaz/24345.html
http://market.szonline.net/amaz/24344.html
http://market.szonline.net/amaz/24343.html
http://market.szonline.net/amaz/24342.html
http://market.szonline.net/amaz/24341.html
http://market.szonline.net/amaz/24340.html
http://market.szonline.net/amaz/24339.html
http://market.szonline.net/amaz/24338.html
http://market.szonline.net/amaz/24337.html
http://market.szonline.net/amaz/24336.html
http://market.szonline.net/amaz/24335.html
http://market.szonline.net/amaz/24334.html
http://market.szonline.net/amaz/24333.html
http://market.szonline.net/amaz/24332.html
http://market.szonline.net/amaz/24331.html
http://market.szonline.net/amaz/24330.html
http://market.szonline.net/amaz/24329.html
http://market.szonline.net/amaz/24328.html
http://market.szonline.net/amaz/24327.html
http://market.szonline.net/amaz/24326.html
http://market.szonline.net/amaz/24325.html
http://market.szonline.net/amaz/24324.html
http://market.szonline.net/amaz/24323.html
http://market.szonline.net/amaz/24322.html

http://market.szonline.net/amaz/24388.html
http://market.szonline.net/amaz/24387.html
http://market.szonline.net/amaz/24386.html
http://market.szonline.net/amaz/24385.html
http://market.szonline.net/amaz/24384.html
http://market.szonline.net/amaz/24383.html
http://market.szonline.net/amaz/24382.html
http://market.szonline.net/amaz/24381.html
http://market.szonline.net/amaz/24380.html
http://market.szonline.net/amaz/24379.html
http://market.szonline.net/amaz/24378.html
http://market.szonline.net/amaz/24377.html
http://market.szonline.net/amaz/24376.html
http://market.szonline.net/amaz/24375.html
http://market.szonline.net/amaz/24374.html
http://market.szonline.net/amaz/24373.html
http://market.szonline.net/amaz/24372.html

标签:htmlhttp,jmeter,szonline,Ant,Jenkins,net,JMeter,market,amaz
来源: https://www.cnblogs.com/cider/p/11883688.html