-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'RM-4730_shares_server' into 'master'
RM-4730: Create share-server load tests See merge request cdoc2/cdoc2-gatling-tests!4
- Loading branch information
Showing
71 changed files
with
1,526 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
|
||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<parent> | ||
<artifactId>gatling-tests</artifactId> | ||
<groupId>ee.cyber.cdoc2</groupId> | ||
<version>2.0.0-SNAPSHOT</version> | ||
</parent> | ||
|
||
<artifactId>cdoc2-capsule-server-test</artifactId> | ||
<version>2.0.0-SNAPSHOT</version> | ||
<description>CDOC2 capsule server tests</description> | ||
|
||
<build> | ||
<plugins> | ||
|
||
<!-- task to generate key store files to use in gatling tests --> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>exec-maven-plugin</artifactId> | ||
<version>${exec-maven-plugin.version}</version> | ||
<configuration> | ||
<mainClass>ee.cyber.cdoc2.server.datagen.KeyStoreGenerator</mainClass> | ||
<systemProperties> | ||
<systemProperty> | ||
<!-- the folder where the generated files will be written --> | ||
<key>output-dir</key> | ||
<value>${basedir}/src/test/resources/keys/test-clients</value> | ||
</systemProperty> | ||
<systemProperty> | ||
<!-- the password for the generated keystores --> | ||
<key>keystore-password</key> | ||
<value>secret</value> | ||
</systemProperty> | ||
<systemProperty> | ||
<!-- the key alias for the generated entry in the keystore --> | ||
<key>key-alias</key> | ||
<value>client-key</value> | ||
</systemProperty> | ||
<systemProperty> | ||
<!-- location of the root keystore to use to sign certificate in the generated keystore --> | ||
<key>root-keystore</key> | ||
<value>${basedir}/src/test/resources/keys/gatling-ca.p12</value> | ||
</systemProperty> | ||
<systemProperty> | ||
<!-- the root keystore type --> | ||
<key>root-keystore-type</key> | ||
<value>pkcs12</value> | ||
</systemProperty> | ||
<systemProperty> | ||
<!-- the key alias for the entry in the root keystore to use for signing --> | ||
<key>root-key-alias</key> | ||
<value>gatling-ca</value> | ||
</systemProperty> | ||
<systemProperty> | ||
<!-- the root keystore password --> | ||
<key>root-keystore-password</key> | ||
<value>secret</value> | ||
</systemProperty> | ||
</systemProperties> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-checkstyle-plugin</artifactId> | ||
<version>3.5.0</version> | ||
|
||
<configuration> | ||
<configLocation>../checkstyle.xml</configLocation> | ||
<suppressionsLocation>checkstyle-suppressions.xml</suppressionsLocation> | ||
|
||
<sourceDirectories> | ||
<sourceDirectory>${project.build.sourceDirectory}</sourceDirectory> | ||
<sourceDirectory>${project.build.testSourceDirectory}</sourceDirectory> | ||
</sourceDirectories> | ||
|
||
<consoleOutput>true</consoleOutput> | ||
|
||
<failsOnError>true</failsOnError> | ||
<failOnViolation>false</failOnViolation> | ||
|
||
<linkXRef>false</linkXRef> | ||
</configuration> | ||
</plugin> | ||
|
||
</plugins> | ||
</build> | ||
|
||
</project> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
|
||
/** | ||
* Load test configuration | ||
* | ||
*/ | ||
@Value | ||
public class LoadTestConfig { | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
24 changes: 12 additions & 12 deletions
24
src/test/resources/keys/gatling-ca.pem → ...er/src/test/resources/keys/gatling-ca.pem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIICSDCCAc2gAwIBAgIJAOBRPfdGvE8YMAoGCCqGSM49BAMEMGoxCzAJBgNVBAYT | ||
AkVFMRAwDgYDVQQIEwdVbmtub3duMRAwDgYDVQQHEwdUYW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JVE8xEzARBgNVBAMTCkdhdGxpbmcgQ0EwdjAQ | ||
BgcqhkjOPQIBBgUrgQQAIgNiAARCAp54x81BBAZnA+fo73zaJpNAxIR5vFyG/EBP | ||
j3NvMkRSSiZABJ/uF85Qk1TmAK5+7I2Cg5g6dT8lb9JBDh9iWW28MnMOIYTDglOf | ||
qsGAIBo7HOaWqCLiLI41bKL5oI6jPzA9MB0GA1UdDgQWBBSOc+QzKfFtmItd8Cph | ||
TRuFZQPf+zALBgNVHQ8EBAMCAoQwDwYDVR0TBAgwBgEB/wIBAzAKBggqhkjOPQQD | ||
BANpADBmAjEA6FuSWYlw9MSy8w4UGNhET7TstFbM/P6gYgb2T+GEqq+kOMavybD8 | ||
uQdbupALwg4FAjEA5K67Y51Fc5nMTHZYELoiwy/4SLylHRSzEWwzejv2mYpg+I/H | ||
2yyxduEnF5WvQdfc | ||
-----END CERTIFICATE----- |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
|
||
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx</pattern> | ||
</encoder> | ||
<immediateFlush>false</immediateFlush> | ||
</appender> | ||
|
||
<appender name="FILE" class="ch.qos.logback.core.FileAppender"> | ||
<file>capsule-server-test-results.log</file> | ||
<append>true</append> | ||
<encoder> | ||
<pattern>%d{HH:mm:ss.SSS} [%-5level] %logger{15} - %msg%n%rEx</pattern> | ||
</encoder> | ||
<immediateFlush>true</immediateFlush> | ||
</appender> | ||
|
||
<!-- uncomment and set to DEBUG to log all failing HTTP requests --> | ||
<!-- uncomment and set to TRACE to log all HTTP requests --> | ||
<logger name="io.gatling.http.engine.response" level="DEBUG" /> | ||
<!-- <logger name="io.gatling" level="DEBUG" />--> | ||
<logger name="org.springframework" level="DEBUG"/> | ||
|
||
<root level="INFO"> | ||
<appender-ref ref="CONSOLE" /> | ||
<appender-ref ref="FILE" /> | ||
|
||
</root> | ||
|
||
</configuration> |
File renamed without changes.
Oops, something went wrong.