https://github.com/thomd/httpgen
Generate time-delayed web-resources for testing webpage performance
https://github.com/thomd/httpgen
css javascript network-waterfall
Last synced: about 1 month ago
JSON representation
Generate time-delayed web-resources for testing webpage performance
- Host: GitHub
- URL: https://github.com/thomd/httpgen
- Owner: thomd
- Created: 2015-09-22T21:40:32.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2021-11-12T01:36:11.000Z (over 4 years ago)
- Last Synced: 2025-03-30T19:14:48.276Z (about 1 year ago)
- Topics: css, javascript, network-waterfall
- Language: JavaScript
- Homepage: http://httpgen.herokuapp.com/
- Size: 42 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HTTP-Response Generator for Webpage Performance Tests
[](https://travis-ci.org/thomd/httpgen)
[](https://snyk.io/test/github/thomd/httpgen)
Generate dummy webpage resources like CSS, javascript and images for testing webpage performance patterns.
## Install on Heroku
heroku login
heroku create
git push heroku master
heroku open
or use
[](https://heroku.com/deploy?template=https://github.com/thomd/httpgen)
## Usage
### CSS
/css/?/?/.css
``: response time in seconds
``: size of document in kilo-bytes
``: name for the resource to identify easily in the developer-tools network waterfall
### Javascript
/javascript/?/?/
``: response time in seconds
``: size of document in kilo-bytes
`
``: name for the resource to identify easily in the developer-tools network waterfall
### PNG Image
/image/?/?/?/.png
``: response time in seconds
``: width of the image in pixel
``: height of the image in pixel
``: color of the image in hex-code (without `#`) or prefix with `random`
### QR-code Image
/qr/?/.png
``: response time in seconds
``: content of the QR-code
``: request header as content of the QR-code (for example: `referer`)
### Timeout for simulating a single point of failure (SPOF)
/spof
### JSON
Return clients IP address.
/json/?/?/.json
``: response time in seconds
``: size of document in kilo-bytes
``: name for the resource to identify easily in the developer-tools network waterfall