Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

Better way to add a custom step result through the API?


I have used the API as listed in the documentation here:

The current issue I have is that the API has no regards for the existing steps or the expected outcome that are already listed in the test.

If I enter a different amount of steps or a different expected outcome than what is listed in the test, it records the data from the API.

Is there a way that I can just enter the actual result and have the API pull the steps expected result from the existing test?


Hi Derrick,

Thanks for your post! When adding results via the API, you would always need to include the step details (content and expected results) with the API call when adding step results. This wouldn’t be included by default, however you can use the get_case API method to retrieve these details and include this when submitting results:

Hope this helps!