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

How to use add_results to a test run with sendPost() for all test cases?


#1

Is it possible to use add_results to a test run with sendPost() for all test cases under the test run?

I have read some of the posts about sendPost with add_results, such as,

But the results have to specify status for each test case.

Please advise.

Thanks,
Hesheng
P.S., I am using Scala.


#2

Hi Hesheng,

Thanks for your posting. Yes, you can use the bulk versions (add_results or add_results_for_cases) but you would need to add a record for every test case/test. The expected format of add_results and add_results_for_cases is documented here:

http://docs.gurock.com/testrail-api2/reference-results

Cheers,
Tobias