Skip to main content
4-Participant
November 12, 2024
Question

Rest-Api V21.09

  • November 12, 2024
  • 1 reply
  • 1032 views

we want to use Rest-Api to run automated Tests and provide back results.

we are also using parameter tables, so when generating testruns in codebeamer, there are created 2 super testruns per testcase and sub-testruns per parameter line.

when providing testresults back via rest api, in any cases, there are new testruns created, per provided testrun per parameter line, which are not finished.

why are testruns created, when results are posted?

 

fast response will be super.

Stefan

1 reply

12-Amethyst
November 15, 2024

Hi @SL_12347836 ,

 

Please see the see this guide article: Article - CS400745 - Updating Test Steps, Test Results and executing Test Run from Swagger REST API in Codebeamer

 

Let me know if this helped. 

4-Participant
November 15, 2024

Hi @Catnip ,

thanks for the response.

 

1. we will evaluate the issue about posting results on monday. thanks for the idea.

2. we create the testruns in GUI of codebeamer and start the tests within another written tooling. Its also an idea to seperately create the testruns within the tooling. this difference shouldn't be the case.

3. I think it doesn't answer the main question: why are testruns created, when results are posted?

 

Thanks Stefan

4-Participant
November 22, 2024

Thanks for your response,

 

my employee tested the posting informations.

The main thing is, we interpret the posting as we cannot use RestAPI.

So he decides to change to swagger.

But I saw a posting about swagger is a wrapper function for RestAPI.

My employee says no, swagger is something else with more functionality.

I am very confused about that implemenation.

I am not sure, when and how we will coming to the point, we can use codebeamer for creating system tests and let them autmated running and can reflect the result back into codebeamer testruns.

 

Thanks Stefan