您好,欢迎来到站长目录(28sn.com)!


测试平台MeterSphere是强大的Tools

来源:网络整理 浏览:289次 时间:2022-08-14

MeterSphere介绍
MeterSphere是一站式的开源企业级持续测试平台,是一个加速高质量的软件交付平台吧,轻松在云端运行大规模的JMeter性能测试,我觉得涵盖测试跟踪、接口测试、性能测试、团队协作等功能,兼容JMeter 等开源标准,个人使用还是觉得非常不错,重点是开源。

使用背景

公司测试的平台需要经常交付部署,解决人工问题的痛点……

架构理解

安装
1、需要一台不小于8G内存且可以访问互联网的64位Linux主机;
2、以root用户执行如下命令一键安装MeterSphere
[root@master1 ~]# curl -sSL https://github.com/metersphere/metersphere/releases/latest/download/quick_start.sh | sh

--2021-01-13 06:18:03-- https://github.com/metersphere/metersphere/releases/latest/download/metersphere-release-v1.6.2.tar.gz
Resolving github.com (github.com)... 13.250.177.223
Connecting to github.com (github.com)|13.250.177.223|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/metersphere/metersphere/releases/download/v1.6.2/metersphere-release-v1.6.2.tar.gz [following]
--2021-01-13 06:18:04-- https://github.com/metersphere/metersphere/releases/download/v1.6.2/metersphere-release-v1.6.2.tar.gz
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/237867883/ef1cd680-5037-11eb-9e47-af03443a9c33?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210113%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210113T111804Z&X-Amz-Expires=300&X-Amz-Signature=8ef19220d5244c90fad92c9a6f5e7ad41000a066cf32190d7a171f3dcfb56d3f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=237867883&response-content-disposition=attachment%3B%20filename%3Dmetersphere-release-v1.6.2.tar.gz&response-content-type=application%2Foctet-stream [following]
--2021-01-13 06:18:04-- https://github-production-release-asset-2e65be.s3.amazonaws.com/237867883/ef1cd680-5037-11eb-9e47-af03443a9c33?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210113%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210113T111804Z&X-Amz-Expires=300&X-Amz-Signature=8ef19220d5244c90fad92c9a6f5e7ad41000a066cf32190d7a171f3dcfb56d3f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=237867883&response-content-disposition=attachment%3B%20filename%3Dmetersphere-release-v1.6.2.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.100.116
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.217.100.116|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8039 (7.9K) [application/octet-stream]
Saving to: ‘metersphere-release-v1.6.2.tar.gz’

100%[========================================================================================================================================================================>] 8,039 11.3KB/s in 0.7s

2021-01-13 06:18:06 (11.3 KB/s) - ‘metersphere-release-v1.6.2.tar.gz’ saved [8039/8039]

metersphere-release-v1.6.2/
metersphere-release-v1.6.2/quick_start.sh
metersphere-release-v1.6.2/msctl
metersphere-release-v1.6.2/install.sh
metersphere-release-v1.6.2/metersphere/
metersphere-release-v1.6.2/metersphere/docker-compose-kafka.yml
metersphere-release-v1.6.2/metersphere/docker-compose-node-controller.yml
metersphere-release-v1.6.2/metersphere/docker-compose-mysql.yml
metersphere-release-v1.6.2/metersphere/conf/
metersphere-release-v1.6.2/metersphere/conf/my.cnf
metersphere-release-v1.6.2/metersphere/conf/version
metersphere-release-v1.6.2/metersphere/conf/metersphere.properties
metersphere-release-v1.6.2/metersphere/version
metersphere-release-v1.6.2/metersphere/docker-compose-base.yml
metersphere-release-v1.6.2/metersphere/bin/
metersphere-release-v1.6.2/metersphere/bin/mysql/
metersphere-release-v1.6.2/metersphere/bin/mysql/init.sql
metersphere-release-v1.6.2/metersphere/docker-compose-server.yml
metersphere-release-v1.6.2/metersphere/logs/
metersphere-release-v1.6.2/metersphere/logs/README.md
metersphere-release-v1.6.2/install.conf
metersphere-release-v1.6.2/Jenkinsfile
metersphere-release-v1.6.2/README.md
======================= 开始安装 =======================
time: Wed Jan 13 06:18:06 EST 2021
MeterSphere Log: 检测到 Docker 已安装,跳过安装步骤
MeterSphere Log: 启动 Docker
Redirecting to /bin/systemctl start docker.service
which: no docker-compose in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
MeterSphere Log: ... 在线安装 docker-compose
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 651 100 651 0 0 1918 0 --:--:-- --:--:-- --:--:-- 1914
100 11.6M 100 11.6M 0 0 21361 0 0:09:32 0:09:32 --:--:-- 26035

Pulling ms-node-controller ... done
Pulling mysql ... done
Pulling ms-server ... done
Pulling zookeeper ... done
Pulling kafka ... done
Pulling ms-data-streaming ... done
5.3-ms14: Pulling from metersphere/jmeter-master
801bfaa63ef2: Pulling fs layer
59f8794b5182: Pulling fs layer
b0c05bf17fb2: Pulling fs layer
4e59daf8f2d1: Pulling fs layer
a8d3bfc40c06: Pulling fs layer
07be4530e3ef: Pulling fs layer
4e59daf8f2d1: Waiting
07be4530e3ef: Waiting
a8d3bfc40c06: Waiting
b0c05bf17fb2: Verifying Checksum
4e59daf8f2d1: Verifying Checksum
4e59daf8f2d1: Download complete
a8d3bfc40c06: Verifying Checksum
a8d3bfc40c06: Download complete
801bfaa63ef2: Verifying Checksum
801bfaa63ef2: Download complete
801bfaa63ef2: Pull complete
07be4530e3ef: Verifying Checksum
07be4530e3ef: Download complete
59f8794b5182: Verifying Checksum
59f8794b5182: Download complete
59f8794b5182: Pull complete
b0c05bf17fb2: Pull complete
4e59daf8f2d1: Pull complete
a8d3bfc40c06: Pull complete
07be4530e3ef: Pull complete
Digest: sha256:37aabd433e70ba5de7d9581ffb470979e30d5348e4cb2a0339a45415d5bc97c2
Status: Downloaded newer image for registry.cn-qingdao.aliyuncs.com/metersphere/jmeter-master:5.3-ms14
registry.cn-qingdao.aliyuncs.com/metersphere/jmeter-master:5.3-ms14
/root/metersphere-release-v1.6.2

Removing network metersphere_ms-network
Network metersphere_ms-network not found.
Removing volume metersphere_ms-conf
Volume metersphere_ms-conf not found.
Removing volume metersphere_ms-logs
Volume metersphere_ms-logs not found.
Removing volume metersphere_ms-data
Volume metersphere_ms-data not found.
Removing volume metersphere_ms-jmeter-data
Volume metersphere_ms-jmeter-data not found.
Removing volume metersphere_ms-mysql-data
Volume metersphere_ms-mysql-data not found.
Removing volume metersphere_ms-zookeeper-data
Volume metersphere_ms-zookeeper-data not found.
Removing volume metersphere_ms-kafka-data
Volume metersphere_ms-kafka-data not found.
Creating network "metersphere_ms-network" with the default driver
Creating volume "metersphere_ms-conf" with default driver
Creating volume "metersphere_ms-logs" with default driver
Creating volume "metersphere_ms-data" with default driver
Creating volume "metersphere_ms-jmeter-data" with default driver
Creating volume "metersphere_ms-mysql-data" with default driver
Creating volume "metersphere_ms-zookeeper-data" with default driver
Creating volume "metersphere_ms-kafka-data" with default driver
Creating mysql ... done
Creating ms-node-controller ... done
Creating zookeeper ... done
Creating kafka ... done
Creating ms-data-streaming ... done
Creating ms-server ... done

   Name                     Command                       State                               Ports                     

kafka /opt/bitnami/scripts/kafka ... Up (healthy) 0.0.0.0:19092->19092/tcp, 9092/tcp
ms-data-streaming /deployments/run-java.sh Up (health: starting) 0.0.0.0:8084->8084/tcp, 0.0.0.0:8085->8085/tcp
ms-node-controller /deployments/run-java.sh Up (healthy) 0.0.0.0:8082->8082/tcp
ms-server /deployments/run-java.sh Up (health: starting) 0.0.0.0:8081->8081/tcp
mysql docker-entrypoint.sh mysqld Up (healthy) 0.0.0.0:3307->3306/tcp, 33060/tcp
zookeeper /opt/bitnami/scripts/zooke ... Up (healthy) 2181/tcp, 2888/tcp, 3888/tcp, 8080/tcp
======================= 安装完成 =======================

请通过以下方式访问:
URL: http://$LOCAL_IP:8081
用户名: admin
初始密码: metersphere
您可以使用命令 'msctl status' 检查服务运行情况.

总结:
MeterSphere的安装几乎是傻瓜式的,总体界面友好,五颗星,继续升级改进 ,继续支持,

推荐站点

  • 我爱发烧音乐我爱发烧音乐

    我爱发烧音乐囊括了从流行音乐到古典音乐多个类型的音乐作品,专栏推荐最新的音乐,提供音乐排名榜单!可供免费线上收听音乐,歌曲流畅,音效极佳! 网站提供的钢琴以及二胡专栏,可供收听者,陶冶情操,改善心情,是难得的轻音乐典藏!

    www.520fs.com
  • 世纪音乐网世纪音乐网

    世纪音乐网是专业的在线音乐试听MP3下载网站。歌曲总计30余万首,收录了网上最新歌曲和流行音乐,DJ舞曲,非主流音乐,经典老歌,劲舞团歌曲,搞笑歌曲,儿童歌曲,英文歌曲等。是您上网听歌的最佳网站。

    www.ssjj.com
  • 杭州网杭州网

      杭州网是杭州地区唯一的新闻门户网站,由中共杭州市委宣传部、杭州日报报业集团和杭州广播电视集团共同组建的杭州网络传媒有限公司运营。

    www.hangzhou.com.cn
  • 深圳在线深圳在线

      深圳在线 www.szol.net是深圳本地最大、最早的地方生活资讯网站之一,网站名“深圳在线www.szol.net”由南方报业传媒集团编辑委员会总编辑、南方日报社总编辑、南方都市报总编辑、南方书画院名誉院长王春芙亲笔题名,深圳在线www.szol.net团队与深圳热线www.szonline.net、奥一网www.oeeee.com都源于全国最早成立于1996年的知名网络公司——深圳万用网。

    www.szol.net
  • 今题网今题网

     今题网- 中国领先的社区服务网,提供社区服务, 在线交友和商家推广服务,于2004年创建上线,公司现有员工超过百名。今题网自成立以来,凭借其独特的定位和丰富的社区交友功能, 凭借其团队超强的搜索引擎优化技术吸引超过千万的用户成为今题网的注册会员。

    www.jinti.com

鄂公网安备 42062502000001号