By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,949 Members | 1,838 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,949 IT Pros & Developers. It's quick & easy.

stress testing tool (scripts) for web server or MySQL written inPHP

P: n/a
Found this testing tool,
http://simpletest.sourceforge.net/

I am looking for PHP scripts which can be used as create many
connections to a web server or MySQL back end for stress testing.

From a script, I can just pass 1 argument ( 100 connections) and
GET/POST with URL or execute some SQL to a MySQL back end.

I did write something way back with C/C++ on such tool.

Thanks for good works / suggestions

Oct 13 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
MacRules wrote:
Found this testing tool,
http://simpletest.sourceforge.net/

I am looking for PHP scripts which can be used as create many
connections to a web server or MySQL back end for stress testing.

From a script, I can just pass 1 argument ( 100 connections) and
GET/POST with URL or execute some SQL to a MySQL back end.

I did write something way back with C/C++ on such tool.

Thanks for good works / suggestions

Why does it have to be PHP? Normally a benchmarking program would be
better written in a compiled language, so as to be able to pump requests
out as quickly as possible.

Personally, I just use Apache's ab to do my benchmarking.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Oct 13 '08 #2

P: n/a
Thanks, ab looks promising here.
I will give it a shot.

Find this,
http://www.cyberciti.biz/tips/howto-...eb-server.html

$ ab -n 1000 -c 5 http://202.54.200.1/psql.php

All I need is to pass an argument (POST) to psql.php and perform PHP +
MySQL.
Jerry Stuckle wrote:
MacRules wrote:
>Found this testing tool,
http://simpletest.sourceforge.net/

I am looking for PHP scripts which can be used as create many
connections to a web server or MySQL back end for stress testing.

From a script, I can just pass 1 argument ( 100 connections) and
GET/POST with URL or execute some SQL to a MySQL back end.

I did write something way back with C/C++ on such tool.

Thanks for good works / suggestions


Why does it have to be PHP? Normally a benchmarking program would be
better written in a compiled language, so as to be able to pump requests
out as quickly as possible.

Personally, I just use Apache's ab to do my benchmarking.
Oct 13 '08 #3

P: n/a
On 13 Oct, 04:01, MacRules <MacRu...@nospam.comwrote:
Thanks, ab looks promising here.
I will give it a shot.

Find this,http://www.cyberciti.biz/tips/howto-...rks-a-web-serv...

$ ab -n 1000 -c 5http://202.54.200.1/psql.php

All I need is to pass an argument (POST) to psql.php and perform PHP +
MySQL.

Jerry Stuckle wrote:
MacRules wrote:
Found this testing tool,
http://simpletest.sourceforge.net/
I am looking for PHP scripts which can be used as create many
connections to a web server or MySQL back end for stress testing.
From a script, I can just pass 1 argument ( 100 connections) and
GET/POST with URL or execute some SQL to a MySQL back end.
I did write something way back with C/C++ on such tool.
Thanks for good works / suggestions

Personally, I just use Apache's ab to do my benchmarking.
I can certainly recommend ab. But for more complex interactions (e.g.
session based) take a look at http::recorder and www::mechanize (perl
libs)

C.
Oct 13 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.