Hi,
I have an issue or a misunderstanding about service "/rest/zapi/latest/stepResult?executionId="
I defined a test "T" and add it in a Test Cycle "TC".
My case is:
I want the service respond correctly without clicking on "E" button for each tests. (Actually have around 120 tests and create new test cycle every two weeks.
Do you have an idea or a workaround?
Regards,
I also tried this solution ..http://localhost:8080/secure/ExecuteTest!default.jspa?scheduleId=x&issueId=x (Found it in the discussion forum) , but this call(get) only works when i execute it in browser, but through code it gives 200 response but after this still i received an empty json file on executing "/rest/zapi/latest/stepResult?executionId=" . Please suggest how to get rid off from this problem? or am I missing any call?
Hello @Clément Guillot
The reason you are getting the 404 error is because you are trying to retrieve the step execution id without executing the step. Basically you are missing one step after you execute a test case (your point 1.), you need to execute a teststep using REST CALL: POST: http://localhost:2990/jira_server/rest/zapi/latest/jira_server/rest/zapi/latest/teststep/issueId/ and then retrieve the test step execution id using /rest/zapi/latest/stepResult?executionId=
Kindly let me now if you still have any issues
Kind Regards
Pooja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Thx for your response but the response of "/rest/zapi/latest/stepResult?executionId=" return an empty array. The array is not empty after press button "E" in user interface..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pressing the "E" button simulates this call:
/rest/zapi/latest/execution/navigator/{executionid}
then run "/rest/zapi/latest/stepResult?executionId="
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have a 500 response for this service: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <status> <status-code>500</status-code> <message>query should not be null!</message> Can't find any documentation on this service.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.