当前位置:网站首页>Metersphere developer's Manual

Metersphere developer's Manual

2020-11-06 20:58:50 Talk about the road

What is? MeterSphere

MeterSphere It is a one-stop open source enterprise level continuous testing platform , Covering test tracking 、 The interface test 、 Performance testing 、 Teamwork and other functions , compatible JMeter Open source standards , Effectively help development and test teams to make full use of cloud elasticity for highly scalable automated testing , Accelerate high quality software delivery , Promote the overall efficiency of China's testing industry .

image

Download and install

  1. First step : Prepare a mainframe Prepare one no less than 8 G Memory and Internet access 64 position Linux host .
  2. The second step : Execute the one click Install command With root The user executes the following commands to install with one click MeterSphere:
curl -sSL https://github.com/metersphere/metersphere/releases/latest/download/quick_start.sh | sh

Functional architecture

image

Developer manual

Official development documents

https://metersphere.io/docs/dev_manual/

Add developer's Manual

One 、 Comprehensive understanding metersphere

The components that need to be installed locally are :<br>

  • Idea
  • JDK
  • Node.js
  • Mysql
  • Docker
  • Kafka
  1. Main system : Includes project front end and back end
 Back end framework : Spring Boot
 The front frame : Vue.js
 Code address :https://github.com/metersphere/metersphere
 Local development requires installation of :JDK、Node.js、Idea
  1. Performance test resource node service : adopt Docker start-up Jmeter Containers , Build the host as the performance test resource node ,jmeter The test log and test results of the test will be written to kafka
 Back end framework : Spring Boot
 Code address :https://github.com/metersphere/node-controller
 Local development requires installation of :JDK、Docker、Kafka
  1. Data consumption and performance result generation services : consumption kafka Information , Save performance test result data
 Back end framework : Spring Boot
 Code address :https://github.com/metersphere/data-streaming
 Local development requires installation of :JDK、Kafka
  1. There are some other components , Most of them have been uploaded to all kinds of warehouses , If you need a second transformation , You can refer to
https://github.com/metersphere
Two 、 Local development configuration file modification
  1. Three projects Application.java file
@PropertySource(value = {"file:/ Own directory /metersphere.properties"}, encoding = "UTF-8", ignoreResourceNotFound = true)
  1. metersphere Log file logback.xml
<property file="/ Own directory /metersphere.properties"/>
  1. metersphere Configuration file for application.properties
logging.file.path=/ Own directory /${spring.application.name}
3、 ... and 、 The code structure

It is described in the official development documentation

Four 、 start-up

image

  1. start-up node-controller and data-streaming image official account : The road test

版权声明
本文为[Talk about the road]所创,转载请带上原文链接,感谢