Get the status of executed test cases for workflow steps
This endpoint gets the status of test cases for steps in a workflow.
Description:
This endpoint gets the status of test cases for steps in a workflow. Those test cases were previously executed with the /test_step/workflow_id method, which returns a run_id that you submit in the method described below. See Run test cases for workflow steps for nmore information.
Note: The run_id mentioned above can be expressed as
run_id.xml or
run_id.json, as appropriate.
Note: The default format for the response is XML format. To return a response in JSON
format, add &format=json to the request.
Usage
Request:
https://Orchestrator_IP_address/api/test_step_status/test_run_id.xml
For example:
https://Orchestrator_IP_address/api/test_step_status/327f01f0-df92-0135-1920-3c15c2d9c4e6.xml
Sample response:
<?xml version="1.0"?>
<Test_run>
<Test_run_id>327f01f0-df92-0135-1920-3c15c2d9c4e6</Test_run_id>
<Workflow_id>2383</Workflow_id>
<Test_cases_launched>3</Test_cases_launched>
<Steps>
<Step_name>New AmazonS3Operation Step</Step_name>
<Test_cases>
<Id>65</Id>
<Name>test11</Name>
<Status>Complete</Status>
<Status_details>S3 presigned url generation completed</Status_details>
<Result_message>No validation set for that test case</Result_message>
<Last_update>Fri Jan 19 15:59:07 PST 2018</Last_update>
<Inputs/>
<Outputs>
<Pre-signed_Url>https://s3-us-west-2.amazonaws.com/orchT1/sampleabc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAI2LULP7KTP4RTVRQ%2F20180119%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20180119T220117Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=65fa19a34e42055635dff8273ccfe2628908e5c089bdb9f35b07b4bb0c293236</Pre-signed_Url>
</Outputs>
<Result/>
</Test_cases>
<Test_cases>
<Id>66</Id>
<Name>t2</Name>
<Status>Complete</Status>
<Status_details>S3 presigned url generation completed</Status_details>
<Result_message>No validation set for that test case</Result_message>
<Last_update>Fri Jan 19 15:59:07 PST 2018</Last_update>
<Inputs/>
<Outputs>
<Pre-signed_Url>https://s3-us-west-2.amazonaws.com/orchT1/sampleabc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAI2LULP7KTP4RTVRQ%2F20180119%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20180119T220117Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=65fa19a34e42055635dff8273ccfe2628908e5c089bdb9f35b07b4bb0c293236</Pre-signed_Url>
</Outputs>
<Result/>
</Test_cases>
<Test_cases>
<Id>67</Id>
<Name>t3</Name>
<Status>Complete</Status>
<Status_details>S3 presigned url generation completed</Status_details>
<Result_message>No validation set for that test case</Result_message>
<Last_update>Fri Jan 19 15:59:07 PST 2018</Last_update>
<Inputs/>
<Outputs>
<Pre-signed_Url>https://s3-us-west-2.amazonaws.com/orchT1/sampleabc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAI2LULP7KTP4RTVRQ%2F20180119%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20180119T220117Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=65fa19a34e42055635dff8273ccfe2628908e5c089bdb9f35b07b4bb0c293236</Pre-signed_Url>
</Outputs>
<Result/>
</Test_cases>
<Result>true</Result>
</Steps>
<Result>true</Result>
</Test_run>