473,800 Members | 2,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 7570
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*******@attgl obal.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...@nospa m.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
3038
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 CGIHTTPServer and/or with Apache (with or wihout mod_python) - possibility to have load balancing and/or caching (for very high loaded web pages) I've founded lot of tools ...
4
2336
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 seem to really need all the power of this software. I think some other tool out there could provide me with the basic testing I want with less expense. Ease of use (ie. time) is important.
7
1582
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) machine. When I run through my test without act, I get a server response for all requests in well under a second. However, when I have ACT running to record a test, those same requests can take 10-20 seconds! Similarly, when I run a test consisting...
3
2126
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 serious crunching will go on! Off course don't do this on a
0
1363
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 Performance Counter (running on the Web Server) is always 1 which means only 1 user is logged in at a time inspite of doing the setting for 20 Users. Can anyone tell me the reason for the same and how can I Simulate more than One User
1
1201
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 wondering if there is a new tool under 2.0. If not what is the preferred tool.? Thanks,
13
2432
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 of HTML but not a deep techie. I want to give this site an extreme makeover. The tool I've been using has probably outlived it's usefulness (IBM Websphere Home Page Builder - out of support). I need something easy to use. I'd like to add...
4
3970
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 to test what scripts might be slow under stress. I am developing on a windows machine but will be running the site on a
0
10273
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10032
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7574
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5603
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2944
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.