Simple yet powerful request generator based on asynio/aiohttp (Python 3.7) that generates the maximum possible number of requests from your personal device to a server. "18 Lines of the Powerful Request Generator with Python (asyncio/aiohttp)".
Note: "18 lines" stands for "18 lines of code" excluding empty lines and comments.
- Copy
18-lines-request-generator.py
to your local folder. - Run:
or
$ python3.7 18-lines-request-generator.py
$ chmod +x 18-lines-request-generator.py $ ./18-lines-request-generator.py
- How to measure execution time:
$ time ./18-lines-request-generator.py