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

Batch API actions


#1

Are there any plans to add batch functionality to the API? For example, if I have 5000 automated test results, upload them in 1 request rather than 5000 separate requests?

We’re experiencing significant latency with API calls that impact how we’re trying to use TestRail.

Thanks!


#2

Hello Logan,

Thanks for your posting. Yes, it is planned to look into adding an API method for uploading multiple test results in one step (e.g. add_results vs. add_result) but I currently don’t have an estimate for this unfortunately. I understand that it can be a bit slow to upload multiple thousands of test results currently and a batch API method should heavily reduce the latency and overhead.

Regards,
Tobias