The WAPI is an automation interface test platform developed based on the Django admin framework. Mainly composed of 7 modules:
- API use case management system (add/delete/view/search use cases)
- API suite management system (in a single system or in a single version for a set of packages)
- API Task management system (asynchronous Task)
- Environment system configuration (environment domain name Host or system domain name Host)
- Log system (query record API execution results)
- Feedback system (after troubleshoot the wrong reasons)
- Statistical system (statistical API/system robustness, etc.)
At the moment, Is a Django admin as the main framework implementations,
Later will use Django + the Bootstrap + JS + RESTful technology to realize the comprehensive transformation,
Now we has achieved five big modules, then we will further develop.
- Supports HTTP, HTTPS and SOAP protocol interfaces.
- Support request parameterization and data transfer of associated interfaces.
- Support ignition test, smoke, business process test, single interface test and generate test report.
- Support sending mail and support sending WeChat push messages.
- Support queue service to perform Task tasks.
- Support for configuring multiple environments host (DEV \TEST\PROD environment), etc.
- Support logging query
Use Python 2.7 and Dependent libraries in requirements.txt
- Django==1.11
- django-celery==3.2.1
- django-kombu==0.9.4
- mysqlclient==1.3.12
- requests==2.18.4
- redis==2.10.5
- bs4==0.0.1
- lxml==3.8.0
- kombu==3.0.37
- pyOpenSSL==17.0.0
- pyv8==1.0
- BeautifulSoup==3.2.1
- beautifulsoup4==4.5.3
- celery==3.1.25
- Run pip install -r requirements.txt
- And configuration settings.py
You can deploy on Apache or run in you PC.
For example in my PC:
python manager.py runserver
And if you need tasks function, must be running celery.
python manage.py celery worker -l info
python manage.py celery beat
- Use the Django REST Framework
- Add performance test functionality locust
- Add statistical function (API, subsystem success rate, failure rate, etc.) highcharts
- Use the django-bootstrap refactoring page
- Feedback system And automatically bring bug

