当前位置:网站首页>Jenkins+ant+jmeter use
Jenkins+ant+jmeter use
2022-07-07 09:16:00 【Three thousand lanterns】
jenkins++ant+jmeter Use (windows+linux)
Windows The server
The following content is limited to personal simple understanding , There may be something wrong , Welcome criticism and advice !
Environmental installation
1.jmeter-----------> https://jmeter.apache.org/ download jmeter zip package , Installation
2. ant---------------> Download from the official website http://ant.apache.org/bindownload.cgi
3. jenkins----------> How to download \ Install self Baidu
Personally feel https://blog.csdn.net/weixin_41948075/article/details/97894080 Pretty good , You can refer to . It took Baidu several times to install it successfully , Installation efficiency is extremely low , It's always installed , Everyone has his own opinion !
jmeter Script
1、jmeter Script overall framework 
2、http Request defaults 

3、http Header management 
4、 User defined variables
BeanShell Assert applied variables , There can be no ( No introduction )
5、 request 
(1)、${name} This format is a parameter , The reference external data source parameter used in this location (.csv)
(2)、 The login interface will return token verification , In the next interface, you need to use ( Association )
Be careful : Whether the regular expression extraction is correct can be verified in the view result tree 

6、 Monitor ( View the request running results )
jenkins Automated email
1、 newly build item-----> Fill in the task name , Choose project style --------> determine ---------> preservation --------> function 

2、 Open local jenkinx The installation path ------->workspace------> There will be one and jenkins Create a new folder with the same name as the project -------> Copy inside resultLog、build.xml、.jmx Three things ***
(1)、123 There are three documents in the document 
(2)、 common build Script ( Baidu should be able to find , If you can't find it , I sent you )---------> Where to change , Document with D:\Jmeter Change everything 
(3)、resultLog The appearance of (html and jtl The copied content is the same )
3、 open jenkins-------> Click the configuration of the project , Go to the edit page ---------> Constructing environment 、 structure 、 Post-build operation 



边栏推荐
- Postman data driven
- On December 8th, 2020, the memory of marketing MRC application suddenly increased, resulting in system oom
- Common short chain design methods
- STM32的时钟系统
- NVIC interrupt priority management
- Pycharm importing third-party libraries
- 2022-07-06 Unity核心9——3D动画
- Druid monitoring - Introduction to JMX usage and principle
- Pytest+request+allure+excel interface automatic construction from 0 to 1 [familiar with framework structure]
- JVM garbage collection detailed learning notes (II)
猜你喜欢

Mysql database transaction learning notes

MySql数据库-索引-学习笔记

Skill review of test engineer before interview

UnityShader入门精要个人总结--基础篇(一)
![[istio introduction, architecture, components]](/img/2b/f84e5cdac6ed9b429e053ffc8dbeb0.png)
[istio introduction, architecture, components]

JWT certification used in DRF

Hard core sharing: a common toolkit for hardware engineers

【Istio Network CRD VirtualService、Envoyfilter】

C language pointer (special article)

C语言指针(特别篇)
随机推荐
What are the suggestions for PMP candidates?
Expérience de port série - simple réception et réception de données
DRF authentication, permissions, and flow restrictions (only for views in DRF)
Isomorphic C language
C语言指针(特别篇)
Interpretation of MySQL optimization principle
JWT certification used in DRF
硬件大熊原创合集(2022/05更新)
NVIC interrupt priority management
Analysis of Hessian serialization principle
Pytest+request+allure+excel interface automatic construction from 0 to 1 [familiar with framework structure]
Port occupation troubleshooting
C语言指针(上篇)
Record of structured interview
Selenium mouse sliding operation event
Some pit avoidance guidelines for using Huawei ECS
C language pointer (Part 2)
Full link voltage test of the e-commerce campaign Guide
Register address name mapping
Three updates to build applications for different types of devices | 2022 i/o key review