To check if the Respondy Body has a string, I can use this:
tests["Body matches string"] = responseBody.has("string_you_want_to_search");
But I have a responseBody like this:
{
"total": 20000,
"amount": {
"total": 10000,
"fees": 0,
"refunds": 0,
"liquid": 10000,
"currency": "BRL"
},
}
How can I check the field amount.total?