A module for Python3 that can be used to send test API calls based on the .env variables set up before starting the script
- Copy .env.example as .env and fill out the variables. No quotes are needed.
- Run the following commands
Install the virtual env manager if you don't have it:
python3 -m pip install virtualenv
Setup:
python3 -m virtualenv .venv
source .venv/bin/activate
python3 -m pip install python-dotenv py-jama-rest-client
- Now you should be ready to run with "python3 main.py" and the results will output to console. You can also assign to a variable, the Jama module will convert the return as an iteratable custom object with hashtables inside.
See https://pypi.org/project/py-jama-rest-client/ for more examples of put, patch and other calls