Introduction to the

Official MeterSphere documentation: MeterSphere documentation

Project address: MeterSphere is a one-stop open source continuous testing platform. To test, choose MeterSphere!

MeterSphere is a one-stop open source continuous testing platform, covering test tracking, interface testing, performance testing, team collaboration and other functions. It is compatible with JMeter and other open source standards, effectively assisting development and test teams to make full use of cloud flexibility for highly scalable automated testing and accelerating the delivery of high-quality software.

MeterSphere product advantages are as follows:

Open source: based on open source and compatible with open source; Release new versions every month, download and install more than 100 times a day, and have been verified by a large number of customers;

One-stop: a product comprehensively covers test tracking, interface testing, performance testing and other functions and forms linkage: use-case management is base requirements, interface automation testing is high-frequency requirements, and performance testing is expert services as the main tool, supplemented by tools; A product fully meets the full life cycle requirements from test planning, test execution to test report analysis;

Continuous testing: Ability to integrate testing into continuous delivery and DevOps systems; Seamless bug-management tools and continuous integration tools; Support team collaboration and asset deposition.

The main functions of MeterSphere are as follows:

Test tracking: Far more than TestLink, covering the entire process from writing use cases to generating test reports;

Interface testing: The combination of Postman’s ease of use and JMeter’s flexibility, interface management, multi-protocol support, scene automation, you want it all;

Performance testing: Compatible with JMeter, support Kubernetes and cloud environment, easily support high concurrency, distributed performance testing;

Team collaboration: user management, workspace and project management, access management, resource management, no matter the size of the team, there are always appropriate landing methods.

Tencent Cloud Lighthouse was selected for this installation and deployment. Compared with CVM, Lighthouse has high cost performance, strong performance, and sufficient bandwidth and traffic resource pack resources. With its emphasis on “application deployment,” Lighthouse server focuses usage on deployed applications, making it a great choice for individuals, small to medium sized teams, and enterprise users.

Installation and deployment:

This deployment selects the basic 2C4G configuration of Tencent Cloud LIghthouse, and the system image selects the Docker image based on CentOS7.6 for installation and deployment

The installation code is as follows (as user root) :

Please download the latest version of MeterSphere offline installation package by yourself. Download the package link: https://community.fit2cloud.com/#/products/metersphere/downloads, download Lighthouse is expected to take 2 min # extract the installation package, 30 minutes tar ZXVF metersphere-offline-installer-v1.18.0.tar.gz # Switch to the installation directory CD metersphere-offline-installer-v1.18.0 # /bin/bash install.shCopy the code

Docker and Docker-compose need to be installed in advance to install Metersphere. Docker based on Centsos can save some time for application installation and deployment.

After the installation is complete, run the ‘MSCTL status’ command to check the service running status.

# Use the command 'MSCTL status' to check the status of the serviceCopy the code

After the installation is successful, log in to MeterSphere using the following page (Lighthouse opens the corresponding port on the firewall)

Address: http://IP address of the target server :8081 Username: admin Password: metersphereCopy the code

Experience with

Enter the server IP address :8081 in the browser to access

After MeterSphere is installed, a default project will be created for users to simply learn and use, and users can operate by themselves after they are familiar with relevant functions.

MeterSphere test tracking module provides test case management, test case review, test plan tracking and other test management related functions. In this module, users can organize and manage test cases under the project according to the function modules of the tree. Meanwhile, they can review the added test cases, add the functional test cases to be tested, interface test cases and performance test cases to the same test plan for execution, and generate unified test reports.

MeterSphere interface test module provides interface definition, interface automation and other interface test-related functions. In this module, you can organize and manage the list of interfaces in a project according to the function modules in a tree. At the same time, you can create a single interface case for the added interface, and use multiple interfaces with functions such as variable extraction and condition judgment to perform scenarialized interface tests.

MeterSphere was pleasantly surprised by the performance test module, which allows users to create performance tests by creating existing interface tests or directly uploading JMX scripts, and adjust pressure parameters such as the number of concurrent users as needed. Stress testing after the completion of interface tests can also greatly save the time of project development.

Conclusion:

As a product of Feizhiyun, MeterSphere has a good overall experience. Compared with other interface testing tools such as YAPI, MeterSphere gives the author the overall impression that it has rich functions and can save a certain amount of development and deployment time. It is a good choice for some small development teams to reduce costs.

If you have any doubts about the performance of Lighthouse, you can also buy it. Lighthouse is constantly optimized on the basis of CVM, and it can meet the needs of most users

Lighthouse 10 million subsidies: Lighthouse is the first choice for website construction, mini-program and cross-border e-commerce!