Giter Site home page Giter Site logo

jmeter-dcs's Introduction

jmeter-dcs

介绍

利用docekr容器实现Jmeter分布式压测,支持Grafana实时查看测试数据,在线查看测试报告。

软件架构

C/S

使用说明

#进入项目目录
cd jmeter-dcs

#构建镜像并运行容器(启动两个子节点slave=2)
docker-compose up -build --scale slave=2 -d

#进入master容器
docker exec -it jmeter-master bash

#切换到script文件夹下
cd script

#运行jmeter脚本(-R指定参与节点)
jmeter -n -t test.jmx  -l ../report/test01/data.csv -e -o ../report/test01 -R jmeter-dcs-slave-1,jmeter-dcs-slave-2

在线报告在脚本运行结束后通过[http://宿主机IP:3500],记得关闭防火墙和开放端口。 Grafana实时运行结果通过[http://宿主机IP:3600],记得关闭防火墙和开放端口。 账号密码:admin

jmeter-dcs's People

Contributors

kai3306 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.