Implemented a minimalistic tool to perform regression tests between two versions of a REST API.
The proof of concept implementation is rrt.bash
.
- All changes (also intentional enhancements) are shown as failures.
- Only supports GET requests.
- Does not support authentication.
$ sudo -H pip install httpie
In order to run the included sample API versions, you also need
sudo -H pip install flask-restful
The sample APIs can be started via
cd server
python3 v1.py
python3 v2.py
- Fill
requests.csv
with your requests. - Adjust the values of
$old
and$new
to the base urls of your rest API. - Execute the tests via
./rrt.bash
- If you'd like to show all performed requests (not just failures),
add the
-v
parameter
- All changes (also intentional enhancements) are shown as failures.
- Only supports GET requests.
- Does not support authentication.
$ sudo -H pip install requests
In order to run the included sample API versions, you also need
sudo -H pip install flask-restful
The sample APIs can be started via
cd server
python3 v1.py
python3 v2.py
- Fill
requests.csv
with your requests. - Adjust the values of
OLD
andNEW
to the base urls of your rest API. - Execute the tests via
python3 rrt.py
Run python3 rrt.py --help
for additional information.