Forum Discussion

Amrit13's avatar
Amrit13
New Contributor
3 years ago

Zephyr Postman Post API Request delivers Internal Error on v2/automations/executions/cucumber

2 Replies

  • osmolyar's avatar
    osmolyar
    New Contributor

    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": []
    },

    • deadpooldev's avatar
      deadpooldev
      New Contributor

      I am facing the same error. Even my Steps array is not empty still getting the 500 error.