AddTestcasesToTestsuite
This method can be used for the following activity: Add test cases to a test suite;
Last updated
"testcases": [
{
"testcase": "..."
}
]"testcases": [
{
"testcase": "..."
}
]{
"details": "<p>...</p>"
}"testcases": [
{
"code": "..."
}
]"testcases": [
{
"sort_order": 1
}
]"testcases": [
{
"tags": ["..."]
}
]"testcases": [
{
"execution_flow": [
{
"title": "...",
"details": "...",
"details_type": "PLAINTEXT/RICHTEXT"
}
]
}
]"testcases": [
{
"custom_fields": [{"key": "...", "value": "..."}]
}
]curl -X POST 'https://localhost:3000/api/ss/testsuite/5eac95f1e594ea09107e9bb5/testcases' -H 'Host: localhost:3000' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close' -d '{
"testcases": [
{
"testcase": "Verify X, Y and Z",
"code": "WEBAPP-001",
"sort_order": 1,
"tags": ["01", "Web App"]
}
]
}'{
"status": "Added Testcases to Testsuite",
"testcases": [
{
"id": "...",
"created": "...",
"testcase": "...",
"details": "...",
"code": "...",
"sort_order": 1,
"tags": [
"..."
],
"execution_flow": [
{
"title": "...",
"details": "..."
}
],
"custom_fields": [
{
"key": "...",
"value": "...",
"type": "Field"
}
]
}
]
}