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
getProfileendpoint, copy theuserProfile.idthis will go in theclientPersonIdin the Request body (see example below) - From
getDataSourcecopy theidandnamevalues 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
test-connection-eventsUsing 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.
Updated about 2 months ago
