mirror of
https://github.com/maintell/webBenchmark.git
synced 2026-04-22 00:29:14 +08:00
add customizable header
This commit is contained in:
17
README.md
17
README.md
@@ -5,8 +5,9 @@ http benchmark tool to ran out your server bandwidth.
|
||||
|
||||
- random User-Agent on every Request
|
||||
- customizable Referer Url,
|
||||
- customizable header,
|
||||
- concurrent routines as you wish, depends on you server performance.
|
||||
- add http post mode
|
||||
- http post mode
|
||||
- specify multi target ip, or resolved by system dns.
|
||||
- randomly X-Forwarded-For and X-Real-IP (default on).
|
||||
|
||||
@@ -25,6 +26,8 @@ http benchmark tool to ran out your server bandwidth.
|
||||
target url (default "https://baidu.com")
|
||||
-i string
|
||||
custom ip address for that domain, multiple addresses automatically will be assigned randomly
|
||||
-H http header pattern
|
||||
http header pattern, use Random with number prefix will generate random string, same key will be overwritten
|
||||
-f string
|
||||
randomized X-Forwarded-For and X-Real-IP address
|
||||
-p string
|
||||
@@ -37,10 +40,16 @@ http benchmark tool to ran out your server bandwidth.
|
||||
|
||||
## Advanced example
|
||||
# send request to 10.0.0.1 and 10.0.0.2 for https://target.url with 32 concurrent threads
|
||||
# and refer is https://refer.url
|
||||
./webBenchmark_linux_x64 -c 32 -s https://target.url -r https://refer.url -i 10.0.0.1 -i 10.0.0.2
|
||||
# and refer is https://refer.url
|
||||
./webBenchmark_linux_x64 -c 32 -s https://target.url -r https://refer.url -i 10.0.0.1 -i 10.0.0.2
|
||||
# send request to https://target.url with header regid:123 and sign:Random10
|
||||
./webBenchmark_linux_x64 -s https://target.url -H 'regid:123' -H 'sign:QpXDYHdVzB'
|
||||
|
||||
|
||||
|
||||
|
||||
## LICENSE AND DISCLAIMER
|
||||
|
||||
##LICENSE AND DISCLAIMER
|
||||
|
||||
**1. Application.**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user