cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Rest-Api V21.09

SL_12347836
4-Participant

Rest-Api V21.09

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

5 REPLIES 5

SL_12347836
4-Participant
(To:Catnip)

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

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

GC_11015087
5-Regular Member
(To:SL_12347836)

The post you read is correct. Swagger is just a wrapper around a REST API, that makes it easier to use that REST API.

Hi @Catnip ,

 

my college checked in different ways and he didn't get it working.

Don't know if you checked, that this issue shall work with our older version of codebemer.

we plan to upgrade codebeamer until end of year.

Also his response:

  • Creating test run via swagger API, returns "Mandatory Summary value is missing" error in Codebeamer 21.09-SP14
  • Error:   
    • Error: response status is 500
    • Response body:
      • {
              "message": "Mandatory Summary value is missing",
              "resourceUri": "/"
              }
  • How to create test run via Swagger API or rather how can we bypass this error as is done in Codebeamer 2.0.0.0 to 2.2.0.0?
  • How can we change the custom fields for multiple test runs in the main test run for a singularly referenced testcase?

    This case implies that we have multiple parameters and thus the crucial need.

    Is there any article or example  of  such case?

     

Also we are now switching to put result via xls file into codebeamer

we are really not happy about the situation and we are facing to much time in this issue.

Announcements



Top Tags