Sample - Create a Test Cycle and Add Existing Tests
Code takes test cycle parameters and adds the cycle to a Project-Version combination given when the call is made. The new cycle ID is returned from ZAPI and then it takes a predefined list of test issues and adds them to the new test cycle.
See attached for downloadable copy
ZAPI documentation: http://docs.getzephyr.apiary.io/
Sourced software:
- Python (Sample created in v2.7.5)
- Requests 2.3.0 (Latest version here: http://docs.python-requests.org/en/latest/)