Simple Python script which calls API in NZ server and verifies specific values are in the replied JSON. The script includes 3 tests (unittests):
- Happy path, just call the API and search for correct expected values.
- Fail flow, call the API and search for "bad" value (existing, but in a different sub-element)
- Consecutive fail flow, call the API and search for several "bad" values
To execute this script - just call it :) python script.py
For any questions: amitay.shahar2@gmail.com