Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.97 KB | None | 0 0
  1. # Updated by Siege 3.1.4, August-22-2016
  2. # Copyright 2000-2015 by
  3. #
  4. # Siege configuration file -- edit as necessary
  5. # For more information about configuring and running
  6. # this program, visit: http://www.joedog.org/
  7.  
  8. #
  9. # Variable declarations. You can set variables here
  10. # for use in the directives below. Example:
  11. # PROXY = proxy.joedog.org
  12. # Reference variables inside ${} or $(), example:
  13. # proxy-host = ${PROXY}
  14. # You can also reference ENVIRONMENT variables without
  15. # actually declaring them, example:
  16. # logfile = $(HOME)/var/siege.log
  17.  
  18. #
  19. # Verbose mode
  20. #
  21. # Signify verbose mode, true turns on verbose output
  22. # ex: verbose = true|false
  23. #
  24. verbose = true
  25.  
  26. #
  27. # Quiet mode
  28. #
  29. # When true, this turns off verbose and standard output.
  30. # You'll still see the opening announcement and the final
  31. # stats if you're running a siege but -g/--get will be
  32. # extremely quiet. This was added primarily for scripting
  33. # ex: quiet = true|false
  34. #
  35. quiet = false
  36.  
  37. #
  38. # Get method - select an HTTP method to use when siege
  39. # is set to get mode, siege -g/--get URL. You may select
  40. # GET or HEAD. The default method is HEAD. As expected
  41. # HEAD prints just the headers and GET prints the entire
  42. # page.
  43. #
  44. # NOTE: This only applies when siege is invoked with
  45. # -g/--get. All other requests methods will be made
  46. # on the basis of the URL.
  47. #
  48. # example: gmethod = GET
  49. #
  50. gmethod = HEAD
  51.  
  52.  
  53. #
  54. # CSV Verbose format: with this option, you can choose
  55. # to format verbose output in traditional siege format
  56. # or comma separated format. The latter will allow you
  57. # to redirect output to a file for import into a spread
  58. # sheet, i.e., siege > file.csv
  59. # ex: csv = true|false (default false)
  60. #
  61. # csv = true
  62.  
  63. #
  64. # Timestamp format: with this option, you can choose to
  65. # print a timestamp each line of output
  66. # example: timestamp = true|false (default false)
  67. #
  68. # sample: [Sat, 2010-11-20 10:39:13] HTTP/1.1 200 0.12 secs: 4003 bytes ==> /
  69. #
  70. # timestamp = true
  71.  
  72. #
  73. # Full URL verbose format: By default siege displays
  74. # the URL path and not the full URL. With this option,
  75. # you # can instruct siege to show the complete URL.
  76. # ex: fullurl = true|false (default false)
  77. #
  78. # fullurl = true
  79.  
  80. #
  81. # Display id: in verbose mode, display the siege user
  82. # id associated with the HTTP transaction information
  83. # ex: display-id = true|false
  84. #
  85. # display-id =
  86.  
  87. #
  88. # Limit: This directive places a cap on the number of
  89. # threads siege will generate. The default value is 255
  90. # because out of the box apache is configured to handle
  91. # 256 clients. If you schedule more clients than apache
  92. # can handle, requests will back up and you'll make a
  93. # mess. DO NOT INCREASE THIS NUMBER UNLESS YOU CONFIGURED
  94. # APACHE TO HANLDE MORE THAN 256 SIMULTANEOUS REQUESTS
  95. # ex: limit = 1023 (default is 255)
  96. #
  97. limit = 255
  98.  
  99. #
  100. # Show logfile location. By default, siege displays the
  101. # logfile location at the end of every run when logging
  102. # You can turn this message off with this directive.
  103. # ex: show-logfile = false
  104. #
  105. show-logfile = true
  106.  
  107. #
  108. # Default logging status, true turns logging on.
  109. # ex: logging = true|false
  110. #
  111. logging = true
  112.  
  113. #
  114. # Logfile, the default siege logfile is $PREFIX/var/siege.log
  115. # This directive allows you to choose an alternative log file.
  116. # Environment variables may be used as shown in the examples:
  117. # ex: logfile = /home/jeff/var/log/siege.log
  118. # logfile = ${HOME}/var/log/siege.log
  119. # logfile = ${LOGFILE}
  120. #
  121. # logfile =
  122.  
  123. #
  124. # HTTP protocol. Options HTTP/1.1 and HTTP/1.0.
  125. # Some webservers have broken implementation of the
  126. # 1.1 protocol which skews throughput evaluations.
  127. # If you notice some siege clients hanging for
  128. # extended periods of time, change this to HTTP/1.0
  129. # ex: protocol = HTTP/1.1
  130. # protocol = HTTP/1.0
  131. #
  132. protocol = HTTP/1.1
  133.  
  134. #
  135. # Chunked encoding is required by HTTP/1.1 protocol
  136. # but siege allows you to turn it off as desired.
  137. #
  138. # ex: chunked = true
  139. #
  140. chunked = true
  141.  
  142. #
  143. # Cache revalidation.
  144. # Siege supports cache revalidation for both ETag and
  145. # Last-modified headers. If a copy is still fresh, the
  146. # server responds with 304.
  147. # HTTP/1.1 200 0.00 secs: 2326 bytes ==> /apache_pb.gif
  148. # HTTP/1.1 304 0.00 secs: 0 bytes ==> /apache_pb.gif
  149. # HTTP/1.1 304 0.00 secs: 0 bytes ==> /apache_pb.gif
  150. #
  151. # ex: cache = true
  152. #
  153. cache = false
  154.  
  155. #
  156. # Connection directive. Options "close" and "keep-alive"
  157. # Starting with release 2.57b3, siege implements persistent
  158. # connections in accordance to RFC 2068 using both chunked
  159. # encoding and content-length directives to determine the
  160. # page size. To run siege with persistent connections set
  161. # the connection directive to keep-alive. (Default close)
  162. # CAUTION: use the keep-alive directive with care.
  163. # DOUBLE CAUTION: this directive does not work well on HPUX
  164. # TRIPLE CAUTION: don't use keep-alives until further notice
  165. # ex: connection = close
  166. # connection = keep-alive
  167. #
  168. connection = close
  169.  
  170. #
  171. # Default number of simulated concurrent users
  172. # ex: concurrent = 25
  173. #
  174. concurrent = 15
  175.  
  176. #
  177. # Default duration of the siege. The right hand argument has
  178. # a modifier which specifies the time units, H=hours, M=minutes,
  179. # and S=seconds. If a modifier is not specified, then minutes
  180. # are assumed.
  181. # ex: time = 50M
  182. #
  183. # time =
  184.  
  185. #
  186. # Repetitions. The length of siege may be specified in client
  187. # reps rather then a time duration. Instead of specifying a time
  188. # span, you can tell each siege instance to hit the server X number
  189. # of times. So if you chose 'reps = 20' and you've selected 10
  190. # concurrent users, then siege will hit the server 200 times.
  191. # ex: reps = 20
  192. #
  193. # reps =
  194.  
  195. #
  196. # Default URLs file, set at configuration time, the default
  197. # file is PREFIX/etc/urls.txt. So if you configured siege
  198. # with --prefix=/usr/local then the urls.txt file is installed
  199. # int /usr/local/etc/urls.txt. Use the "file = " directive to
  200. # configure an alternative URLs file. You may use environment
  201. # variables as shown in the examples below:
  202. # ex: file = /export/home/jdfulmer/MYURLS.txt
  203. # file = $HOME/etc/urls.txt
  204. # file = $URLSFILE
  205. #
  206. # file =
  207.  
  208. #
  209. # Default URL, this is a single URL that you want to test. This
  210. # is usually set at the command line with the -u option. When
  211. # used, this option overrides the urls.txt (-f FILE/--file=FILE)
  212. # option. You will HAVE to comment this out for in order to use
  213. # the urls.txt file option.
  214. #
  215. # NOTE: you may do the same thing by passing a URL to siege at
  216. # the command line: siege -c10 -r10 "www.joedog.org/"
  217. # Generally, it's a good idea to wrap a command line URL in quotes
  218. #
  219. # ex: url = https://shemp.whoohoo.com/docs/index.jsp
  220. #
  221. # url =
  222.  
  223. #
  224. # Default delay between each request by a single thread. This
  225. # value is not included in the request time. If a thread sleeps
  226. # for two seconds then completes a 0.5 second request, the time
  227. # of the request is 0.5 seconds, not 2.5 seconds.
  228. #
  229. # ex: delay = 0.5
  230. #
  231. delay = 1
  232.  
  233. #
  234. # Connection timeout value. Set the value in seconds for
  235. # socket connection timeouts. The default value is 30 seconds.
  236. # ex: timeout = 30
  237. #
  238. # timeout =
  239.  
  240. #
  241. # Session expiration: This directive allows you to delete all
  242. # cookies after you pass through the URLs. This means siege will
  243. # grab a new session with each run through its URLs. The default
  244. # value is false.
  245. # ex: expire-session = true
  246. #
  247. # expire-session =
  248.  
  249. #
  250. # Cookie support: by default siege accepts cookies. This directive
  251. # is available to disable that support. Set cookies to 'false' to
  252. # refuse cookies. Set it to 'true' to accept them. The default value
  253. # is true.
  254. # ex: cookies = false
  255. #
  256. # cookies =
  257.  
  258. #
  259. # Failures: This is the number of total connection failures allowed
  260. # before siege aborts. Connection failures (timeouts, socket failures,
  261. # etc.) are combined with 400 and 500 level errors in the final stats,
  262. # but those errors do not count against the abort total. If you set
  263. # this total to 10, then siege will abort after ten socket timeouts,
  264. # but it will NOT abort after ten 404s. This is designed to prevent
  265. # a run-away mess on an unattended siege. The default value is 1024
  266. # ex: failures = 50
  267. #
  268. # failures =
  269.  
  270. #
  271. # Internet simulation. If true, siege clients will hit
  272. # the URLs in the urls.txt file randomly, thereby simulating
  273. # internet usage. If false, siege will run through the
  274. # urls.txt file in order from first to last and back again.
  275. # ex: internet = true
  276. #
  277. internet = false
  278.  
  279. #
  280. # Default benchmarking value, If true, there is NO delay
  281. # between server requests, siege runs as fast as the web
  282. # server and the network will let it. Set this to false
  283. # for load testing.
  284. # ex: benchmark = true
  285. #
  286. benchmark = false
  287.  
  288. #
  289. # Set the siege User-Agent to identify yourself at the
  290. # host, the default is: JoeDog/1.00 [en] (X11; I; Siege #.##)
  291. # But that wreaks of corporate techno speak. Feel free
  292. # to make it more interesting :-) Since Limey is recovering
  293. # from minor surgery as I write this, I'll dedicate the
  294. # example to him...
  295. #
  296. # ex: user-agent = Limey The Bulldog
  297. #
  298. # user-agent =
  299.  
  300. #
  301. # Accept-encoding. This option allows you to specify
  302. # acceptable encodings returned by the server. Use this
  303. # directive to turn on compression. By default we accept
  304. # gzip compression.
  305. #
  306. # ex: accept-encoding = *
  307. # accept-encoding = gzip
  308. # accept-encoding = compress;q=0.5;gzip;q=1
  309. accept-encoding = gzip
  310.  
  311. #
  312. # URL escaping was added in version 3.0.3. You may use this
  313. # directive to turn off this experimental feature. By default
  314. # this feature is active by default starting with v3.0.3
  315. #
  316. # http://www.joedog.org/jukebox.php?band=the days of new
  317. # becomes:
  318. # http://www.joedog.org/jukebox.php?band=the%20days%20of%20the%20new
  319. #
  320. # ex: url-escaping = false
  321. #
  322. url-escaping = true
  323.  
  324. #
  325. # TURN OFF THAT ANNOYING SPINNER!
  326. # Siege spawns a thread and runs a spinner to entertain you
  327. # as it collects and computes its stats. If you don't like
  328. # this feature, you may turn it off here. Your JoeDog loves
  329. # this feature but he understands that it may not render well
  330. # in your particular terminal. It's on by default because who
  331. # doesn't love a good spinner!
  332. #
  333. # ex: spinner = false
  334. #
  335. spinner = true
  336.  
  337. #
  338. # WWW-Authenticate. Currently siege supports two types
  339. # of HTTP authentication: digest and basic. It has partial
  340. # support for Microsoft's NTLM but in practice that only
  341. # works with the -g/--get option. (as of siege 3.1.1)
  342. #
  343. # When siege makes a request for a page that requires user
  344. # authentication, it will search its logins for a matching
  345. # realm. If it finds credentials for a realm, it will attempt
  346. # to login with that username and password.
  347. #
  348. # If it fails to match the realm, it will use its default login
  349. # credentials (which are designated with the keyword "all" or no
  350. # specified realm.
  351. #
  352. # If you do not supply a realm, then it will default to "all"
  353. # which instructs siege to send as default.
  354. #
  355. # You may enter many logins with each on its own separate line.
  356. # The only limitation is memory and realm name. You can't use the
  357. # same realm name more than once.
  358. #
  359. # ex: login = jdfulmer:topsecret:Admin
  360. # login = jeff:supersecret:all
  361. # login = jeff:supersecret
  362. #
  363. # login =
  364.  
  365. #
  366. # Login URL. This is the first URL to be hit by every siege
  367. # client. This feature was designed to allow you to login to
  368. # a server and establish a session. It will only be hit once
  369. # so if you need to hit this URL more then once, make sure it
  370. # also appears in your urls.txt file.
  371. #
  372. # ex: login-url = http://eos.haha.com/login.jsp POST name=jeff&pass=foo
  373. #
  374. # Siege versions after 2.69 support multi logins; you can configure
  375. # them with multiple login-url directives. Place each one on a separate
  376. # line. Siege loops through each login then starts again at the beginning
  377. # after it uses the last one. If you have more users than login-urls, then
  378. # siege starts reassigning ones that have already been used.
  379. #
  380. # ex: login-url = http://www.haha.com/login.php?name=homer&pass=whoohoo
  381. # login-url = http://www.haha.com/login.php?name=marge&pass=ohhomie
  382. # login-url = http://www.haha.com/login.php?name=bart&pass=eatMyShorts
  383. #
  384. # login-url =
  385. login-url = https://foo.example.co/auth/example/callback?email=jeeves%40example.co&password=blueSUN
  386.  
  387. #
  388. # FTP login - This directive provides one of two ways
  389. # to login to an ftp server. You may also set credentials
  390. # in RFC-1738 format: ftp://user:pass@host.com/ink.jpg
  391. #
  392. # The format is USER:PASS:HOST separated by colon ':'
  393. # The host field is optional. If you don't set a host,
  394. # then siege will send the same user:pass to every FTP
  395. # server. You may use this directive MULTIPLE times.
  396. # Siege will store each instance in memory and send the
  397. # appropriate credentials at login time depending on the
  398. # hostname in the URL.
  399. #
  400. # ex: ftp-login: jdfulmer:whoohoo:ftp.joedog.org
  401. # ftp-login: jdfulmer:password
  402. #
  403. # ftp-login =
  404.  
  405. #
  406. # FTP unique - This directive determines whether siege
  407. # will upload files with the same name (and therefore
  408. # overwrite whatever is on disk) or upload files each with a
  409. # unique name. If true, siege will rewrite the file name with
  410. # a timestamp in its name, i.e., p.jpg => p-3086060432.jpg
  411. # The default value is true.
  412. #
  413. # ex: unique = false
  414. #
  415. unique = true
  416.  
  417. #
  418. # ssl-cert
  419. # This optional feature allows you to specify a path to a client
  420. # certificate. It is not neccessary to specify a certificate in
  421. # order to use https. If you don't know why you would want one,
  422. # then you probably don't need this feature. Use openssl to
  423. # generate a certificate and key with the following command:
  424. # $ openssl req -nodes -new -days 365 -newkey rsa:1024 \
  425. # -keyout key.pem -out cert.pem
  426. # Specify a path to cert.pem as follows:
  427. # ex: ssl-cert = /home/jeff/.certs/cert.pem
  428. #
  429. # ssl-cert =
  430.  
  431. #
  432. # ssl-key
  433. # Use this option to specify the key you generated with the command
  434. # above. ex: ssl-key = /home/jeff/.certs/key.pem
  435. # You may actually skip this option and combine both your cert and
  436. # your key in a single file:
  437. # $ cat key.pem > client.pem
  438. # $ cat cert.pem >> client.pem
  439. # Now set the path for ssl-cert:
  440. # ex: ssl-cert = /home/jeff/.certs/client.pem
  441. # (in this scenario, you comment out ssl-key)
  442. #
  443. # ssl-key =
  444.  
  445. #
  446. # ssl-timeout
  447. # This option sets a connection timeout for the ssl library
  448. # ex: ssl-timeout = 30
  449. #
  450. # ssl-timeout =
  451.  
  452. #
  453. # ssl-ciphers
  454. # You can use this feature to select a specific ssl cipher
  455. # for HTTPs. To view the ones available with your library run
  456. # the following command: openssl ciphers
  457. # ex: ssl-ciphers = EXP-RC4-MD5
  458. #
  459. # ssl-ciphers =
  460.  
  461. #
  462. # Proxy Host. You can use siege to test a proxy server but
  463. # you need to configure it to use one. You'll need to name
  464. # a proxy host and the port it's listening one. The settings
  465. # are proxy-host and proxy-port. The following example shows
  466. # how to use them.
  467. # ex: proxy-host = proxy.joedog.org
  468. # proxy-port = 3123
  469. #
  470. # proxy-host =
  471. # proxy-port =
  472.  
  473. #
  474. # Proxy-Authenticate. When scout hits a proxy server which
  475. # requires username and password authentication, it will this
  476. # username and password to the server. The format is username,
  477. # password and optional realm each separated by a colon. You
  478. # may enter more than one proxy-login as long as each one has
  479. # a different realm. If you do not enter a realm, then scout
  480. # will send that login information to all proxy challenges. If
  481. # you have more than one proxy-login, then scout will attempt
  482. # to match the login to the realm.
  483. # ex: proxy-login: jeff:secret:corporate
  484. # proxy-login: jeff:whoohoo
  485. #
  486. # proxy-login =
  487.  
  488. #
  489. # Redirection support. This option allows to to control
  490. # whether a Location: hint will be followed. Most users
  491. # will want to follow redirection information, but sometimes
  492. # it's desired to just get the Location information.
  493. #
  494. # ex: follow-location = false
  495. #
  496. # follow-location =
  497.  
  498. # Zero-length data. siege can be configured to disregard
  499. # results in which zero bytes are read after the headers.
  500. # Alternatively, such results can be counted in the final
  501. # tally of outcomes.
  502. #
  503. # ex: zero-data-ok = false
  504. #
  505. # zero-data-ok =
  506.  
  507. #
  508. # end of siegerc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement