BAEL-1408: Intro to Performance Testing using JMeter

This commit is contained in:
Dassi Orleando 2017-12-05 07:51:37 +01:00
parent 28dd06d927
commit 1e0f0c1849
2 changed files with 25 additions and 2 deletions

View File

@ -21,6 +21,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version> <java.version>1.8</java.version>
<jmeter.version>2.6.0</jmeter.version>
</properties> </properties>
<dependencies> <dependencies>
@ -45,8 +46,24 @@
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
</plugin> </plugin>
<plugin>
<groupId>com.lazerycode.jmeter</groupId>
<artifactId>jmeter-maven-plugin</artifactId>
<version>${jmeter.version}</version>
<executions>
<execution>
<id>jmeter-tests</id>
<goals>
<goal>jmeter</goal>
</goals>
</execution>
</executions>
<configuration>
<testFilesDirectory>${project.basedir}/src/main/resources</testFilesDirectory>
<resultsDirectory>${project.basedir}/src/main/resources</resultsDirectory>
</configuration>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>

View File

@ -0,0 +1,6 @@
timeStamp,elapsed,label,responseCode,responseMessage,threadName,dataType,success,failureMessage,bytes,sentBytes,grpThreads,allThreads,Latency,IdleTime,Connect
1512454361862,181,HTTP Request,Non HTTP response code: java.net.ConnectException,Non HTTP response message: Connection refused (Connection refused),Thread Group 1-2,text,false,"The operation lasted too long: It took 181 milliseconds, but should not have lasted longer than 10 milliseconds.",2058,0,3,3,0,0,181
1512454361926,116,HTTP Request,Non HTTP response code: java.net.ConnectException,Non HTTP response message: Connection refused (Connection refused),Thread Group 1-3,text,false,"The operation lasted too long: It took 116 milliseconds, but should not have lasted longer than 10 milliseconds.",2058,0,3,3,0,0,116
1512454361862,181,HTTP Request,Non HTTP response code: java.net.ConnectException,Non HTTP response message: Connection refused (Connection refused),Thread Group 1-1,text,false,"The operation lasted too long: It took 181 milliseconds, but should not have lasted longer than 10 milliseconds.",2058,0,3,3,0,0,181
1512454362126,2,HTTP Request,Non HTTP response code: java.net.ConnectException,Non HTTP response message: Connection refused (Connection refused),Thread Group 1-4,text,false,,2058,0,1,1,0,0,2
1512454362326,2,HTTP Request,Non HTTP response code: java.net.ConnectException,Non HTTP response message: Connection refused (Connection refused),Thread Group 1-5,text,false,,2058,0,1,1,0,0,2
1 timeStamp elapsed label responseCode responseMessage threadName dataType success failureMessage bytes sentBytes grpThreads allThreads Latency IdleTime Connect
2 1512454361862 181 HTTP Request Non HTTP response code: java.net.ConnectException Non HTTP response message: Connection refused (Connection refused) Thread Group 1-2 text false The operation lasted too long: It took 181 milliseconds, but should not have lasted longer than 10 milliseconds. 2058 0 3 3 0 0 181
3 1512454361926 116 HTTP Request Non HTTP response code: java.net.ConnectException Non HTTP response message: Connection refused (Connection refused) Thread Group 1-3 text false The operation lasted too long: It took 116 milliseconds, but should not have lasted longer than 10 milliseconds. 2058 0 3 3 0 0 116
4 1512454361862 181 HTTP Request Non HTTP response code: java.net.ConnectException Non HTTP response message: Connection refused (Connection refused) Thread Group 1-1 text false The operation lasted too long: It took 181 milliseconds, but should not have lasted longer than 10 milliseconds. 2058 0 3 3 0 0 181
5 1512454362126 2 HTTP Request Non HTTP response code: java.net.ConnectException Non HTTP response message: Connection refused (Connection refused) Thread Group 1-4 text false 2058 0 1 1 0 0 2
6 1512454362326 2 HTTP Request Non HTTP response code: java.net.ConnectException Non HTTP response message: Connection refused (Connection refused) Thread Group 1-5 text false 2058 0 1 1 0 0 2