Testing Actions and Users

For testing purposes, it is possible to create actions and users directly within the Dashboard. using the 'Testing' section in the navigation pane. You will see a page with two tabs, one for each of these types of test resource.



Creating actions and users by this method is not encouraged for long-lived production resource creation - the REST API or equivalent sections of the Dashboard should be used instead.

## Actions

The first tab is the 'Create test action' section, and contains a form with all the required (and some optional) fields necessary to create an action for the purposes of testing. For example, to test the output of a Reactor script in response to a new action being created.


Clicking the 'Action Type' field will allow you to select from the list of currently visible action types. Both custom and built in action types associated with the current account will be listed here.

In addition to the required fields and standard identifiers and customFields are various items that can be included in the context object. These can be entered under the 'Context' section of the form on the right hand side of the page. Data entered here will be available as the context of the action once it is created.

When you are done with the form, click 'Create Action' to finish the process and then observe any testing output. You can reset the form at any time using the eraser icon in the top right to clear all the fields.


Creating a test user in the 'Testing' section of the Dashboard works in a very similar way to creating test actions. Switch to the 'Create test user' tab and fill in the required fields of information.


You can also optionally add the usual tags and customFields, as well as adding a user photo. When you are done entering the test user's information, click 'Create User' to finish the process. The user can then be viewed at any time from the 'Users' section of the Dashboard.