Skip to content

User Jmeter script to do API functional testing and server load/stability testing

License

Notifications You must be signed in to change notification settings

MCS-Lite/mcs-lite-jmeter-test

Repository files navigation

mcs-lite-jmeter-test

Use JMeter script to do API functional testing and server load/stability testing

Setup Environment

  1. To install JMeter 2.13.

  2. To install the following JMeter plugins

    All the plugins can all be managed by Jmeter Plugins Manager.

  3. To extend JMeter library support for JSON by adding 3 minimal-json-0.9.4*.jar files from minimal-json to ${JMeterRoot}/lib/ext folder.

Get Started

  1. Launch ApacheJMeter.jar, which is under ${JMeterRoot}/bin folder.
  2. Open the test script in JMeter and modify the user variable, envVariables_local, to fit your test environment.

Functional Testing

The test cases are in SmokeTest_lite.jmx. You can see the test result in View Results Tress.

Load/Capacity Testing

The test cases are in PerformanceTest_lite.jmx. You can see the test result in Transaction per Second and PerfMon Metric Collector.

Suggest to execute this performance test script in non-GUI mode with command

 ${JMeterRoot}/bin/jmeter -n -t PerformanceTest_lite.jmx -l LogFile.jtl

Here are some userful practices while doing performance testing via JMeter: 9 Easy Solutions for a JMeter Load Test “Out of Memory” Failure

About

User Jmeter script to do API functional testing and server load/stability testing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published