Creating a test client project

Before you load entities and submit events to test your solution, you must create a test client project.

Before you begin

You developed a solution, deployed it to a development server, and are ready to test a business situation.

About this task

You create the test client project and then check the contents of the testdriver.properties file. The artifacts in a test client project, including test files that you create in Insight Designer, use the testdriver.properties file.

Procedure

  1. Create a test client project:
    1. In the solution map, click Add test client project.
    2. Follow the steps in the wizard. If you do not want to use Java™, you can select Create empty test client project.
  2. Verify the properties that are defined in the testdriver.properties file, and edit them where necessary. The testdriver.properties file is created by the wizard, and specifies connection details to the development server. Check that the trustStoreLocation property corresponds to your installation path. The following example shows a test client project that is created for a solution named MySolution. All of the properties use the cisDev (Sample server) defaults.
    solutionname=MySolution
    connection=HTTPS
    host=localhost
    port=9443
    username=tester
    password=tester
    trustStoreLocation=<InstallDir>\\runtime\\wlp\\usr\\servers\\cisDev\\resources\\security\\key.jks
    trustStorePassword=tester
    disableSSLHostnameVerification=true 
    Note: If data grid security is enabled, add the following properties to authenticate your connection.
    gridSecurityEnabled=true
    gridUsername=<your_grid_username>
    gridPassword=<your_grid_password>

    For more information, see Setting up data grid security.

    See Test driver properties.

  3. If the development server is a remote client, check the SSL keystore and truststore path and authentication credentials for the test driver instance. The development server provides the following default user ID and password:
    ia.test.user=tester
    ia.test.password={xor}KzosKzot
    Where the decoded value of the password is tester, which is used as the password for both the tester user ID and the keystore.
  4. Set the connection mode to suit your testing needs. By default, the connection property is set to HTTPS. If you plan to test a solution that is deployed in a cluster, set the connection property to GridConnection and add the catalogServerEndpoints property:
    connection=GridConnection
    catalogServerEndpoints=server1:2809,server2:2909

What to do next

After you create the test client project, you can set up your environment to load entities and submit events.