Mock a Response in the Tested Integration Procedure (Managed Package)

For the managed package runtime, before you create the example Test Procedure, add a Mock Response Map to the Integration Procedure to be tested.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

  1. Go to the Vlocity Integration Procedures tab and open the Integration Procedure to be tested.
  2. If the Integration Procedure is active, click Deactivate Version so you can edit it.
  3. In the Procedure Configuration, click Edit as JSON.
  4. Edit the mockResponseMap node as follows:
    "mockResponseMap": {
        "IfOtherState": {
            "DefaultSalesTax": 0.06
        }
    }
  5. Click Edit in Property Editor.
  6. Click Activate Version. The Integration Procedure to be tested must be active.