If I require data from the test harness to populate my database, can I assume the test harness will not request an object from me before I have all the data I require?

Created by Penny Murray, Modified on Thu, 13 Oct 2022 at 05:45 AM by Penny Murray

No. The test harness can’t know what your data dependencies are. It will generate requests as and whenever it sees fit. If you receive a request for an object and you haven’t yet populated your database with data you need from the test harness, you can manually generate another request for yourself using the session request controls on the right-hand side of the agent test session page when you know you have the data to pass a “responds with data” type test. You will not fail the test if you respond with empty response data. The test harness will continue to look for a response with data, which you will be able to provide when you are ready.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article