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

14.35Salesforce validation-rule test

Suppose Salesforce has a rule:

Enterprise Account requires AnnualRevenue

Send:

{
  "customerId": "C001",
  "customerType": "Enterprise"
}

without revenue.

This should prove:

real Salesforce validation
↓
Mule connector error
↓
Mule error mapping
↓
correct API response

That cannot be fully proven with a mock.