Questions tagged [siege]

Siege is an http/https regression testing and benchmarking utility.

Siege is an http/https regression testing and benchmarking utility. It was designed to let web developers measure the performance of their code under duress, to see how it will stand up to load on the internet. It lets the user hit a web server with a configurable number of concurrent simulated users.

51 questions
2
votes
0 answers

How to test https API in siege?

I have developed a REST API which is in the form of https://abc.def.in/appname/data?id=1&un=sha This also heas the jwt token as a http header. So I wanted to test this api with 1000 users using simultaneously using siege.So I installed siege and…
Ricky
  • 2,662
  • 5
  • 25
  • 57
2
votes
2 answers

Load generation of millions of http requests

I heard that some load generators can generate a load of millions of requests, but when number of ports in TCP is just 65000 how is this possible?
Stanly
  • 663
  • 1
  • 9
  • 26
2
votes
0 answers

Siege [error] socket: connection timed out

I am developing a specific web application firewall which I am benchmarking to see the performance degradation when the firewall is enabled. I am using siege -c3 XXX.XXX.XXX.XXX but I get after 400 requests this error: [error] socket: -1311799552…
yoano
  • 1,466
  • 2
  • 16
  • 20
2
votes
0 answers

What is the bottleneck on my nginx+php setup?

I am running some siege tests on my nginx server. The bottleneck doesn't seem to be cpu or memory so what is it? I try to do this on my macbook: sudo siege -t 10s -c 500 server_ip/test.php The response time goes to 10 seconds, I get errors and…
Hard worker
  • 3,916
  • 5
  • 44
  • 73
2
votes
1 answer

What does Concurrency mean in Siege and how is it calculated?

I am new to siege and I am so confused by the Concurrency in siege result. In FAQ, https://www.joedog.org/siege-faq/#a17a, its formula is very simple. Completed transactions / elapsed time. But when I check out…
Supersouth
  • 79
  • 1
  • 3
2
votes
2 answers

Siege ports getting reused

I am running multiple instances of siege, so siege is reusing the ports as a results some of the requests are not going through. Is there a way where the different siege instances could use different port ranges? HTTP/1.1 200 0.00 secs: …
user2952766
  • 21
  • 1
  • 2
2
votes
3 answers

Why is the "Siege"-tool not working with HTTPS sites?

I am using Siege 3.0.3 from CentOS 6.4. My question is : how does 'Siege' supports HTTPS protocol? So far using this tool the HTTP sites testing is OK. But, I am facing certain issues (all described below) while dealing with the HTTPS sites. As…
1
vote
1 answer

How to use siege properly to performance test a web server?

I am trying to use siege for performance tests on a webpage. See also this documentation. But when I try to make an example request like siege -c=1 --reps=1 https://www.google.com/search?q=42 I get the following output: HTTP/1.1 200 0.82 secs:…
Alex
  • 41,580
  • 88
  • 260
  • 469
1
vote
1 answer

siege - HTTPS requires libssl - MacOS Mojave

I Installed SIEGE 4.0.4 I install from source I install this too :D : brew install openssl brew install zlib But im getting this error: [error] HTTPS requires libssl: Unable to reach sitename.tld with this protocol: Socket is already connected
NoobyAFK
  • 307
  • 4
  • 14
1
vote
2 answers

Siege not cycling through URL list

I'm using Siege to act as a cache warmer for Varnish on a wordpress site. I've set up a simple script to grab the latest URL list from a dynamic sitemap, output them to a file, purge the cache using Varnishadm and then run siege against the url list…
d1ch0t0my
  • 443
  • 7
  • 22
1
vote
2 answers

siege is ignoring query parameters

I am testing siege against a simple server which outputs the n'th Fibonacci number. The server works great when using curl: [mto@localhost ~]$ curl http://localhost:8000?q=8 21 Doing the same with siege, yields the following: [mto@localhost ~]$…
toftis
  • 1,070
  • 9
  • 26
1
vote
0 answers

How do I segment data based on response header in siege/ab?

I'm trying to compare two different web server setups behind a common load balancer. They are uniquely identified by the X-Powered-By HTTP header in the response. Is there a way with ab, siege or similar tool to segment the data so that I can…
Sleavely
  • 1,654
  • 2
  • 11
  • 18
1
vote
1 answer

performance about url.parse in Nodejs

I just traced my nodejs server's performance by using: siege -b -t10s -q http://mynodejsserver I found that when there was no "url.parse(req.url)" Transaction rate was about 4300 trans/sec but when i used url.parse, transaction rate was about…
0
votes
1 answer

Concurrent requests not working in Siege - Http stress testing

I'm testing an app located in a AWS EC2 instance via a POST request. I'm posting an image with the url in the form of a json string by converting it to base64. All the settings are in place. The problem is that even though I'm sending 10 concurrent…
0
votes
1 answer

Save Alternate Output to Variable in Bash instead of Main Output?

Linux novice here so bear with me here. I am writing a Bash Script for school (On a CentOS 8 VM) and I am attempting to save the output of Siege (Load Tester) to a variable so I can compare values. Here is the issue I am running into: The HTTP lines…
jxf6947
  • 1
  • 1