Collections:
Add "Not SOAP Fault" Assertion to SOAP Request
How to Add "Not SOAP Fault" Assertion to a SOAP Request? I want to ensure the SOAP request always returns good response with no errors.
✍: FYIcenter.com
You can follow this tutorial to Add "Not SOAP Fault" Assertion to SOAP Request.
1. Open NDFD-soapui.xml project in SoapUI.
2. Double-click on "SOAP Request" you added as a test step in the test case. You see the "SOAP Request" window.
3. Click on "Assertions" tab at the bottom of the request window. You see the assertion section opened with 1 assertion: SOAP Response, which ensures the response is valid SOAP message.
4. Click on "+" icon. You see the "Add Assertion" window.
5. Click "Compliance, Status and Standards > Not SOAP Fault" and click "Add". You see 2 assertions listed now:
SOAP Response Not SOAP Fault
6. Run the request again. You see both assertions passed and showing as VALID.
The picture below shows you how to Run SOAP Test Case in SoapUI:
⇒ Clone SOAP Request in SOAP Test Case
⇐ Run SOAP Test Case in SoapUI
2018-04-12, 2284🔥, 0💬
Popular Posts:
How to generate test credit card numbers? Test credit card numbers are frequently needed in testing ...
How to access Response Status Code 400 as Success? My sampler failed, because the server returns the...
How to valid IPv6 addresses? In order to help your programming or testing tasks, FYIcenter.com has d...
How to generate test fractional numbers? Test fractional numbers are numbers with fractions that are...
How to generate test credit card numbers? Test credit card numbers are frequently needed in testing ...