simple Check if Array is not Empty

Hey folks,

currently I’m struggling a bit with checking if a JSON-array-response does contain any values.

The response will be sth. of this (no attributes, just an array):

`

[
  {
    "documentName": "Sortiergruppe_anzahlgesteuert",
    ...
  },
  {
    "documentName": "Sortiergruppe_manuell",
    ...
  },...
]

`

How can I check with gatling that this array is not empty?

Hope you can help me quick :slight_smile:
Regards.

.check(jsonPath("$..documentName").exists)
?

shame on me.
This works brilliant! Thanks!