- In the embedded test component there is a form that allows you to enter test data for any input field that would normally be provided by the Zap when it’s running. The form, or “Pretty” view only accepts scalar values (strings, integers, booleans, etc). If your action takes, say, a line item or dictionary type, use the “Raw” view to add that JSON directly into the mock data object that will be passed to your request while testing.
- If you are adding dynamic fields, create and configure a Zap to test your code. Use the Monitoring component (available from the left hand navigation) to see what’s going on with your request under the hood.
- If you are adding dynamic fields you’ll want to use Code Mode when configuring the API request and use something like
...bundle.inputData to reference all of the fields that were created dynamically at runtime.
- Be sure to review the other FAQs for other helpful tips!
Tell us about your problem
and we’ll connect you with the right resource or contact support.