Hi,
I am new to moztrap and been trying to add cases and suites from REST api using json .
The sample request provided in docs is not working for me .
e.g. i used following content
Request- Type : POST
Content-Type : application/json
{
"name": "sample case title",
"product": "/api/v1/product/14/",
"description": "case description",
"suites": ["Suite_AA_28112013"],
"steps": [
{
"instruction": "instruction text1",
"expected": "expected text1"
},
{
"instruction": "instruction text1",
"expected": "expected text1"
}
]
}
and i got this in response :
{
description: "case description"
id: "3563"
idprefix: ""
name: "sample case title"
steps:
[
2]0: {
expected: "expected text"
instruction: "instruction text"
}
-
1: {
expected: "expected text"
instruction: "instruction text"
}
-
-
}
As you can see i didn't got any suite that i have added in this case .
Also on the web interface i am not seeing the cases i have added .
Please anyone provide me proper syntax to add bulk cases and suites in moztrap using json or excel .
Thanks and Regards
Ayush Gupta