${__time(yyyyMMddHHmmss)}
${__BeanShell(new java.util.Date())}
The directory where JMeter saves certs must be writable by the user. This location defaults to the bin
directory where the JMeter executable lives, which is not suitable for user-writability, and should be changed in the user.properties
file (located in the same bin
location):
proxy.cert.directory=/usr/share/jmeter/certs
… then, the /usr/share/jmeter/certs
directory should have ownership root:root
and permissions drwxrwxrwt
Adding this to build
section of POM file will cause the plugin to pick up all .jmx
files under the src/test/jmeter
subdirectory of the project workspace.
<plugin> <groupId>com.lazerycode.jmeter</groupId> <artifactId>jmeter-maven-plugin</artifactId> <version>2.3.0</version> <executions> <execution> <id>jmeter-tests</id> <phase>verify</phase> <goals> <goal>jmeter</goal> </goals> </execution> </executions> </plugin>