Data Connection Request Testing

A guide to testing the Data Connection Request workflow in Sandbox

We're providing a testing-only endpoint in Sandbox in order to facilitate testing of the Data Connection Request workflow. Typically, after a user requests a connection, the closure of that request results in a Task being created for the user so that they can finish making their data connection. In order to mimic the closure of the request and create the task, please use the steps below.

Gather necessary info for the test user

  • From the getProfile endpoint, copy the userProfile.id this will go in the clientPersonId in the Request body (see example below)
  • From getDataSource copy the id and name values to use the in Request body below
  • A username and password will be provided by your b.well account team for Basic Auth on this endpoint.

POST to test-connection-events

Using Postman or another tool, POST to the following endpoint: https://workflow-event-service.client-sandbox.icanbwell.com/v1/test-connection-events

With this POST Body:

{
    "dataSourceId": "proa_demo",
    "dataSourceName":"b.well PROA Demo",
    "clientPersonId": "9935e73c-c3a1-558c-9b4f-aeb7ce205f55"
}

Using the username and password provided by the b.well account team, setup Basic Auth.

After a successful POST

A Task will be created with the appropriate connection id, title and redirect URL to facilitate full end-to-end testing.