Integration test for the jmeter-maven-plugin.
At the beginning the test, a Jetty HTTP Server is started, and a dummy webapp with an
index.html is deployed.
After that, the JMeter testplan
test.jmx requests the
index.html 10 times.
After the JMeter test ends, the Jetty server is shut down again.
Maven Verifier then checks whether
- the plugin was executed successfully
- the maven log shows any ERRORS
- the maven log contains text that indicates that the jmeter-maven-plugin finished correctly
- that all files listed in
expected-results.txtare present afterwards
if any of the above is negative, the test fails.
In order to make version, dependency and plugin management as easy as possible, both the
jmeter-maven-plugin-it module and the enclosed
jmeter-maven-plugin-it-run module (the module that runs the actual test) inherit from
Part of the development of this workspace is sponsored by CoreMedia