473,406 Members | 2,620 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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

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
3 7532
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: vincent_delft | last post by:
I'm looking for a Web Tool kit to build web pages with the following criteria (in priority order) : - easy to use, develop (reuseability of code, ...) - flexible (ideally should run with Python...
4
by: O. Zimmermann | last post by:
Hello, I am looking for a tool to process torough UNIT and COVERAGE testing over 60 and more functions of a "critical" embedded application written in C. I found IPL's Cantata++ but we don't...
7
by: cpnet | last post by:
I'm trying to stress-test some controls I've built in a sample web app using ACT. I'm now using IIS on my SBS 2k3 machine as my webserver for the test, and ACT is running on my XP Pro (sp1)...
3
by: Darkstar 3D | last post by:
If you want to stress test your Apache/PHP server just have a small little typo like this: $errCodes=range(910000,9100005); in your code instead of $errCodes=range(910000,910005); Some...
0
by: Anupa | last post by:
Hi, I am using WAS tool for Website Load testing. But even if i do the setting of say 20 users, and run the test, the number of Active Sessions which get recorded in the ASP.Net Applications...
1
by: Robert | last post by:
I am trying to figure out if using the Application Center Test is the preferred tool of performance / stress testing in an ASP.Net 2.0 application. I used ACT with my 1.1 applications, but was...
13
by: dmarrese | last post by:
I am a parent volunteer for a swim team website (makoswim.org) and am looking for a recommendation for a new web authoring tool . While I am technically oriented and have somehave some knowledge...
4
by: FFMG | last post by:
Hi, I want to stress test my dev box to see where the bottle necks in my script might be. I don't really need to test MySQL or Apache, (I have no doubt they are working fine), but rather want...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.