accelQ provides comprehensive support for executing and verifying SOAP API. There isn't much difference in how you set up your action logic for API testing compared to UI testing. And you can also develop an Action that includes both UI and API testing together, making possible a fluid end-to-end verification.
Here is the basic flow involved in testing SOAP services. Subsequent sections describe these steps in greater detail.
Defining SOAP Connection
Define SOAP Connection
Registers SOAP connection with the given name and base URL. Further API calls on this connection should be referenced through the given connection name. If the connection name already exists then the results will be overwritten with the new SOAP calls i.e. the previous results are lost.
Connection Name |
Connection Name to reference when invoking SOAP calls |
Invoking SOAP Calls
Invoke SOAP Request (GET)
Connection Name |
Connection name on which this SOAP call is executed. |
Invoke SOAP Request (POST)
Connection name |
Connection name on which this SOAP call is executed. |
Response Verification
Verify Header From SOAP Response
Verifies header value from SOAP Response.
reference name |
reference name for this SOAP call. |
Verify the SOAP Response Status Code
Verifies whether the Response status code for a given SOAP Request is the specified value. Note that this is verification command and it fails the test execution if the verification fails.
Reference name |
Reference name for the SOAP call whose status to be verified. |
Verify Node In SOAP Response Matches
Verify the node value in the SOAP response matches an expected text.
Ref name |
Reference name for this SOAP call. |
Ref name |
Reference name for this SOAP call. |
Retrieve Data from SOAP Response
Get SOAP Response Body
Get the response body for a soap call with reference name.
Ref name |
reference name for the SOAP call. |
Get Node From SOAP Response
Get specific node value from the returned response with reference name for a soap call.
Ref name |
reference name for the SOAP call. |
Get SOAP Response Header
Get response header for a soap call with reference name.
Ref name |
reference name for the SOAP call. |
Get Status Code From SOAP Response
Get response status for a soap call with reference name.
Ref name |
reference name for the SOAP call. |
Comments
0 comments
Please sign in to leave a comment.