User Tools

Site Tools


tech:devops:jmeter:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tech:devops:jmeter:start [2017/10/19 20:30]
rk4n3 created
tech:devops:jmeter:start [2018/01/31 15:02] (current)
rk4n3
Line 2: Line 2:
  
 ==== Links ==== ==== Links ====
-  * Maven JMeter plugin: [[https://​github.com/​jmeter-maven-plugin/​jmeter-maven-plugin]]+  ​* 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 ===== ===== Trivia =====
 +==== Refer to current date/time ====
 +<​code>​${__time(yyyyMMddHHmmss)}</​code>​
 +==== Embed result of arbitrary java ====
 +<​code>​${__BeanShell(new java.util.Date())}</​code>​
 +==== 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):<​code>​proxy.cert.directory=/​usr/​share/​jmeter/​certs</​code>​
 +... 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. 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.
 <​code>​ <​code>​
tech/devops/jmeter/start.1508463035.txt.gz · Last modified: 2017/10/19 20:30 by rk4n3