This is a complete rewrite of an application that I originally created over 10 years ago using Python 2.7 and PyQt 4.
This version requires Python 3 and PyQt 6.
In some areas it's simplified but on the other hand support for the REST API has been added.
It was an interesting experiment. How many features can you pack in about 1000 lines of Python/Qt code? The answer is: quite a lot! :-)
JSON API Tester has very few dependencies. Just PyQt6 and requests.
You can run PrepareEnvironment.cmd and then StartTester.cmd. Alternatively you can manually install dependencies in global environment and then run jsonapitester.py.
JSON API Tester can be used to test REST and JSON RPC services.
It uses locations (or environments) loaded from locations.json. You do not need to restart application to make changes in locations.json. Just click Locations button.
Also, very important part of JSON API Tester is web service definition JSON. It's simple custom format that defines API input using over 10 types of data: from simple ones like INT or STRING to more complex like OBJECT. Thanks to this definition application can generate nice UI, so you do not need (but still can!) to edit JSON manually. Please check RestTest.wsd and RpcTest.wsd for details. You do not need to restart application to make changes in wsd files. Just click methods combo box.
testserver.py is a simple development server that returns echo.
GPLv3
