Configure Transact Function Unit Test Parameters

   Journey Manager (JM) The transaction engine for the platform.  |    Form Builder Platform Developer  |  17.10 This feature was introduced in 17.10.

Manager allows you to configure Groovy Unit Test script parameters, which you can dynamically update in the Test Parameters tab.

To configure the Unit test parameters:

  1. Select Services > Transact Functions.
  2. Locate a Transact function and click Edit.
  3. Click the Test Parameters tab.
  4. Click New to add and configure a new parameter, for example, userFirstName.
  5. Select the Unit Test checkbox to make this new parameter available in the Unit Test tab.
  6. Click Save to update the changes.
  7. Verify that the userFirstName parameter now appears in the Test Parameters tab.
  8. Update the Groovy unit test script to make use of this parameter.

Next, learn how to run a Transact function Unit test.