jmeter
Load/Performance testing
JMeter
JMeter is the most popular performance testing open source software provided by Apache. Once the plugin is added in the configuration file, a .jmx file that contains the JMeter test plan is added to the Test Maker project
project folder
│__tm-test.jmx
note
The jmx file is generated from the JMeter gui where the test plan is configured manually. JMeter documentation & tutorials can be found here.
In the spec file:
import {Feature, jMeterPlugin} from "test-maker";
Feature(`Performance tests`)
.Scenario(`Load testing`)
.Given(`JMeter test`, async (I, runInfo) => {
await jMeterPlugin.run({binPath: `./tools/jmeter/bin/jmeter`,
jmxPath: `./tm-test.jmx`})
})