MuleSoft MCD - Level 1 Practice Test 3
Question 1 / 40
Refer to the exhibits.
A web client sends a GET request to the HTTP Listener.
What response message is returned to the web client?
''
'End'
'Start'
'String is not blank'
Comment (0)
Suggested answer: B
Explanation:
1. Set Payload ''Start''
2. 'Is Balnk String' Creates an Error object with #[error.description] =''String is not blank''
3. Default Error Handler catches and Propagates error
4. 'On Error Propogate' is 'RED IN RED OUT'. It Returns Status Code : 500 & #[error.description]
--------------------------------------------------------------------------------------------------------------------------
Correct answer isString is not blank.Because validation component will throw an error as payload is not blank.
Bottom of Form
Top of Form