Coder Social home page Coder Social logo

dizhaung / jmeter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yangengzhe/jmeter

0.0 1.0 0.0 4 KB

利用JMeter对Web应用进行自动化压力测试。JAVA编写,通过参数动态改变线程数,通过模拟并发数测试应用的吞吐率,找到最佳吞吐率和最大吞吐率

Java 100.00%

jmeter's Introduction

JMeter的自动化压测工具

Jmeter是一个优秀的基于java开发的测试工具,主要用来测试web应用的性能。

具体可以参考: http://www.i3geek.com/archives/1147

用法

  1. 利用JMeter录制测试脚本,并设定参数
  2. 生成测试脚本jmx
  3. 在java程序中修改线程数,并引用脚本
  4. 自动化运行,并收集结果(如时间、吞吐量等)

作用

通过自动化脚本,可以方便的画出web应用的并发数与吞吐率的函数关系,制定应用的性能曲线

源码说明

jmeter.jmx
	|-pojo	
	|	|-summaryPojo.java
	|		jmeter中汇聚报告的pojo
	|-util
	|	|-execLinux.java
	|	|	linux环境下,脚本的运行辅助类
	|	|-parseReport.java
	|	|	解析抓取的Report成pojo的辅助类
	|	|-parseXML.java
	|		解析返回结果的XML的辅助类
	|-jmeter.java
		主类,测试运行类

jmeter's People

Contributors

yangengzhe 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.