Accesing value on a JSON

Hello everyone! how are you doing?
I’m facing a problem again! haha.
I need to access some data into a json response of an API I’m testing but I just can’t do that… I have been trying to do that all day long but it seens not to be accessible. For sure it is something I’m missing.

I’m returning the jason this way… Return From Keyword ${POST.json()['dados']} but I have tried in many many different ways including $.dados but it just doesn’t works…

The response I get from the API and I can return to the test is:

From this point on, I can’t access anything…

Could someone help me pls?
Thanks in advance!

Hi Rafael,

Which library are you using? Requests Library or RestInstance?

Here is an example for requests library

The syntax for requests library is
${response.json()}[key]

2 Likes