Expand all | Collapse all

Find test runs of a test case

  • 1.  Find test runs of a test case

    Posted 5 days ago

    I'm currently trying to find test runs of a test case through the Jama RESTful API, but looks like there is no such link exist (i.e. from item to test runs).

    I currently have to query all the test runs in order to find test runs of a test case, this becomes very painful considering the Jama API throttling.

    Would you mind telling me if I'm doing this in the right way? Or if there exist an easier path for my purpose? Or if there is any plan to add such link.

    Dajie Yang

  • 2.  RE: Find test runs of a test case

    Posted 4 days ago
    Hi Dajie:

    I am going to send you a link to how to our API Cookbook on how to execute Test through the Rest API. I know this isn't exactly what you are looking for but, it does give some context around the Test Center and our API which you might find informative.

    Test Run Items

    A Test Run Item can be thought of as an execution instance of a Test Case Item. They are created by the system when a Test Cycle is created inside a Test Plan, and they are updated with a status and actual results when executed. A Test Case could have many Test Runs associated with it. These cannot be created directly; this is the reason there is no POST in the /testruns REST endpoint.


    Chloe Elliott
    Jama Software
    Portland OR

  • 3.  RE: Find test runs of a test case

    Posted 2 days ago
    Hi Chloe,

    I've go through your API cookbook before posting, I know that a test run would be associated with test cycle and test plan, but that should not affect having a /item/{id}/testruns endpoint with GET method. It's kinda weird that I can only query from a test run to a test case, but not the other way around.

    If this is a missing feature, please consider this post a feature request.

    Dajie Yang
    Seeing Machines