To extract status form this response in rest assured i just need to use one.response
or two.response
{
"one": {
"status": "SUCCESSFUL",
"fileNum": "1"
},
"two": {
"status": "SUCCESSFUL",
"fileNum": "2"
}}
But how can I extract the same value (without changing key) if i have such response:
{
"something.one.txt": {
"status": "SUCCESSFUL",
"fileNum": "1"
},
"somethinganother.two.txt": {
"status": "SUCCESSFUL",
"fileNum": "2"
}}