Rest API listing Test runs for a specific test case

Thursday, July 5, 2018
Avatar

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
Avatar
inflectra.jimx
re: wvolders Thursday, July 5, 2018

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

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Thursday, July 5, 2018
  • Last Reply: Tuesday, July 10, 2018
  • Replies: 1
  • Views: 1486