Xsx easy jmeter is participating 2021 OSC China Open Source Project Selection , please vote for it!
Xsx easy jmeter in 2021 OSC China Open Source Project Selection {{projectVoteCount} has been obtained in, please vote for it!
2021 OSC China Open Source Project Selection It is in hot progress. Come and vote for your favorite open source project!
2021 OSC China Open Source Project Selection>>> Midfield Review
Xsx easy jmeter won the 2021 OSC China Open Source Project Selection "The Best Popularity Project" !
Authorization Agreement Mulan
development language Java
operating system Cross platform
Software type Open source software
Open source organizations nothing
region domestic
deliverer oXSXo
intended for unknown
Recording time 2022-12-01

Software Introduction

Easy jmeter is a testing tool, which is based on the secondary packaging of jmeter to reduce the threshold of using jmeter (non GUI mode).

Jmeter adaptation version

five point five

Use environment

jdk 1.8+

Project Properties

  • Create Test Plan
  • Execute test plan
  • Import test plan
  • Export Test Plan

Installation Tutorial

 mvn clean install

Maven coordinate

 <dependency> <groupId>wiki.xsx</groupId> <artifactId>easy-jmeter</artifactId> <version>Version number</version> </dependency>

Fast experience

 //Create Test Plan JmeterTestPlan testPlan = JmeterFactory.createTestPlan(); //Create test thread group JmeterDefaultThreadGroup threadGroup = JmeterFactory.createThreadGroup(); //Create test samples JmeterDefaultHttpSampler httpSampler = JmeterFactory.createHttpSampler().setDomain("www.baidu.com"); //Add sample threadGroup.addSampler(httpSampler); //Add Thread Group testPlan.setThreadGroup(threadGroup); //Execute test plan JmeterEngineStarter.run(testPlan); //Export Test Plan JmeterEngineStarter.export(testPlan, "E:\\jmeter\\test\\test.jmx"); //Import test plan HashTree tree = JmeterEngineStarter.load("E:\\jmeter\\test\\test.jmx");

 

Expand to read the full text

code

Gitee index of is
exceed Items for

comment

Click to lead the topic 📣 Post and join the discussion 🔥
No content temporarily
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
No more
No content temporarily
Issued a question and answer
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
No more
No content temporarily
No content temporarily
zero comment
three Collection
 OSCHINA
Log in to view more high-quality content
 Back to top
Top