JmeterJenkinsmaven接口自动化集成5861.docx
《JmeterJenkinsmaven接口自动化集成5861.docx》由会员分享,可在线阅读,更多相关《JmeterJenkinsmaven接口自动化集成5861.docx(49页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Jmeter+Jenkins+maven接口自动化集成成(V1.0) 目录Jmeter+Jenkiins+maaven接口口自动化集成成1软件版本说明3一、 JDK安安装配置3二、 Maveen安装配置置31.1 Mavven安装31.2设置环境境变量31.3 mavven配置5三、 Maveen工程搭建建92.1、ecllipse创创建maveen工程92.2、Mavven工程子子目录创建102.3、Jmeeter配置置文件修改112.4、编辑ppom.xmml文件12四、 Jenkkins集成成193.1 Jeekins 安装193.2 Jeekins 配置193.3 jeenkinss新
2、建一个mmaven风风格的项目223.4 执行行job立即即构建27五、 附录228软件版本说明软件名称版本号下载地址JDK1.8 64bbithttp:/ Jenkinss 2.89.4(LTS)https:/jenkkins.iio/dowwnloadd/ maven3.3.9http:/mavenn.apacche.orrg/dowwnloadd.cgitomcat8.5.27https:/tomccat.appache.org/ddownlooad-800.cgi 一、 JDK安装配置置因为本次配套的的Jmeteer和Jennkins是是基于JAVVA语言开发发的,需要JJDK1.88
3、支持,首选选需要安装配配置JDK11.8。 JDKK安装配置详详见附录手册册。二、 Maven安装装配置Maven是一一个软件项目目管理工具,管管理javaa项目。我们们最能感受到到的Maveen的好处应应该是它的“自自动化构建”与与“管理依赖赖关系”两大大功能。1.1、Mavven安装将Maven包包(apacche-maaven-33.3.9.zip)解解压到对应目目录,我这里里放到D:java目目录下。1.2、设置环环境变量新建变量名MMAVEN_HOME,变变量值为maaven包路路径:MAVEN_HOME=D:jaavaappache-mavenn-3.3.9在PATH变变量值末位追
4、追加:;%MMAVEN_HOME%bin 。验证是否配置置成功打开cmmd命令窗口口 输入:MMVN VV,窗口打印印出maveen版本及环环境信息,说说明配置成功功。1.3、mavven配置默认mavenn是从公有仓仓库下载依赖赖jar包,如如果公司有自自己的私服,最最好连上,这这样下载jaar会快点。 路径:D:jjavaaapachee-maveen-3.33.9coonfseettinggs.xmllMaven配置置文件: !- pluuginGrroup | Speciifies a furrther groupp idenntifieer to use ffor pllugin l
5、ookuup. com.yyour.ppluginns - !- mirrror | Speciifies a reppositoory miirror site to usse insstead of a givenn repoositorry. Thhe reppositoory thhat | this mirroor serrves hhas ann ID tthat mmatchees thee mirrrorOf elemeent off thiss mirrror. IIDs arre useed | for iinheriitancee and direcct loookup
6、ppurposses, aand muust bee uniqque accross the sset off mirrrors. | miirrorIId rreposiitoryIId Humann Readdable Name for tthis MMirrorr. hhttp:/ - allimaveen aliyuun mavven hhttp:/maveen.aliiyun.ccom/neexus/ccontennt/grooups/ppublicc/ ccentraal reepo2 ccentraal Humann Readdable Name for tthis MMirro
7、rr. hhttp:/repoo2.mavven.orrg/mavven2/ mvvnrepoositorry mvnreeposittory mmaven hhttp:/centtral.mmaven.org/mmaven22/ ccentraal neet-cn ccentraal Humann Readdable Name for tthis MMirrorr. hhttp:/ uii ccentraal Humann Readdable Name for tthis MMirrorr. htttp:/uk.maaven.oorg/maaven2/ ibbiblioo ccentraal
8、 Humann Readdable Name for tthis MMirrorr. htttp:/mirroors.ibbiblioo.org/pub/mmirrorrs/mavven2/ jbboss-ppublicc-repoositorry-grooup ccentraal JBosss Publlic Reeposittory GGroup htttp:/repossitoryy.jbosss.orgg/nexuus/conntent/groupps/pubblic !- proofile | Speciifies a sett of iintrodductioons too the
9、 buildd proccess, to bee actiivatedd usinng onee or mmore oof thee | mechaanismss desccribedd abovve. Foor inhheritaance ppurposses, aand too actiivate profiiles vvia | or thhe commmand line, proffiles have to haave ann ID tthat iis uniique. | | An enncouraaged bbest ppractiice foor proofile identti
10、ficaation is too use a connsisteent naaming conveentionn | for pprofilles, ssuch aas ennv-devv, eenv-teest, env-produuctionn, uuser-jjdcaseey, user-brettt, ettc. | This will make it moore inntuitiive too undeerstannd whaat thee set of inntroduuced pprofilles iss atteemptinng | to acccompllish, parti
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- JmeterJenkinsmaven 接口 自动化 集成 5861
限制150内