GithubHelp home page GithubHelp logo

jmeter-api-demo's Introduction

README

这个项目演示了通过Java API执行JMeter脚本

主要功能包括:

  • 在线生成jmx脚本(demo1)
  • 加载本地已有jmx脚本(demo2)
  • 运行多个Sampler
  • 将生成的JMeter测试存储为.jmx文件
  • 将测试执行结果存储为.jtl or .csv文件

配置说明

  • 下载仓库 or git clone
  • 解压下载的文件,进入该文件夹
  • 执行 mvn clean install 命令
  • 进入 target 目录
  • 执行脚本命令 java -Djmeter.home=YOUR_JMETER_LOCATION -jar jmeter-from-code-1.0-SNAPSHOT-jar-with-dependencies.jar
  • 打开 example.jmx 在你的 "jmeter.home" 目录中示例脚本,example.jtl 是测试结果文件

jmeter-api-demo's People

Contributors

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