Forum Discussion
pradeepbishnoi
14 years agoContributor
Hi,
The explanation given by Deepesh was very detailed, i guess it should have clarified your doubts.
However, to add couple of points from my end...
- There would be no real scenario where you can add both SOAP Fault & Not SOAP Fault assertion at same time. Since these 2 assertion are the compliment/opposite of each other. Hence status of that teststep would always be RED. [Standard says : RED status will take precendece over GREEN status]
- SOAP response would be RED only in case when you didn't received any response (it can be error or valid response) from server & the response tab is empty. It generally happens with the request time out (server not able to process the request in given time).
- SOAP Fault will always be RED, when you have a valid response ( which is not expected, expected result was an error )
- Not SOAP Fault will always be RED, when you have an error response (or fault tags in the response XML), here the expected response was a valid response.
Regards,
/Pradeep Bishnoi
http://learnsoapui.wordpress.com
The explanation given by Deepesh was very detailed, i guess it should have clarified your doubts.
However, to add couple of points from my end...
- There would be no real scenario where you can add both SOAP Fault & Not SOAP Fault assertion at same time. Since these 2 assertion are the compliment/opposite of each other. Hence status of that teststep would always be RED. [Standard says : RED status will take precendece over GREEN status]
- SOAP response would be RED only in case when you didn't received any response (it can be error or valid response) from server & the response tab is empty. It generally happens with the request time out (server not able to process the request in given time).
- SOAP Fault will always be RED, when you have a valid response ( which is not expected, expected result was an error )
- Not SOAP Fault will always be RED, when you have an error response (or fault tags in the response XML), here the expected response was a valid response.
Regards,
/Pradeep Bishnoi
http://learnsoapui.wordpress.com
Related Content
- 12 years ago
- 3 years ago
- 2 months ago