title: JMeter: JSON Response body assertion
body: <p>These are the sample responses for my API request</p>
  <p>Sample 1: {
  &quot;success&quot;: [{
  &quot;requestKey&quot;: &quot;dac105de-2a1b-49a4-92d8-fce4462bbe4c&quot;,
  &quot;externalKey&quot;: &quot;0&quot;,
  &quot;person&quot;: {
  &quot;ID&quot;: &quot;PAU1772881848&quot;
  },
  &quot;business&quot;: {
  &quot;ID&quot;: &quot;BAU0264699094&quot;
  }
  }],
  &quot;error&quot;: []
  }</p>
  <p>Sample 2:
  {
  &quot;success&quot;: [{
  &quot;requestKey&quot;: &quot;d2e500b3-ce1d-41b6-bf8c-a1e337b436fe&quot;,
  &quot;externalKey&quot;: &quot;0&quot;,
  &quot;person&quot;: {
  &quot;ID&quot;: &quot;PAU0917783377&quot;
  },
  &quot;business&quot;: {
  &quot;ID&quot;: &quot;BAU0152754693&quot;
  }
  }],
  &quot;error&quot;: [{
  &quot;requestedUri&quot;: null,
  &quot;requestKey&quot;: &quot;fe9e7858-009d-4e10-8ba6-8b6d18666f7e&quot;,
  &quot;errorCode&quot;: &quot;BusinessPhoneNumberNotUnique&quot;,
  &quot;errorMessage&quot;: &quot;This phone number is already registered&quot;
  }]
  }</p>
  <p>I would like to add an assertion to check if the response body contains any errors. What's the best way to do it in JMeter? Thank you in advance.</p>