====== JMeter Topics ====== ==== Links ==== * JMeter: [[https://jmeter.apache.org/download_jmeter.cgi]] * Maven JMeter plugin (official site): [[http://jmeter.lazerycode.com]] * Maven JMeter plugin (github): [[https://github.com/jmeter-maven-plugin/jmeter-maven-plugin]] * Maven JMeter Analysis plugin (github): [[https://github.com/afranken/jmeter-analysis-maven-plugin]] ===== Trivia ===== ==== Refer to current date/time ==== ${__time(yyyyMMddHHmmss)} ==== Embed result of arbitrary java ==== ${__BeanShell(new java.util.Date())} ==== JMeter Recording ==== 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'' ==== Using JMeter via Jenkins & Maven ==== 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. com.lazerycode.jmeter jmeter-maven-plugin 2.3.0 jmeter-tests verify jmeter