Maven plugin that runs tests of the autobahntestsuite as port of your build
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Maven Autobahn Testsuite Plugin

Maven plugin which allows to run the Autobahn Testsuite as part of your maven build.


If you want to have the Testsuite executed as part of your build you need to provide a Main class which will startup a WebSockets server which needs to behave like:

  • Echo back Text/Binary messages
  • Handle everything else like stated in the rfc6455

Adding it to your build

Adding the Testsuite and so make it part of your build is as easy as adding it to the pom.xml file of your maven project:

      <!-- The class which contains a main method that accept the port as paramater and startup the -->
      <!-- the server. -->

      <!-- Optional configuration -->
      <!-- ---------------------- -->
      <!-- The port to bind the server on. Default is to choose a random free port. -->

      <!-- The number of milliseconds to wait for the server to startup. Default is 10000 ms. -->

      <!-- Specify if a JUnit compatible Xml file will be generated. This can be used by most CI's. -->
      <!-- Default is true -->

      <!-- A list of cases to execute. Default is to execute all via *.-->

      <!-- A list of cases to exclude. Default is none. --> 

      <!-- Specify if the plugin should fail on non strict behaviour. Default is false. -->

This will execute the fuzzingclient tests as part of the test phase and fail the phase if one of the test cases fails.

After the run was complete you will find test-reports in the target/autobahntestsuite-report, which contains all the details about every test case.