Creating a test data producer

If the standard test data producers do not meet your needs then you can create your own.

The following steps describe one way of creating a new test data producer:

  1. Create a new Java class that implements the TestDataProducer interface.
  2. Compile the class by including rapidj.jar* in the classpath.
  3. Create a jar file containing the compiled class. For example:
    jar -cvf myProducer.jar MyTestDataProducer.class
  4. You are now ready to install the test data producer.

*rapidj.jar can be found in the lib directory under the RapidJ installation directory.

Related concepts

Test data producer
TestDataProducer interface

Related tasks

Installing a test data producer