Skip to content

loadtest4j/loadtest4j-example-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loadtest4j-example-java

Build Status

A working example of loadtest4j in Java.

Usage

In Maven

# Runs all tests in development mode
mvn verify

# Runs load tests against staging
mvn test-compile surefire:test@load -P staging

# Runs load tests against production
mvn test-compile surefire:test@load -P production

In IDE

  1. Tick the box in your IDE to enable one of your loadtest4j Maven profiles. (The development profile is enabled by default).
  2. (Local mode) Start the Service Under Test.
  3. Hit Play to run the tests using that profile.