netty-http-echo-service
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.wso2.performance.common</groupId> <artifactId>netty-http-echo-service</artifactId> <version>0.4.5</version> </dependency>
<?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/maven-v4_0_0.xsd"> <parent> <artifactId>performance-common</artifactId> <groupId>org.wso2.performance.common</groupId> <version>0.4.5</version> <relativePath>../../pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>netty-http-echo-service</artifactId> <name>Netty HTTP Echo Service</name> <build> <plugins> <plugin> <artifactId>maven-shade-plugin</artifactId> </plugin> <plugin> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy</id> <phase>package</phase> <goals> <goal>copy</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>${project.groupId}</groupId> <artifactId>payload-generator</artifactId> <outputDirectory>${project.build.directory}</outputDirectory> </artifactItem> </artifactItems> <skip>${skipTests}</skip> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <executions> <execution> <id>generate-payload</id> <phase>pre-integration-test</phase> <goals> <goal>exec</goal> </goals> <configuration> <async>true</async> <executable>java</executable> <workingDirectory>${project.build.directory}</workingDirectory> <arguments> <argument>-jar</argument> <argument>payload-generator-${project.version}.jar</argument> <argument>--size</argument> <argument>1024</argument> </arguments> <skip>${skipTests}</skip> </configuration> </execution> <execution> <id>run-h1c-server</id> <phase>pre-integration-test</phase> <goals> <goal>exec</goal> </goals> <configuration> <async>true</async> <executable>java</executable> <workingDirectory>${project.build.directory}</workingDirectory> <arguments> <argument>-jar</argument> <argument>${project.artifactId}-${project.version}.jar</argument> </arguments> <skip>${skipTests}</skip> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.lazerycode.jmeter</groupId> <artifactId>jmeter-maven-plugin</artifactId> <executions> <execution> <id>jmeter-tests</id> <phase>integration-test</phase> <goals> <goal>jmeter</goal> </goals> </execution> <execution> <id>jmeter-check-results</id> <phase>post-integration-test</phase> <goals> <goal>results</goal> </goals> </execution> </executions> <configuration> <testFilesDirectory>${project.basedir}/../../distribution/scripts/jmeter</testFilesDirectory> <propertiesFilesDirectory>${project.basedir}/../../distribution/scripts/jmeter</propertiesFilesDirectory> <testFilesIncluded> <jMeterTestFile>http-post-request.jmx</jMeterTestFile> </testFilesIncluded> <propertiesUser> <users>100</users> <host>localhost</host> <payload>${project.build.directory}/1024B.json</payload> <response_size>1024</response_size> <duration>90</duration> </propertiesUser> </configuration> </plugin> </plugins> </build> <properties> <main.class>org.wso2.performance.common.netty.echo.EchoHttpServer</main.class> </properties> </project>