Toap (तोप) means artillery in Hindi.
This app records http(s) traffic for a website and converts them to Artillery.io load test scripts.
Artillery.io is a new load testing tool based on node.js
Toap (तोप) Video Demo recording web requests, think time and comments.
-
Install Node.js
-
Clone or Download the repo
git clone https://github.com/rupeshmore/toap
- Inside the toap folder using terminal, install all dependencies
npm install
- Run the app
npm start
- Record the browser interactions without configuring browser network proxy settings.
- Calculate Think Time between requests.
- Configure to record think time and/or headers.
- Add comments to the script.
- Option to open new browser window instead of within an iframe.
- Download the JSON flow file at any point in time.
All the artillery scripts are recorded under the flow
folder.
- The default browser client is chrome. If you need to change the browser option edit
config.json
and change thebrowser
to firefox/IE. - Toap gui runs on port 3001. Change the
toapGuiPort
inconfig.json
and set to available value. - Toap proxy runs on port 3010. Change the
toapProxyPort
inconfig.json
and set to available value.
Comments are only for readability and debugging purpose. Comments should be removed from the flow file before running the tests.
- Sites with multiple iframes will not open within the iframe, it is recommended switch
ON
to open in the new browser. - If filename exists then it will append to the existing file.
- Body for
multipart/form-data
requests are skipped, as artillery has no support.
- Websites with 'content-security-policy' will not display correctly within the iframe
- Better HTTPS support.
- Resolve requests with 'content-security-policy' headers.
MIT