Throw New Fault Action Testing
In this article i have mentioned the testing steps for the Throw New Fault Hands-on Integration which i have created in the previous post.
- Activate the integration make sure to ✓ Enable the Tracing
- Run the integration by clicking play button
CASE 1 : When Input Number-1 > Number-2
- Pass Inputs, Number-1 =100 & Number-2 = 80 and then click Test
- You can see the output of subtraction operation(100-20=80).
In this case Through New Fault didn’t execute because of its skip condition i.e. Validation Check Passed , Number-1 is greater then Number-2. Subtract operation can happen. so it invoke the calculator API.
*Check below image for better understanding
- Again test the integration by passing inputs as Number-1=100 and Number-2=200
- You can see the Error Message (exactly the same which we have configured in Through New Fault Activity) because the skip condition check failed, Number-1 is not greater then Number-2. So Through New fault executed and send error message to default handler (inside scope)
*Check below image for better understanding
![]() |
|
|
I hope this complete end to end Hands-on article helped you to understand Through New Fault Activity. Please do let me know in the comment section below 😊
Thank You !
You may also like
Archives
- November 2024
- October 2024
- May 2024
- June 2023
- December 2022
- October 2022
- September 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- August 2021
- July 2021
- May 2021
- March 2021
- January 2021
- November 2020
- October 2020
- September 2020
- May 2020
- March 2020
- February 2020
- January 2020
- December 2019
- August 2019
- July 2019
- June 2019
- May 2019
- March 2019
Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | |||







Leave a Reply