How to delete bulk executions using ZAPI?

Gopinath Viswanathan Sreenivasan September 14, 2017

I am looking for a way to delete the executions in the cycle and add new executions.When I checked in the  http://docs.getzephyr.apiary.io link for the execution resource,I came to know for "DELETE",I have to pass the Body[JSON] with the list of executions.

    Since I am using Apache http components for making rest call,I cant add the body to the HttpDelete.I tried the jersey rest client as well which also not supporting the String Entity added to the delete method.

   Any suggestions on how to solve this most welcome

 

1 answer

0 votes
Arun Ravindran September 25, 2017

Hi Gopinath

Thanks for your interest in Zephyr.Am afraid our support scope is within to check if the APIs provide the desired reponse or not via REST client and curl commands.

We tried the API in the link below using POSTMAN and it works as desired

http://docs.getzephyr.apiary.io/#reference/executionresource/delete-bulk-execution/delete-bulk-execution

We understand the limitation of the Apache HTTP not allowing payloads to be added to the body.Am afraid you will have to either try it out using a plain java code 

Thanks

ZephyrSupport

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events