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

14.21Concurrent idempotency test

This is even stronger.

Send the same request:

10 times concurrently

Conceptually:

await Promise.all(
  Array.from({ length: 10 }, () =>
    createCustomer(request, sameCustomer)
  )
);

Then query Salesforce:

count = 1

This can reveal the Query→Create race we discussed in Module 12.