ContributionsMost RecentMost LikesSolutionsTest to write to zphyr scales -{"errorCode":400,"message":"createTestCaseTestSteps: must not be null // Report to Zephyr pm.test("Report to Zephyr.", function () { pm.sendRequest({ url: 'https://api.zephyrscale.smartbear.com/v2/testcases/POS-T18/teststeps', method: 'POST', header: { 'Content-Type': 'application/json', 'Authorization': zephyrAuth }, body: {"mode": "APPEND", "items": [ { "inline": { "description": "AUTO2 Attempt to login to the application", "testData": "Username = SmartBear Password = weLoveAtlassian", "expectedResult": "Login succeeds, web-app redirects to the dashboard view", "customFields": null }, "testCase": { "testCaseKey": "POS-T18", "self": "https://api.zephyrscale.smartbear.com/v2/testcases/POS-T18/teststeps" } } ] } }, function (err, res) { pm.globals.set("token", res.json().access_token); }); });