Plan requirement
| Subscription | Suite Growth or higher |
| Also required | Copilot |
| Access | Admin |
Actions can be tested from the builder, and the cases worth testing are the ones nobody thinks of.
Test from the builder
- Open the action.
- Enter test values for its inputs.
- Run it.
- Read what came back, not just whether it succeeded.
The five cases
- A normal request. The one you built for.
- Something that does not exist. An order number with no match. What comes back, and is it usable?
- An empty result. A customer with no orders. Different from an error and often handled worse.
- Bad input. A malformed number, or a letter where a digit belongs.
- The other system down. Hard to arrange and worth thinking through even if you cannot test it.
Cases two and three are where an AI agent says something confidently wrong to a customer, because nothing told it what an empty answer means.
Read the response, not the status
A call that succeeds and returns something unexpected is worse than one that fails. Look at the actual content and ask what an AI agent would say having received it.
Test again after the other side changes
Actions break when the system at the other end changes, and nothing tells you. Where an action matters, test it periodically, and certainly after anyone announces a release over there.
Comments
0 comments
Article is closed for comments.