3

I need to test a saas service load by sending 1000s requests/sec from multiple remote sources. The urls need to be from my access log.

Is there a service that can simulate high traffic using the data from my log files?

rubo77
  • 2,282
  • 3
  • 32
  • 63
Niro
  • 1,371
  • 3
  • 17
  • 35
  • 1
    your going to need to write a script that parses the logs, and the use something like wget or curl to do the http requests. You can run them in parallel with some scripting too. send the logs i may be able to do it for you. – The Unix Janitor Nov 16 '11 at 22:39
  • @user37899 post that as an answer (possibly along with the script) and get yourself some free rep :-) – voretaq7 Nov 16 '11 at 22:47

3 Answers3

3

You can replay a log with httperf

Here are some instructions: http://dekoder.wordpress.com/2010/11/23/replay-traffic-with-httperf/

ckliborn
  • 2,750
  • 4
  • 24
  • 36
  • Thanks, I'm doing that currently but I want to do it from multiple sources to simulate real life better. – Niro Nov 17 '11 at 06:24
2

You can use jMeter's AccessLogSampler.

Kenny Rasschaert
  • 8,925
  • 3
  • 41
  • 58
sellerjd
  • 21
  • 1
1

Apachebench ("ab") can read urls from files, but you'd have to process the access logs first.

Check out these for distributed testing:

http://grinder.sourceforge.net/

http://tsung.erlang-projects.org/

No longer developed: http://www.slamd.com/

AndreasM
  • 1,083
  • 8
  • 13