Test a destination

Last updated: Oct 22, 2024
HEALTH TECH VENDOR
HCO
IMPLEMENTATION

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.

Test with Notifications Explorer

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.

  1. Log in to the dashboard.
  2. From the navigation menu, click the Developer page.
  3. By default, the API Keys tab opens. Click the Test Tools tab.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. Another drop-down may appear with examples. If there is more than one example available, select the example you want to use.
  9. The example payload displays. Make any modifications you want to the payload. Once you're finished reviewing or making changes, click the Send button.
  10. A success or failed notification displays. The notification contains a link to the related log ID so you can view the details.
    Successful send
    Successful send
  11. (Optional) You can also send test messages to make sure your system can send the data your connection is expecting.

Test with Dataset Tester

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.

  1. Log in to the dashboard.
  2. From the navigation menu, click the Developer page.
  3. By default, the API Keys tab opens. Click the Test Tools tab.
  4. The Notifications Explorer opens. Click the Dataset Tester button.
  5. From the Dataset drop-down, select the relevant dataset type.
  6. From the Destination drop-down, select the destination you want to test.
  7. 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.
  8. 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.
  9. 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).