Rest API listing Test runs for a specific test case

Thursday, July 5, 2018 2:12:07 PM

I'm looking at a way to list the test runs that have been logged for a specific test case via the Rest interface.
I found that i can list a test run by id or list a bunch of test runs from a certain row onwards but i need all test runs for a specific test case.
It's a bit overhead to each time fetch all runs and then locally filter trough them each time it is needed.

I'm looking  for something like the test set test case mapping showing all test cases in a test set. I need something like this but then listing all test runs per test case.


Hence i wanted to ask if it was possible somehow to list all test runs for a test case?

 

 

1 Replies
Tuesday, July 10, 2018 4:53:11 PM
Avatar
re: wvolders on Thursday, July 5, 2018 2:12:07 PM

Hi 

Yes, you can use the POST method that accepts an array of 'RemoteFilters' that you can use to filter by:

  • PropertyName = TestCaseId
  • IntValue = <test case id>

Regards

Jim

Statistics
  • Started: Thursday, July 5, 2018 2:12:07 PM
  • Last Reply: Tuesday, July 10, 2018 4:53:11 PM
  • Replies: 1
  • Views: 218