User Tools

Site Tools


tech:devops:jmeter:start

This is an old revision of the document!


JMeter Topics

Trivia

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

… the, the /usr/share/jmeter/certs directory should have ownership root:root, 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.

	<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>
tech/devops/jmeter/start.1508499521.txt.gz · Last modified: 2017/10/20 06:38 by rk4n3