BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
11 / 18 · Module 14 — External Automated Testing of Mule Integrations · filtered: cheatsheet← prev⊞ allnext →

14.64Interview scenario: async integration

Mule returns 202 and eventually updates Salesforce. How do you automate that?

Answer:

“I'd assert the 202 contract first, capture the request or correlation ID, then poll either the public status endpoint or Salesforce state until the expected business condition becomes true, using a bounded timeout. I wouldn't use a fixed sleep because that makes the suite slow and flaky.”

Perfect.