I'm trying to extract highest value on array containing Null values; jmeter doesn't doing it, anyone know why?
using: max(result[].data[].values[]) works fine at https://jmespath.org/tutorial.html
ERROR o.a.j.e.j.j.JMESPathExtractor: Error processing JSON content in JSON JMESPath Extractor, message: Invalid argument type calling "max": expected array of number or string but was array containing array
{
"result": [
{
"metricId": "count.server",
"data": [
{
"dimensions": [
"SERVICE_METHOD"
],
"dimensionMap": {
"dt.entity.service_method": "SERVICE_METHOD"
},
"values": [
null,
null,
1,
null,
null,
1,
null,
null,
null,
null,
null,
null,
1,
1,
null,
null,
4,
null
]
}
]
}
]
}