WSAPI: Can we create a Test Set with multiple test cases using a single WSAPI call ?
search cancel

WSAPI: Can we create a Test Set with multiple test cases using a single WSAPI call ?

book

Article ID: 122202

calendar_today

Updated On:

Products

Rally On-Premise Rally SaaS

Issue/Introduction

We would like to use one WSAPI call and create (or update) a Test Set and include a number of Test Cases. Can this be done?

Environment

Release:
Component: ACSAAS

Resolution

Yes. Here is an example:
 

{
    "TestSet": {
         "Name":"Creating a TestSet with multiple TestCases",
         "TestCases": [
                  { "_ref": "/testcase/<TEST_CASE_OID>" },
                  { "_ref": "/testcase/<TEST_CASE_OID>" }
         ]
    }
}




You can include more fields to your Test Set definition than 'Name' which is in the above example.