How to fail a test for an api call if json brackets are not empty
I have a pytest script making HTTP calls. One of the calls returns a response like this:
Getting all values from a certain node in json using python
I hava a large json response on an api call using pytest. I want to pick up all hpsIds and all ids and “store it somewhere” to be used as parameters in a subsequent request.