How can I mark test case as passed using Jama API?

I am trying to programmatically update the test case result as 'Passed' using API calls. Can someone help me achieve this. I looked at all the API's Jama provides but am not sure which one will help update a testcase result. My aim is to get the automated test results from Jenkins and update it to Jama. Thank you!

Comments

  • Robert King
    Robert King Member Posts: 6
    edited October 2022
    We use the PUT testruns endpoint to update test runs: https://rest.jamasoftware.com/#operation_updateTestRun

    ------------------------------
    Robert King
    Skyworks Solutions
    TX
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 09-01-2022 22:38
    From: Shruti K
    Subject: How can I mark test case as passed using Jama API?

    I am trying to programmatically update the test case result as 'Passed' using API calls. Can someone help me achieve this. I looked at all the API's Jama provides but am not sure which one will help update a testcase result. My aim is to get the automated test results from Jenkins and update it to Jama. Thank you!

    ------------------------------
    Shruti
    ------------------------------
  • Alessandro Valli
    Alessandro Valli Member, Data Exchange, Jama Connect Interchange™ (JCI) Posts: 787
    edited October 2022
    Also the cookbook is really helpful : Executing Tests through the Jama REST API

    ------------------------------
    Alessandro
    Systems Engineer
    SICK AG
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 10-18-2022 07:23
    From: Robert King
    Subject: How can I mark test case as passed using Jama API?

    We use the PUT testruns endpoint to update test runs: https://rest.jamasoftware.com/#operation_updateTestRun

    ------------------------------
    Robert King
    Skyworks Solutions
    TX
    ------------------------------

    Original Message:
    Sent: 09-01-2022 22:38
    From: Shruti K
    Subject: How can I mark test case as passed using Jama API?

    I am trying to programmatically update the test case result as 'Passed' using API calls. Can someone help me achieve this. I looked at all the API's Jama provides but am not sure which one will help update a testcase result. My aim is to get the automated test results from Jenkins and update it to Jama. Thank you!

    ------------------------------
    Shruti
    ------------------------------
    Alessandro
    Systems Engineer
    SICK AG