This is a sample project only containing a simple jmeter-java-dsl test to hit fake site (https://myservice) which can help starting a performance testing project from scratch.
Check jmeter-java-dsl user guide for more details jmeter-java-dsl and usage on existing Java projects.
- Java 11+
- Maven 3.5+
File | Description |
---|---|
pom.xml | Maven pom file which defines id for generated artifact, dependencies, way of building & testing project, and some other general aspects. |
PerformanceTest.java | Class containing one simple example of performance test. You may create a many JUnit tests as you want in one or multiple classes. Feel free to rename package according to your company or domain (eg: com.github.myuser). |
log4j2.xml | Log4j2 configuration file which allows tuning level (info, warn, debug), loggers (per package & class name) and destination of logs (stdout, file, etc). |
To execute the tests use IDE integrated features or use maven:
mvn clean test