Without executing EXECUTE_SOAP command, able to run VERIFY_SOAP , GET_SOAP_VALUE validation commands – Should throw some valid error message instead of working with flow
Since validation commands VERIFY_SOAP , GET_SOAP_VALUE both the commands are able to execute soap call , without executing soap call we were able to fetch the output and continue the process,
Due to this the approach and functionality the SOAP execution is going incorrect, Validation commands should validate only the response(output) from EXECUTE_SOAP command.
Without using EXECUTE SOAP command when we run validating commands (VERIFY_SOAP , GET_SOAP_VALUE) they should throw proper valid error message , But Since the soap call execution taken place on validation commands It is not throwing any error.
Stephen,
These commands should not be used in conjunction with each other, they are independent of one another. Basically, there are 3 interactions with a SOAP endpoint:
- Execute/Invocation without the need to verify the response in detail nor reading any values from the body.
- Verification of the response, which means hitting the endpoint and verifying the values in the response XML.
- Reading a value from the SOAP execution response and using it for different purposes.
Each interaction requires hitting the endpoint and consequently executing the underlying method. Any scenario you may have should be covered with these commands.
Please let us know your scenario in detail and we can illustrate which commands will cover it.
Please sign in to leave a comment.