JUnit Integration

Silk Performer facilitates smooth integration of existing JUnit test scripts (version 3.8.x and 4.x) into Silk Performer for the support of remote-component testing under realistic concurrent-access server conditions.

Silk Performer provides an import tool that enables you to import existing JUnit test classes and other Java classes. Tested Java methods may have parameters and return values; code for setting the in-parameters of these functions is generated automatically. By definition, JUnit test methods cannot have parameters.

Silk Performer’s Unit Test Import tool offers you the option of selecting specific test methods. It automatically generates BDL stub code (a benchmark description file) that calls those selected test methods. Existing JUnit test classes can be called from Silk Performer without requiring modification of the test classes.


JUnit 4.x testing requires Java version 1.5 or higher.

The respective JUnit libraries must be available in the classpath of the Java settings of the active profile.