Testing Tools

Loading

[Paid] Siege : stress testing tool for Web servers

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

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 18156735
lucaxel 2021.02.14 0 18156735
2400
ZeuZ: Test automation framework for Web, Mobile, Desktop, API, and Cloud apps
(TestExpert) | 2021.02.04 | Votes 0 | Views 18311541
(TestExpert) 2021.02.04 0 18311541
2399
Testsigma: Test web, mobile apps, and APIs continuously @ DevOps speed (1)
(TestExpert) | 2021.02.04 | Votes 0 | Views 18470198
(TestExpert) 2021.02.04 0 18470198
2398
Mobile User Equipment Tester
(TestExpert) | 2021.02.04 | Votes 0 | Views 18877759
(TestExpert) 2021.02.04 0 18877759
2397
Katalon TestOps OnPremise (KTOP): TestOps Tool
VTB | 2020.03.23 | Votes 0 | Views 18771460
VTB 2020.03.23 0 18771460
2396
[Paid] Ranorex Webtestit : UI web tests with Selenium or Protractor
ItSeTsQtB | 2019.08.08 | Votes 0 | Views 17817250
ItSeTsQtB 2019.08.08 0 17817250
2395
[Paid] Zabbix : Monitor any possible performance metrics and incidents in your network
^Software^ | 2019.07.24 | Votes 0 | Views 18910617
^Software^ 2019.07.24 0 18910617
2394
[Paid] NeoLoad 7.0 : Performance Test APIs to Full Applications
IT-Tester | 2019.07.24 | Votes 0 | Views 18269469
IT-Tester 2019.07.24 0 18269469
2393
[FREE] Cucumber : behavior-driven development (BDD) tool
IT-Tester | 2019.07.22 | Votes 0 | Views 17261419
IT-Tester 2019.07.22 0 17261419
2392
[Free] HTTrack : Website Testing Tool
IT-Tester | 2019.07.22 | Votes 0 | Views 17752259
IT-Tester 2019.07.22 0 17752259
2391
Arquillian : Automated integration, functional and acceptance tests for Java
IT-Tester | 2019.07.08 | Votes 0 | Views 18259124
IT-Tester 2019.07.08 0 18259124
2390
FitNesse : Automated acceptance tests are power tools for fixing a broken requirements process
IT-Tester | 2019.07.08 | Votes 0 | Views 17830947
IT-Tester 2019.07.08 0 17830947
2389
Hiptest : Continuous Testing Management Platform
IT-Tester | 2019.06.26 | Votes 0 | Views 17928123
IT-Tester 2019.06.26 0 17928123
2388
[Free] Test Data Generation Tool : DTM Data Generator
IT-Tester | 2019.06.26 | Votes 0 | Views 18136716
IT-Tester 2019.06.26 0 18136716
2387
[Free] Assertible : API testing tool which concentrates on the automation and reliability
VTB | 2019.06.21 | Votes 0 | Views 18784784
VTB 2019.06.21 0 18784784
2386
[Free] Rest-Assured : Java Domain-specific language that makes testing REST service
VTB | 2019.06.21 | Votes 0 | Views 18618270
VTB 2019.06.21 0 18618270
2385
Postman : API Testing Tool (1)
Testersbest | 2019.06.21 | Votes 0 | Views 18247245
Testersbest 2019.06.21 0 18247245
2384
Robotium: Android UI Testing
Testersbest | 2019.06.21 | Votes 1 | Views 18230715
Testersbest 2019.06.21 1 18230715
2383
Ranorex : Automation Testing Tool for desktop, web, and mobile applications
Testersbest | 2019.06.21 | Votes 0 | Views 18027011
Testersbest 2019.06.21 0 18027011
2382
TestingWhiz : Automation Testing Tool for Software, Web, Mobile, Database, Cloud, Web Services and API testing
Testersbest | 2019.06.21 | Votes 0 | Views 18385928
Testersbest 2019.06.21 0 18385928
2381
Travis CI : Test and Deploy with Confidence
edouwens | 2018.11.19 | Votes 0 | Views 18019835
edouwens 2018.11.19 0 18019835
2380
QF- Test : automation testing tool that is meant for testing Java and Web GUI application (1)
aiitistqb | 2018.10.16 | Votes 0 | Views 18207956
aiitistqb 2018.10.16 0 18207956
2379
Wink : Time-based and action-based capture of user actions
aiitistqb | 2018.10.16 | Votes 0 | Views 18528594
aiitistqb 2018.10.16 0 18528594
2378
Crucible : a web-based application primarily targeting enterprise
aiitistqb | 2018.10.16 | Votes 0 | Views 18322628
aiitistqb 2018.10.16 0 18322628
2377
Automated Mobile Testing Tools List
aiitistqb | 2018.10.16 | Votes 0 | Views 18253495
aiitistqb 2018.10.16 0 18253495
2376
SpecFlow : software tool that computer programmers use for testing other software
aiitistqb | 2018.10.16 | Votes 0 | Views 18342018
aiitistqb 2018.10.16 0 18342018
2375
Ranorex : Test Automation Tools for Complete Awesomeness
Testersbest | 2018.10.16 | Votes 0 | Views 18395419
Testersbest 2018.10.16 0 18395419
2374
SmartBear : End-to-End Automated Testing for Mobile, Web & Desktop Apps
Testersbest | 2018.10.16 | Votes 0 | Views 18118194
Testersbest 2018.10.16 0 18118194
2373
Bugdojo : Continuous QA for your web apps
Testersbest | 2018.10.16 | Votes 0 | Views 18271988
Testersbest 2018.10.16 0 18271988
2372
TEstNg (5)
kg2031 | 2018.02.28 | Votes 0 | Views 18193499
kg2031 2018.02.28 0 18193499
2371
Locators (1)
kg2031 | 2018.02.28 | Votes 0 | Views 18229162
kg2031 2018.02.28 0 18229162
2370
Crystal Reports
nk1 | 2018.02.23 | Votes 0 | Views 17866731
nk1 2018.02.23 0 17866731
2369
Selenium Learning Tutorial (4)
Dwarika | 2017.08.28 | Votes 0 | Views 18385329
Dwarika 2017.08.28 0 18385329
2368
[Paid] Module for Binary formats
SoftLogica | 2017.08.11 | Votes 0 | Views 18461793
SoftLogica 2017.08.11 0 18461793
2367
Getting Started with Selenium IDE
VijayShinde | 2017.06.09 | Votes 0 | Views 18011903
VijayShinde 2017.06.09 0 18011903
2366
UniPi Is A Powerful Board That Can Control Your Smart Home
TLP | 2017.04.26 | Votes 0 | Views 18571662
TLP 2017.04.26 0 18571662
2365
what is diff between SVN and GITHUB
vivekjog | 2017.04.24 | Votes 0 | Views 18753747
vivekjog 2017.04.24 0 18753747
2364
Macro to remove trailing spaces (1)
Christo | 2017.03.29 | Votes 0 | Views 18169423
Christo 2017.03.29 0 18169423
2363
Comparing 2 work sheets (2)
Christo | 2017.03.29 | Votes 0 | Views 18080595
Christo 2017.03.29 0 18080595
2362
Tool to generate all combinations of test parameters. (3)
Christo | 2017.03.29 | Votes 0 | Views 18042568
Christo 2017.03.29 0 18042568
2361
Best Testing Tools of 2014 (2)
kleyzit | 2017.02.24 | Votes 0 | Views 17636329
kleyzit 2017.02.24 0 17636329
2360
JCrawler (1)
Sky Driver | 2017.01.26 | Votes 0 | Views 18277425
Sky Driver 2017.01.26 0 18277425
2359
fwptt
Sky Driver | 2017.01.26 | Votes 0 | Views 18307440
Sky Driver 2017.01.26 0 18307440
2358
AppLoader: Performance Testing for Any Application
Sky Driver | 2017.01.26 | Votes 0 | Views 17936600
Sky Driver 2017.01.26 0 17936600
2357
LoadStorm
loveelok | 2017.01.20 | Votes 0 | Views 18618586
loveelok 2017.01.20 0 18618586
2356
SiteBlaster
loveelok | 2017.01.20 | Votes 0 | Views 17373378
loveelok 2017.01.20 0 17373378
2355
Xceptance LoadTest (1)
loveelok | 2017.01.20 | Votes 0 | Views 18099193
loveelok 2017.01.20 0 18099193
2354
Test Manager (1)
loveelok | 2017.01.12 | Votes 0 | Views 17812844
loveelok 2017.01.12 0 17812844
2353
Test Environment Toolkit (1)
master15 | 2017.01.06 | Votes 0 | Views 18358622
master15 2017.01.06 0 18358622
2352
Burpsuite Pro 1.5.01 (1)
master15 | 2016.12.15 | Votes 0 | Views 17991588
master15 2016.12.15 0 17991588