OpenAPI Perf
🤖 Automatic OpenAPI Performance Testing 🤖
Documentation: https://openapi-perf.awtkns.com
GitHub Action: https://github.com/awtkns/openapi-perf-action
Source Code: https://github.com/awtkns/openapi-perf
PyPi Page: https://pypi.org/project/openapi-perf/
Installation
$ pip install openapi-perf
---> 100%
Basic Usage
from openapi_perf import OpenAPIPerf
ENDPOINT_URL = "http://localhost:5000"
if __name__ == "__main__":
# Generating Test Schema
op = OpenAPIPerf(ENDPOINT_URL)
# Perfomance Testing
results = op.run()
# Analysing Results
results.plot()
results.to_csv("results.csv")