I have a problem with ZAPI (Zephyr for Jira) I need to mark execution on my created execution but when I am trying to use: Rest API function: StepResultResource/Create New StepResult/Create New StepResult
For Previously created teststep Rest API access to tottaly different test.
Could You tell me which function I need to use to execute teststeps on execution? My code:
jsondata = {}
jsondata['stepId'] = ''
jsondata['issueId'] = '25137'
jsondata['executionId'] = '6954'
jsondata['status'] = '1'
data_input = ''
r = requests.post(paths['zapiURL'] + 'latest/stepResult', data_input, jsondata, verify=paths['pathToCertificate'],
auth=(cred.getUser(paths['pathToCredentials']), cred.getPw(paths['pathToCredentials'])))
Rest Api: https://getzephyr.docs.apiary.io/
Best regards,
Michal
I have found a solution.
jsondata = {}