Test automation using UAT

(Tim Bartley) #1

I don’t think this exists but it would be a neat feature.

We would love to be able to fully automate a test suite using the Dwolla UAT environment - including triggering transaction processing - ideally for particular transactions or customers. This would be something like an explicit UAT API that could trigger a transfer to complete eiether successfully or as a failure.

The only alternative would seem to be quite a sophisticated mock Dwolla service that simulates web hooks etc.

What are other folks doing in this space? Are the tools or mocks already around that I just haven’t found?



(Tim Bartley) #2

Any guidance from Dwolla here?

Is automation support in the sandbox something on the roadmap?



(Spencer Hunter) #3

There is a way to trigger bank transfer processing the Sandbox via the API. This is what the Sandbox Dashboard’s “Process bank transfers” button uses to simulate bank transfer processing (As mentioned in the post below). You can also reference in that thread how to trigger an ACH failure for a transfer going to or from a specific bank attached to a Customer.

To simulate bank transfer processing, you’ll call the following endpoint which will process or fail the last 500 bank transfers that occurred on your Sandbox account or the Access API Customer accounts you manage.

POST https://api-uat.dwolla.com/sandbox-simulations
Accept: application/vnd.dwolla.v1.hal+json
Content-Type: application/json
Authorization: Bearer {Your access token}