Skip to content

hoantran-it/jmeter-webload-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JMeter Web Load Testing example

JMeter maven project Amazon Web Service client API library for Java application

Getting Started

Download JMeter from Apache

Fork source code to local machine. Open file page-load.jmx for more detail about test scenario.

JMeter application

Installing

Run command to run JMeter by maven plugin

mvn verify

Sample use caces

Configuring Jenkins to get source code from this repository

Jenkins

Built With

  • Maven - Dependency Management
  • JMeter Plug-in
<plugins>
  <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <version>2.14.1</version>
  </plugin>
  <plugin>
    <groupId>com.lazerycode.jmeter</groupId>
    <artifactId>jmeter-maven-plugin</artifactId>
    <version>2.2.0</version>
    <executions>
      <execution>
        <id>jmeter-tests</id>
        <phase>verify</phase>
        <goals>
          <goal>jmeter</goal>
        </goals>
      </execution>
    </executions>
  </plugin>
  <plugin>
    <groupId>com.lazerycode.jmeter</groupId>
    <artifactId>jmeter-analysis-maven-plugin</artifactId>
    <version>1.0.6</version>
    <executions>
      <execution>
        <phase>verify</phase>
        <goals>
          <goal>analyze</goal>
        </goals>
        <configuration>
          <source>${project.build.directory}/**/*.jtl</source>
          <targetDirectory>${project.build.directory}/jmeter/results</targetDirectory>
          <processAllFilesFound>true</processAllFilesFound>
        </configuration>
      </execution>
     </executions>
  </plugin>
</plugins>

Versioning

For the versions available, see the github release

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache License - see the LICENSE.md file for details