Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache Benchmark tool (ab)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
groovin
Guru
Guru


Joined: 07 Feb 2004
Posts: 429
Location: California, USA

PostPosted: Mon Aug 11, 2008 4:23 pm    Post subject: Apache Benchmark tool (ab) Reply with quote

I am looking for a tool that can simulate a complete browser request to a LAMP based site including downloading of images, etc.

Simple tools like curl and wget dont do that, but I was looking at ab it seems like it can. The tool I need has to be command line based so I can run it via cron and parse the output with a script.

Does anyone have any experience with ab (or any other tools)?

I am not looking for a load testing tool, although such a feature might be handy one day.

My main concern is that it simulates a real browser request as closely as possible. I do not need per object stats, thought that would be helpful.

Thanks!
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Mon Aug 11, 2008 6:56 pm    Post subject: Reply with quote

ab, Siege, JMeter - pick any. :-)

IMHO ab is a very good tool if you want to smoke-test your server at insane request rates.

Siege is nice for a little bit more complex testing, including testing multiple urls with X simulated users with Y seconds of think-time between requests etc.

JMeter is a full-blown performance-tester with all kind of fancy features and capability of testing lot more than just http traffic.
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Mon Aug 11, 2008 7:11 pm    Post subject: Reply with quote

if i get you right, then wget -p is for you.
Back to top
View user's profile Send private message
groovin
Guru
Guru


Joined: 07 Feb 2004
Posts: 429
Location: California, USA

PostPosted: Mon Aug 11, 2008 9:37 pm    Post subject: Reply with quote

i have been playing with `time wget -p mysite.com` and it looks like it'll do the job... but I dont think its following redirects

I am just trying to clock page loads on our site without using something like Gomez or Keynote. I am also trying out jmeter which seems to be a better solution if run through Ant... but I just dont know how to actually use it yet!
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Mon Aug 11, 2008 10:06 pm    Post subject: Reply with quote

wget is following redirects. the behavior of this feature can be affected with the parameter --max-redirect=max.
these things are _VERY_ easy to find.
  • type $ man wget
  • enter /redirect
  • hit n a few times.
this way in you check 3 seconds whether a tool contains a feature that has something to do with a keyword.
that does not mean that maybe ab is better suited for your needs, but it makes
groovin wrote:
but I dont think its following redirects
clear _VERY_ quickly.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum