Testing Tools

Loading

[Paid] Siege : stress testing tool for Web servers

Performance Test
Author
estrella
Date
2013-12-20 17:22
Views
11699852

Siege is a utility for stress testing webservers. It was created to
give developers the ability to check the resource consumption of its
code in conditions close to real. Siege also can use the site to
simulate multiple users.

Siege is a stress testing tool for Web servers

Startup Parameters

Format launch Siege following: “siege options”. The program can take the following parameters:

‘-V’
‘-Version’

Displays the current version.

‘-H’
‘-Help’

Displays help.

‘-C’
‘-Config’

Displays the current configuration. Siege reads the configuration and
displays their contents. You can change them by editing the file $ HOME /
.siegerc.

‘-V’
‘-Verbose’

A detailed derivation of the information. If this option is enabled
Siege will display detailed information on all calls to the server. It
includes the type of HTTP-protocol, the response code and address of the
treatment. Example:

HTTP/1.1 200 OK: / cgi-bin/whoohoo.cgi? First = Homer & last = simpson

This option is especially useful in the case of regression or
simulate the Internet, when the program goes to a wide range of
addresses.

‘-G URL’
‘-Get URL’

Commits an address to the link. Gets the headers from the server and
displays them on screen. It is a great tool for spot testing.

‘-C NUM’
‘-Concurrent = NUM’

Number of simulated users. Option allows you to test your Web server with the number of concurrent users specified in NUM.

‘-I’
‘-Internet’

This option is used with a configuration file containing lots of links.
When you turn it on Siege randomly selects addresses complaints and
makes inquiries to them.

‘-T NUMm’
‘-Time = NUMm’

Time for which the testing should be run. Is in the form «NUMm», where
NUM is the number of units of time, and «m» is a modifier S, M, or H for
seconds, minutes and hours respectively.

‘-F FILE’
‘-File = FILE’

The configuration file contains references (SIEGE_HOME / etc /
urls.txt). You can use this option to specify a different path. For
example:

siege-file = serverb.txt

‘- L’
‘-Log’

This option specifies the Siege that it must record all information in
the log file SIEGE_HOME / var / siege.log. With each new test file will
be appended.

‘- M MESSAGE’
‘-Mark = MESSAGE’

This option allows you to specify an expression which will divide a
record of different testing in the log file. Together with this it is
not necessarily use the option-l, because it will be included
automatically. If the expression contains spaces in the MESSAGE not
forget to put it in quotes.

‘-D NUM’
‘-Delay = NUM’

This option specifies the delay between calls simulated users to the
server. The delay time is calculated from the unit before the
introduction of a number.

Configuration file

Starting with version 2.00 Siege supports configuration files in
which you can store frequently-used commands. This can help a lot of
testing with almost the same settings. This file is called .Seigerc and
is located in your home directory user to install Siege.

Format of transmitted URL

Siege understands the following format options:

[Protocol: / /] [server.domen.xxx] [: port] [/ dierktoriya / file]

Addresses are supported only with HTTP and HTTPS. At least you have
to specify the server name. If you’re inside of a domain name and test
server named shemp, and it’s in your hosts file or in the local DNS,
then the command “Siege-u shemp” make an appeal to address
shemp.domen.net / index.shtml. If you want Siege worked with
https-server then you need to specify an additional and protocol. Thus
the command “siege-u https: / / shemp” make the program contact us at
https: / / shemp.yourdomain.net / index.shtml.

File with other links

Before running regression test or simulation mode Internet you need
to pass the program a list of verifiable addresses. To do this place
them in a file SIEGE_HOME / etc / urls.txt. It addresses must be placed
one per line:

homer.whoohoo.com / howto.jsp
homer.whoohoo.com / index.jsp

homer.whoohoo.com / cgi-bin / hello.pl? first = bart & last = simpson

etc.



Variables

Beginning with the release of version 2.57 Siege supports the
declaration of variables in the file. Siegerc and files with links
(urls.txt). The syntax of declaring of variables Siege is similar to the
syntax of UNIX shell. They announced one per line in the format
“varname = value”

Variable name is placed into the $ () or $ {}. You can use them e.g. for fast switching between the two protocols checked links:

PROT = https: / /
$ (PROT) eos.joedog.org / siege / index.php

$ (PROT) eos.joedog.org / wacky / index.php

$ (PROT) eos.joedog.org / scout / index.php

$ (PROT) eos.joedog.org / libping / index.php

$ (PROT) eos.joedog.org / gunner / index.php

In this example to change the protocol of all links you need to change just one line.

Log File

When Siege starts with the option of logging [-l/--log], the program
puts all output in PREFIX / var / siege.log, where PREFIX – install
directory Siege (see the file INSTALL). In the log file is written that
all program output to the screen in standard mode. Information when
writing is comma-delimited for easy import into other formats.

Platforms

Multi-threaded Siege was assembled and successfully tested extensively on the following platforms:

* AIX (powerpc-ibm-aix4.2.1.0). Siege compiled and tested successfully using the compiler “IBM C for AIX” version 5.
* GNU / Linux (i [56] 86-pc-linux-gnu). Siege was developed on SuSE GNU / Linux with gcc.

* HP-UX (hppa2.0w-hp-hpux11.00) Siege was compiled on this platform using the “HP ANSI C compiler”, and gcc.

* Solaris (sparc-sun-solaris2. [678]) Siege loves this platform. It was normally compiled on it using gcc.

* Microsoft Windows (pc-i686-cygwin) Siege has been ported to Cygwin
Funkman `om. It is normally run all versions of Siege after 1.5.

QATestLab is a
team of professionals working in various fields to ensure the quality
of IT projects: test managers, manual, automated and load testing test engineers, consultants and trainers.

http://qatestlab.com/

Total Reply 1

  • 2015-01-08 19:30

    helpful


Total 2,401
Number Title Author Date Votes Views
2401
Running Selenium from jMeter
lucaxel | 2021.02.14 | Votes 0 | Views 11084602
lucaxel 2021.02.14 0 11084602
2400
ZeuZ: Test automation framework for Web, Mobile, Desktop, API, and Cloud apps
(TestExpert) | 2021.02.04 | Votes 0 | Views 11266745
(TestExpert) 2021.02.04 0 11266745
2399
Testsigma: Test web, mobile apps, and APIs continuously @ DevOps speed (1)
(TestExpert) | 2021.02.04 | Votes 0 | Views 11439690
(TestExpert) 2021.02.04 0 11439690
2398
Mobile User Equipment Tester
(TestExpert) | 2021.02.04 | Votes 0 | Views 11642020
(TestExpert) 2021.02.04 0 11642020
2397
Katalon TestOps OnPremise (KTOP): TestOps Tool
VTB | 2020.03.23 | Votes 0 | Views 11659290
VTB 2020.03.23 0 11659290
2396
[Paid] Ranorex Webtestit : UI web tests with Selenium or Protractor
ItSeTsQtB | 2019.08.08 | Votes 0 | Views 11463009
ItSeTsQtB 2019.08.08 0 11463009
2395
[Paid] Zabbix : Monitor any possible performance metrics and incidents in your network
^Software^ | 2019.07.24 | Votes 0 | Views 11784923
^Software^ 2019.07.24 0 11784923
2394
[Paid] NeoLoad 7.0 : Performance Test APIs to Full Applications
IT-Tester | 2019.07.24 | Votes 0 | Views 11598784
IT-Tester 2019.07.24 0 11598784
2393
[FREE] Cucumber : behavior-driven development (BDD) tool
IT-Tester | 2019.07.22 | Votes 0 | Views 10963023
IT-Tester 2019.07.22 0 10963023
2392
[Free] HTTrack : Website Testing Tool
IT-Tester | 2019.07.22 | Votes 0 | Views 11262374
IT-Tester 2019.07.22 0 11262374
2391
Arquillian : Automated integration, functional and acceptance tests for Java
IT-Tester | 2019.07.08 | Votes 0 | Views 11394796
IT-Tester 2019.07.08 0 11394796
2390
FitNesse : Automated acceptance tests are power tools for fixing a broken requirements process
IT-Tester | 2019.07.08 | Votes 0 | Views 11158077
IT-Tester 2019.07.08 0 11158077
2389
Hiptest : Continuous Testing Management Platform
IT-Tester | 2019.06.26 | Votes 0 | Views 11352334
IT-Tester 2019.06.26 0 11352334
2388
[Free] Test Data Generation Tool : DTM Data Generator
IT-Tester | 2019.06.26 | Votes 0 | Views 11415910
IT-Tester 2019.06.26 0 11415910
2387
[Free] Assertible : API testing tool which concentrates on the automation and reliability
VTB | 2019.06.21 | Votes 0 | Views 11973079
VTB 2019.06.21 0 11973079
2386
[Free] Rest-Assured : Java Domain-specific language that makes testing REST service
VTB | 2019.06.21 | Votes 0 | Views 11830311
VTB 2019.06.21 0 11830311
2385
Postman : API Testing Tool (1)
Testersbest | 2019.06.21 | Votes 0 | Views 11530402
Testersbest 2019.06.21 0 11530402
2384
Robotium: Android UI Testing
Testersbest | 2019.06.21 | Votes 1 | Views 11081798
Testersbest 2019.06.21 1 11081798
2383
Ranorex : Automation Testing Tool for desktop, web, and mobile applications
Testersbest | 2019.06.21 | Votes 0 | Views 11219231
Testersbest 2019.06.21 0 11219231
2382
TestingWhiz : Automation Testing Tool for Software, Web, Mobile, Database, Cloud, Web Services and API testing
Testersbest | 2019.06.21 | Votes 0 | Views 11600836
Testersbest 2019.06.21 0 11600836
2381
Travis CI : Test and Deploy with Confidence
edouwens | 2018.11.19 | Votes 0 | Views 11138101
edouwens 2018.11.19 0 11138101
2380
QF- Test : automation testing tool that is meant for testing Java and Web GUI application (1)
aiitistqb | 2018.10.16 | Votes 0 | Views 11189667
aiitistqb 2018.10.16 0 11189667
2379
Wink : Time-based and action-based capture of user actions
aiitistqb | 2018.10.16 | Votes 0 | Views 11427132
aiitistqb 2018.10.16 0 11427132
2378
Crucible : a web-based application primarily targeting enterprise
aiitistqb | 2018.10.16 | Votes 0 | Views 11479350
aiitistqb 2018.10.16 0 11479350
2377
Automated Mobile Testing Tools List
aiitistqb | 2018.10.16 | Votes 0 | Views 11292092
aiitistqb 2018.10.16 0 11292092
2376
SpecFlow : software tool that computer programmers use for testing other software
aiitistqb | 2018.10.16 | Votes 0 | Views 11710172
aiitistqb 2018.10.16 0 11710172
2375
Ranorex : Test Automation Tools for Complete Awesomeness
Testersbest | 2018.10.16 | Votes 0 | Views 11614084
Testersbest 2018.10.16 0 11614084
2374
SmartBear : End-to-End Automated Testing for Mobile, Web & Desktop Apps
Testersbest | 2018.10.16 | Votes 0 | Views 11422960
Testersbest 2018.10.16 0 11422960
2373
Bugdojo : Continuous QA for your web apps
Testersbest | 2018.10.16 | Votes 0 | Views 11644413
Testersbest 2018.10.16 0 11644413
2372
TEstNg (5)
kg2031 | 2018.02.28 | Votes 0 | Views 11171465
kg2031 2018.02.28 0 11171465
2371
Locators (1)
kg2031 | 2018.02.28 | Votes 0 | Views 11271123
kg2031 2018.02.28 0 11271123
2370
Crystal Reports
nk1 | 2018.02.23 | Votes 0 | Views 11059278
nk1 2018.02.23 0 11059278
2369
Selenium Learning Tutorial (4)
Dwarika | 2017.08.28 | Votes 0 | Views 11513834
Dwarika 2017.08.28 0 11513834
2368
[Paid] Module for Binary formats
SoftLogica | 2017.08.11 | Votes 0 | Views 11269918
SoftLogica 2017.08.11 0 11269918
2367
Getting Started with Selenium IDE
VijayShinde | 2017.06.09 | Votes 0 | Views 11119905
VijayShinde 2017.06.09 0 11119905
2366
UniPi Is A Powerful Board That Can Control Your Smart Home
TLP | 2017.04.26 | Votes 0 | Views 11459199
TLP 2017.04.26 0 11459199
2365
what is diff between SVN and GITHUB
vivekjog | 2017.04.24 | Votes 0 | Views 11805344
vivekjog 2017.04.24 0 11805344
2364
Macro to remove trailing spaces (1)
Christo | 2017.03.29 | Votes 0 | Views 11169615
Christo 2017.03.29 0 11169615
2363
Comparing 2 work sheets (2)
Christo | 2017.03.29 | Votes 0 | Views 11458812
Christo 2017.03.29 0 11458812
2362
Tool to generate all combinations of test parameters. (3)
Christo | 2017.03.29 | Votes 0 | Views 11019795
Christo 2017.03.29 0 11019795
2361
Best Testing Tools of 2014 (2)
kleyzit | 2017.02.24 | Votes 0 | Views 11043855
kleyzit 2017.02.24 0 11043855
2360
JCrawler (1)
Sky Driver | 2017.01.26 | Votes 0 | Views 11357596
Sky Driver 2017.01.26 0 11357596
2359
fwptt
Sky Driver | 2017.01.26 | Votes 0 | Views 11246566
Sky Driver 2017.01.26 0 11246566
2358
AppLoader: Performance Testing for Any Application
Sky Driver | 2017.01.26 | Votes 0 | Views 11082986
Sky Driver 2017.01.26 0 11082986
2357
LoadStorm
loveelok | 2017.01.20 | Votes 0 | Views 11606261
loveelok 2017.01.20 0 11606261
2356
SiteBlaster
loveelok | 2017.01.20 | Votes 0 | Views 10845286
loveelok 2017.01.20 0 10845286
2355
Xceptance LoadTest (1)
loveelok | 2017.01.20 | Votes 0 | Views 11094855
loveelok 2017.01.20 0 11094855
2354
Test Manager (1)
loveelok | 2017.01.12 | Votes 0 | Views 10685205
loveelok 2017.01.12 0 10685205
2353
Test Environment Toolkit (1)
master15 | 2017.01.06 | Votes 0 | Views 11700565
master15 2017.01.06 0 11700565
2352
Burpsuite Pro 1.5.01 (1)
master15 | 2016.12.15 | Votes 0 | Views 11103869
master15 2016.12.15 0 11103869