apachebench

How do I performance test my ASP.NET MVC website?

Hi folks, I'm wanting to find out how many requests/sec my asp.net mvc site (and asp.net mvc api) can handle. I've googled for some help and stumbled on this great slide show which talks about exactly the things i'm after. They also use a product called ApacheBench to hit the website. That application's website list it as a unix-type pr...

Can someone please explain what these ApacheBench results mean?

Hi folks, i'm trying to figure out how to use ApacheBench and benchmark my website. I installed the default site project (it's ASP.NET MVC but please don't put stop reading if u're not a .NET person). I didn't change anything. Add new project. Set confuration to RELEASE. Run without Debug. (so it's in LIVE mode). Yes, this is with the ...

Failed requests by length in my ApacheBench load test result

I have a website in PHP, Lighttpd. It uses also MySQL on Centos 5. I've tested my PHP with code below with Apache Bench (ab). It resulted in some errors (Failed Requests) indicating other length than normal. I'm absolutely sure that my PHP result should always have the same exact length. I've reviewed my Lighttpd and MySQL logs and error...

Benchmarking tool

I'm unable to decide which is a better benchmarking tool-Is it apachebench tool or httperf? Please help me to decide which one would be the most appropriate tool to be chosen for benchmarking the web application. ...

How to load test website with SWF Flash file?

I have a website that has a SWF embbeded on it with SWFObject. This SWF file has 1,5 MB. I would like to test if website (Lightppd) will be alive if 600 users per hour will try to open it. It will be approx. 900 MB / hour of transfer. So I have 2 questions in one: 1) Does ab (Apache Bench) test handle SWFObject and gets SWF file while...

ApacheBench result to a file

I would like to save ApacheBench (ab) tool on linux to a file. When I run it with -v 2 it displays some results in my ssh window. How to move these data into a file and make sure that it will not display on ssh no more? I've tried > file.txt but it does not work and still display data in my ssh window. ...

Benchmarking an Plesk managed server using ApacheBench?

Is it possible to benchmark a Plesk-managed server by using ApacheBench ? The following console command only takes local URL's as parameter, but I have no idea on what the URL is for my domains in Plesk... ab -c 10 -t 60 http://xxxxxx ...

Changing POST data used by Apache Bench per iteration

I'm using ab to do some load testing, and it's important that the supplied querystring (or POST) parameters change between requests. I.e. I need to make requests to URLs like: http://127.0.0.1:9080/meth?param=0 http://127.0.0.1:9080/meth?param=1 http://127.0.0.1:9080/meth?param=2 ... to properly exercise the application. ab seems to...

how to specify query string in url with apache bench

hi, My rails application is running on thin server which i want to benchmark using apachebench the command am using is ab -n 1 -c 1 http://localhost:3001/welcome/search?query="doctor"&rad=5 But thin server is not taking this url.Its giving !! Invalid Request Can any one help me how to give the url such that thin accepts th...

State of preexisting connections when using file descriptor passing?

I'm playing around with a webserver, using a unix socket and sendmsg / recvmsg to pass the socket file descriptor to a new server process without losing any requests. While testing it with ab I found that client connections would linger, and apachebench (ab) would show the error: "apr_poll: The timeout specified has expired (70007)". I ...

Apache Bench and POST data

i am trying to use apache bench to load test a create action in my rails application but ab doesn't appear to be sending the POST data - though it does correctly submit a POST and not a GET request. this is the command i run: ab -n 1 -p post -v 4 "http://oz01.zappos.net/registrations" and this is the contents of the post file: authe...

How do I benchmark a web page, including all images, scripts, stylesheets etc.

I've tried using a couple of tools (apache bench, html_load) but they only request a single file. I'm testing out bundling strategies and so I need the tool to also download any stylesheets, scripts etc. included in the original html file. I.e. exactly what a browser would load. ...

How do I pass a complex cookie to ab for testing?

I'm using ab to test my app, and I'm having trouble passing the correct cookie. My cookie data looks like this: messages=95925d68c34fcc68b3fcc2e5061a45278c35af41$[[\\\\"__json_message\\\\"\\\\05420\\\\054\\\\"Data\\\\"]] I can't figure out how to get the second part of the string to ab to send to my server. I'm doing something like a...