Mock Data in Itential: Using Multiple Mock Responses
In the Itential Automation Platform, you can utilize mock data while building or testing your adapters. What is mock data? Simple – predefined, placeholder data that’s associated with an action inside an action.json file, allowing you to run an automation workflow and see a sample response without making a live API call. This makes it easier to test workflows as you build.
In Part 1 of this series, you learned what mock data is and how to use it while building and testing your workflows. Now we’re taking it a step further — enabling you to use multiple mock responses based on hierarchical rules so you can test for multiple sample outputs. By leveraging multiple mock responses while building a workflow, you can build faster and have more confidence in your automation.
In Part 2 of this ItentiaLearn demo series, see step-by-step how to:
- Identify how multiple mock data files are stored.
- Configure your workflow to use multiple mock data files.
- Understand the hierarchical rules Itential leverages for mock response selection.
- Successfully build and run a workflow to generate an output selected from multiple possible mock response files.