In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
First, the environment to build installation jdk, eclipse, gitJdk download path: rj.baidu.com/soft/detail/14459.html? aldEclipse online installation package download address: http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/oxygen2Git installation package download address: https://git-scm.com/downloadeclipse need to install java EE version Jdk installation reference document: http://blog.csdn.net/ls1792304830/article/details/52718177 Configure jdk environment variables, enter java -version on the command line, as shown below, representing successful configuration
Git Installation Reference: www.cnblogs.com/wj-1314/p/7993819.html
After installing git, you need to configure the environment variables. Enter git on the command line, and the following page will be displayed to represent the successful installation of eclipse. Select java EE to install, and continue to the next step. Online installation is complete.
Install maven and configure Maven download path: maven.apache.org/download.cgi
apache-maven-3.5.3 has been placed in the corresponding path, the parameters have been modified, you need to configure the maven environment variable, cmd input mvn -v The following interface appears, which means that the configuration is successful
References http://blog.csdn.net/qq_40673345/article/details/79015456 You need to modify the xml under\apache-maven-3.5.3\conf\. Add C: \Repository in line 55. This path is the path to save the dependency package. You can configure the directory downloaded from the dependency package according to your own needs. The current configuration address of the dependency package is Alibaba Cloud. You do not need to modify it. If you modify it yourself, add this step in line 158.
nexus-aliyun
central
Nexus aliyun
http://maven.aliyun.com/nexus/content/groups/public
Install jenkinsJenkins Download path: https://jenkins.io/Reference: http://blog.csdn.net/kingboyworld/article/details/77922730 Install jenkins and install the following plugins on jenkins:
Maven Integration plugin Maven for jenkins can create maven jobs
Git plugin for downloading performance test code from github;
Performance plugin for displaying reports;
HTML Publisher plugin for displaying reports of test results for related interfaces. After jenkins installation is complete, first go to System Management>>Global Tool Configuration for global configuration
Configure git installation path
Configure jdk
Configure maven
After configuration, click save to save the default jenkins is the system service self-startup mode. It is recommended to use bat to start it, otherwise the invocation process will report an error. Enter services.msc on the command line to enter the service management page and change jenkins to manual mode.
Start jenkins with bat, manually create a file with the suffix.bat, and type Java-jar "C:\Program Files.(x86)\Jenkins\jenkins.war" The specific path is modified according to the path installed by yourself. Double-click the file to start the test script generated by using jmeter. Jmeter download path: http://www.jmeter.com//jmeter.apache.org/download_jmeter.cgi Start jmeter (Double-click bin\jmeter.bat in the jmeter decompression directory), create an interface request, and then save it as jmeter.jmx Create a maven project using eclipse First remember to configure the maven download address and global settings, eclipse>>window>>preferences, Then create a maven project at http://blog.csdn.net/u011939453/article/details/53301299, File>>New>>Maven Project, select Create a simple project, click next
Enter Group Id, Artifact Id, click Finish, add completed
After adding, you need to configure the pom.xml file. Once the configuration is complete, you can call the jmx file to execute the interface test and generate the test report. The full picture of the pom.xml file is as follows:
Creating projects with jenkins Building maven projects
Project source code configuration
Build Configuration
reporting configuration
All configurations are completed. Click Save button to enter the management page. Click Check Now to start the test.
Click Summary HTML Report to view the test report
The system displays the corresponding test report. Click the test report you want to view.
Click Detailed HTML Report to view the detailed interface request report, which records the assertion, request and response results of each interface.
If the article is helpful to you, you can click the attention function in the lower right corner. Welcome to forward and clap bricks. I will continue to publish articles related to testing and share testing technology with you. Each original article is carefully written to prevent plagiarism and copying. Weixin Official Accounts are synchronized with the articles on this platform for your convenience.
QQ technical exchange group: Add group Please enter verification information 51CTO
Wechat QR Code Follow Public Number:
After paying attention, reply to the resource download, you can get the download address of various resources I share
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.