Testing a destination, or endpoint, in your organization is useful to make sure you're receiving data as expected data from Redox. This kind of testing is especially useful during onboarding to Redox or implementing with a new connection before go-live.
There are two Redox dashboard tools for testing your destinations:
- Notifications Explorer: Send test Redox data model or FHIR® messages to your configured destination(s). This simulates the Redox-to-destination part of your integration.
- Dataset Tester: Send test datasets to your configured destination(s). This simulates the entire source-to-destination flow.
We currently support sending test messages that are already in a Redox data model or Redox FHIR® format. This means simulating an individual message coming from Redox to one of your destinations.
- Log in to the dashboard.
- From the navigation menu, click the Developer page.
- By default, the API Keys tab opens. Click the Test Tools tab.
- The Notifications Explorer opens. The API toggle allows you to choose whether to test receiving a Redox data model, FHIR® notification, or FHIR® message. Select Data Model API for data model messages or FHIR® API for FHIR® notifications or messages.Reference links
- From the Endpoint drop-down, select the configured endpoint, or destination, you want to test. You must have already created the destination in the Endpoints tab (for API destinations) or Other tab (for non-API destinations) for it to appear in the drop-down menu.
- The Send with credentials option allows the test message to be verified by the destination with either auth credentials or verification tokens. Learn about authenticating incoming data. To use an auth credential, toggle to ON. Then select the auth credential from the drop-down menu that appears. To use a verification token, toggle to OFF.Sending without credentials
- Depending on which API you selected, a drop-down for the set of data models or FHIR® messages and notifications displays. Select the type of test message to send.
- Another drop-down may appear with examples. If there is more than one example available, select the example you want to use.
- The example payload displays. Make any modifications you want to the payload. Once you're finished reviewing or making changes, click the Send button.
- A success or failed notification displays. The notification contains a link to the related log ID so you can view the details.Log inspector not available
- (Optional) You can also send test messages to make sure your system can send the data your connection is expecting.
We currently support sending test messages that are in the raw format used by your connection's source. This means simulating data coming from a source being processed by Redox then delivered to one of your destinations.
This allows you to see the full breadth of how your subscription will work, since you'll see how data will change from source to destination. This may help you make any necessary configuration changes before go-live.
- Log in to the dashboard.
- From the navigation menu, click the Developer page.
- By default, the API Keys tab opens. Click the Test Tools tab.
- The Notifications Explorer opens. Click the Dataset Tester button.Staging or dev environments only
- From the Dataset drop-down, select the relevant dataset type.Dataset support
- From the Destination drop-down, select the destination you want to test.
- Click the Send button. You can send up to 5 test datasets within a 5-minute window. If you exceed this limit, you'll get an error message.
- A success or failed notification displays. The notification contains a link to the Logs page with the appropriate filters applied so you can see all the logs that resulted from the full dataset.Error notifications
- Review the outcome of the message in the log. Run log inspector to dig into any errors or unexpected mappings. Then, make any necessary adjustments to your configuration(s).