Testing Tools

Loading

[Paid] Siege : stress testing tool for Web servers

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

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 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 9490281
lucaxel 2021.02.14 0 9490281
2400
ZeuZ: Test automation framework for Web, Mobile, Desktop, API, and Cloud apps
(TestExpert) | 2021.02.04 | Votes 0 | Views 9628597
(TestExpert) 2021.02.04 0 9628597
2399
Testsigma: Test web, mobile apps, and APIs continuously @ DevOps speed (1)
(TestExpert) | 2021.02.04 | Votes 0 | Views 9828007
(TestExpert) 2021.02.04 0 9828007
2398
Mobile User Equipment Tester
(TestExpert) | 2021.02.04 | Votes 0 | Views 10023078
(TestExpert) 2021.02.04 0 10023078
2397
Katalon TestOps OnPremise (KTOP): TestOps Tool
VTB | 2020.03.23 | Votes 0 | Views 10130571
VTB 2020.03.23 0 10130571
2396
[Paid] Ranorex Webtestit : UI web tests with Selenium or Protractor
ItSeTsQtB | 2019.08.08 | Votes 0 | Views 10026418
ItSeTsQtB 2019.08.08 0 10026418
2395
[Paid] Zabbix : Monitor any possible performance metrics and incidents in your network
^Software^ | 2019.07.24 | Votes 0 | Views 10107089
^Software^ 2019.07.24 0 10107089
2394
[Paid] NeoLoad 7.0 : Performance Test APIs to Full Applications
IT-Tester | 2019.07.24 | Votes 0 | Views 10073098
IT-Tester 2019.07.24 0 10073098
2393
[FREE] Cucumber : behavior-driven development (BDD) tool
IT-Tester | 2019.07.22 | Votes 0 | Views 9333018
IT-Tester 2019.07.22 0 9333018
2392
[Free] HTTrack : Website Testing Tool
IT-Tester | 2019.07.22 | Votes 0 | Views 9657727
IT-Tester 2019.07.22 0 9657727
2391
Arquillian : Automated integration, functional and acceptance tests for Java
IT-Tester | 2019.07.08 | Votes 0 | Views 9735281
IT-Tester 2019.07.08 0 9735281
2390
FitNesse : Automated acceptance tests are power tools for fixing a broken requirements process
IT-Tester | 2019.07.08 | Votes 0 | Views 9487073
IT-Tester 2019.07.08 0 9487073
2389
Hiptest : Continuous Testing Management Platform
IT-Tester | 2019.06.26 | Votes 0 | Views 9670008
IT-Tester 2019.06.26 0 9670008
2388
[Free] Test Data Generation Tool : DTM Data Generator
IT-Tester | 2019.06.26 | Votes 0 | Views 9675986
IT-Tester 2019.06.26 0 9675986
2387
[Free] Assertible : API testing tool which concentrates on the automation and reliability
VTB | 2019.06.21 | Votes 0 | Views 10192340
VTB 2019.06.21 0 10192340
2386
[Free] Rest-Assured : Java Domain-specific language that makes testing REST service
VTB | 2019.06.21 | Votes 0 | Views 10254615
VTB 2019.06.21 0 10254615
2385
Postman : API Testing Tool (1)
Testersbest | 2019.06.21 | Votes 0 | Views 9969315
Testersbest 2019.06.21 0 9969315
2384
Robotium: Android UI Testing
Testersbest | 2019.06.21 | Votes 1 | Views 9401813
Testersbest 2019.06.21 1 9401813
2383
Ranorex : Automation Testing Tool for desktop, web, and mobile applications
Testersbest | 2019.06.21 | Votes 0 | Views 9599682
Testersbest 2019.06.21 0 9599682
2382
TestingWhiz : Automation Testing Tool for Software, Web, Mobile, Database, Cloud, Web Services and API testing
Testersbest | 2019.06.21 | Votes 0 | Views 10014829
Testersbest 2019.06.21 0 10014829
2381
Travis CI : Test and Deploy with Confidence
edouwens | 2018.11.19 | Votes 0 | Views 9597443
edouwens 2018.11.19 0 9597443
2380
QF- Test : automation testing tool that is meant for testing Java and Web GUI application (1)
aiitistqb | 2018.10.16 | Votes 0 | Views 9631323
aiitistqb 2018.10.16 0 9631323
2379
Wink : Time-based and action-based capture of user actions
aiitistqb | 2018.10.16 | Votes 0 | Views 9766581
aiitistqb 2018.10.16 0 9766581
2378
Crucible : a web-based application primarily targeting enterprise
aiitistqb | 2018.10.16 | Votes 0 | Views 9821475
aiitistqb 2018.10.16 0 9821475
2377
Automated Mobile Testing Tools List
aiitistqb | 2018.10.16 | Votes 0 | Views 9804886
aiitistqb 2018.10.16 0 9804886
2376
SpecFlow : software tool that computer programmers use for testing other software
aiitistqb | 2018.10.16 | Votes 0 | Views 10121240
aiitistqb 2018.10.16 0 10121240
2375
Ranorex : Test Automation Tools for Complete Awesomeness
Testersbest | 2018.10.16 | Votes 0 | Views 9840140
Testersbest 2018.10.16 0 9840140
2374
SmartBear : End-to-End Automated Testing for Mobile, Web & Desktop Apps
Testersbest | 2018.10.16 | Votes 0 | Views 9651738
Testersbest 2018.10.16 0 9651738
2373
Bugdojo : Continuous QA for your web apps
Testersbest | 2018.10.16 | Votes 0 | Views 9962626
Testersbest 2018.10.16 0 9962626
2372
TEstNg (5)
kg2031 | 2018.02.28 | Votes 0 | Views 9670673
kg2031 2018.02.28 0 9670673
2371
Locators (1)
kg2031 | 2018.02.28 | Votes 0 | Views 9715489
kg2031 2018.02.28 0 9715489
2370
Crystal Reports
nk1 | 2018.02.23 | Votes 0 | Views 9509588
nk1 2018.02.23 0 9509588
2369
Selenium Learning Tutorial (4)
Dwarika | 2017.08.28 | Votes 0 | Views 9775198
Dwarika 2017.08.28 0 9775198
2368
[Paid] Module for Binary formats
SoftLogica | 2017.08.11 | Votes 0 | Views 9712617
SoftLogica 2017.08.11 0 9712617
2367
Getting Started with Selenium IDE
VijayShinde | 2017.06.09 | Votes 0 | Views 9759666
VijayShinde 2017.06.09 0 9759666
2366
UniPi Is A Powerful Board That Can Control Your Smart Home
TLP | 2017.04.26 | Votes 0 | Views 9763247
TLP 2017.04.26 0 9763247
2365
what is diff between SVN and GITHUB
vivekjog | 2017.04.24 | Votes 0 | Views 10321059
vivekjog 2017.04.24 0 10321059
2364
Macro to remove trailing spaces (1)
Christo | 2017.03.29 | Votes 0 | Views 9444595
Christo 2017.03.29 0 9444595
2363
Comparing 2 work sheets (2)
Christo | 2017.03.29 | Votes 0 | Views 9953527
Christo 2017.03.29 0 9953527
2362
Tool to generate all combinations of test parameters. (3)
Christo | 2017.03.29 | Votes 0 | Views 9444678
Christo 2017.03.29 0 9444678
2361
Best Testing Tools of 2014 (2)
kleyzit | 2017.02.24 | Votes 0 | Views 9714037
kleyzit 2017.02.24 0 9714037
2360
JCrawler (1)
Sky Driver | 2017.01.26 | Votes 0 | Views 9666626
Sky Driver 2017.01.26 0 9666626
2359
fwptt
Sky Driver | 2017.01.26 | Votes 0 | Views 9667293
Sky Driver 2017.01.26 0 9667293
2358
AppLoader: Performance Testing for Any Application
Sky Driver | 2017.01.26 | Votes 0 | Views 9382085
Sky Driver 2017.01.26 0 9382085
2357
LoadStorm
loveelok | 2017.01.20 | Votes 0 | Views 10014182
loveelok 2017.01.20 0 10014182
2356
SiteBlaster
loveelok | 2017.01.20 | Votes 0 | Views 9270513
loveelok 2017.01.20 0 9270513
2355
Xceptance LoadTest (1)
loveelok | 2017.01.20 | Votes 0 | Views 9349528
loveelok 2017.01.20 0 9349528
2354
Test Manager (1)
loveelok | 2017.01.12 | Votes 0 | Views 9222670
loveelok 2017.01.12 0 9222670
2353
Test Environment Toolkit (1)
master15 | 2017.01.06 | Votes 0 | Views 10307961
master15 2017.01.06 0 10307961
2352
Burpsuite Pro 1.5.01 (1)
master15 | 2016.12.15 | Votes 0 | Views 9476846
master15 2016.12.15 0 9476846