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

Get Results of TestCases By User ID in TestRail using API


#1

Hi All, Is there any way to Get Test cases and their corresponding Results that is Executed by a User, by querying using their User Id in Testrail ? Accessing via API’s will be even Better rather than UI.


#2

Hello Arvind,

Thanks for your posting! Yes, you can use the Results > Property Distribution report from the Reports tab in this case, grouped by the Tested By attribute. This will generate a report with the amount of tests by user/tester and this also includes the list of tests/results per user.

Cheers,
Tobias


#3

is there anyway throught API we can get the the results per user on a specific date regardless of testplans.


#4

Hello Arvind,

There’s currently no direct API for this and we would recommend using the report in this case instead. You can also tell TestRail to automatically create the reports for you (using your preferred schedule) so you wouldn’t need to create the reports manually:

Cheers,
Tobias