Forum Discussion
deepesh_jain
14 years agoFrequent Contributor
Wrong. Remember that SOAPUI is a testing tool and you can automate your whole test bed. So you might have two test cases with different expected result:
1. Test Case 1 - Input parameters such that the expected result is SOAP FAULT.
2. Test Case 2 - Input parameters such that the expected result is NOT SOAP FAULT and is a valid response.
Since you would want all your test cases to pass. You need to apply SOAP FAULT assertion in the first test case to validate that the response is indeed a SOAP Fault and NOT SOAP FAULT assertion to second test case to validate that the response is not a SOAP Fault.
Regards,
Deepesh Jain
1. Test Case 1 - Input parameters such that the expected result is SOAP FAULT.
2. Test Case 2 - Input parameters such that the expected result is NOT SOAP FAULT and is a valid response.
Since you would want all your test cases to pass. You need to apply SOAP FAULT assertion in the first test case to validate that the response is indeed a SOAP Fault and NOT SOAP FAULT assertion to second test case to validate that the response is not a SOAP Fault.
Regards,
Deepesh Jain
Related Content
- 12 years ago
- 3 years ago
- 2 months ago
Recent Discussions
- 23 hours ago