Solved
Forum Discussion
nmrao
7 years agoCommunity Hero
Change below of the last statement
From:
slurper.data[0].id
To:
slurper.data[0].id as String
From:
slurper.data[0].id
To:
slurper.data[0].id as String
- livetoski787 years agoNew Contributor
I changed the last line to:
testRunner.testCase.setPropertyValue("workspace_id", slurper.data[0].id as String)
But am still receiving the same error.
- nmrao7 years agoCommunity HeroCan you please post the json?
- livetoski787 years agoNew Contributor
{ "status": 200, "code": 2000, "totalCount": 1, "limit": 20, "offset": 0, "data": { "id": 7002, "name": "Test Workspace", "isDisabled": false, "tags": null, "description": "Test Workspace Description", "parsedDescription": { "text": "Test Workspace Description" }, "created": "2019-01-31T18:48:31+0000", "modified": "2019-01-31T18:48:31+0000", "settings": { "logoUrl": null, "setupGuide": {
"text": { "intro": null, "settings": null, "forms": null, "members": null, "reports": null }
} }, "metadata": { "lastActivity": null, "storageUsed": "0.0000" } } }