ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 154 - Certified MuleSoft Integration Architect I discussion

Report
Export

An organization has strict unit test requirement that mandate every mule application must have an MUnit test suit with a test case defined for each flow and a minimum test coverage of 80%.

A developer is building Munit test suit for a newly developed mule application that sends API request to an external rest API.

What is the effective approach for successfully executing the Munit tests of this new application while still achieving the required test coverage for the Munit tests?

A.
Invoke the external endpoint of the rest API from the mule floors
Answers
A.
Invoke the external endpoint of the rest API from the mule floors
B.
Mark the rest API invocations in the Munits and then call the mocking service flow that simulates standard responses from the REST API
Answers
B.
Mark the rest API invocations in the Munits and then call the mocking service flow that simulates standard responses from the REST API
C.
Mock the rest API invocation in the Munits and return a mock response for those invocations
Answers
C.
Mock the rest API invocation in the Munits and return a mock response for those invocations
D.
Create a mocking service flow to simulate standard responses from the rest API and then configure the mule flows to call the marking service flow
Answers
D.
Create a mocking service flow to simulate standard responses from the rest API and then configure the mule flows to call the marking service flow
Suggested answer: C
asked 23/09/2024
THARINDU AMARASINGHE
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first