Zephyr Postman Post API Request delivers Internal Error on v2/automations/executions/cucumber
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Zephyr Postman Post API Request delivers Internal Error on v2/automations/executions/cucumber
Hi,
I receive the ,,Internal Error" on calling https://api.zephyrscale.smartbear.com/v2/automations/executions/cucumber?projectKey=<projectKey>
I can call the Get Request https://api.zephyrscale.smartbear.com/v2/testcases?projectKey=<projectKey>.
I was following the instructions:
https://support.smartbear.com/zephyr-scale-cloud/api-docs/#operation/createCucumberExecutions
Thanks!
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Amrit13 , can you please post the content of your cucumber json report? If you are using wdio-cucumberjs-json-reporter, the issue could be output like the below in the json report, which records an "element" the feature corresponding to the feature itself (keyword: Scenario, type: feature), and has an empty steps: [] array. The Zephyr scale https://usjira.iscinternal.com/rest/atm/1.0/automation/execution/cucumber api doesn't support empty steps arrays.
The latest wdio-cucumber-js-json reporter has been fixed so you can download the latest version 4.1.4 and try again (https://github.com/webdriverio-community/wdio-cucumberjs-json-reporter/issues/68)
"tags": [],
"elements": [
{
"keyword": "Scenario",
"type": "feature",
"description": "",
"name": "PAYS - Russia - telecommandes header-main-menu - CTA",
"tags": [],
"id": "pays---russia---telecommandes-header-main-menu---cta;pays---russia---telecommandes-header-main-menu---cta",
"steps": []
},
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am facing the same error. Even my Steps array is not empty still getting the 500 error.
