The online community for software testing & quality assurance professionals
   
Active Topics Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Jobs
Training
News
Links
Downloads

News Group:
software.testing


Testing
Automation
Performance
Engineering
Miscellaneous
Statistics
Poll
  QA Forums
  Performance & Load Testing
  Total Newbie - Load Testing on a Budget

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Total Newbie - Load Testing on a Budget
Theo
New Member

Posts: 1
Registered: Oct 2002

posted 10-01-2002 03:04 AM     Click Here to See the Profile for Theo   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by Theo
Sorry for this. We are a very very small company with a tiny budget for QA tools. Also, we don't have money to hire an experienced QA expert, so all we have is me (and I'm normally a programmer). Obviously I have to learn a lot about QA in order to do my job properly and I am reading and reading but I have a few questions if you don't mind, that I'd like to ask first...

Our application is written in ASP and talks to a SQL Server 7 DB. We need to make sure there aren't problems with timeouts and everything ELSE possible. As a first attempt, I used Microsoft's WAST with a simple script that just involved logging into the application with about 75 simultaneous users.

Now, logging in just involves posting a username and password which is then searched against the database, however an UPDATE is done with that information at almost the same time. We started to get problems reported with multiple users doing this at one of our pilot sites, BUT I couldn't reproduce this in our testing 'lab' using WAST and looking at SQL Server Profiler.

I wonder if there is a better approach/tools for testing this sort of scenario? I mean there has to be because the test didn't show up the problems that real-life users found. They got errors on their screens and we looked really, really bad.

I'm thinking that maybe they encountered something further into the app that was hogging all the SQL resources but I don't know how to simulate 'real-use' with WAST. On the other hand, I have no guarantee, that it WASN'T that particular SELECT/UPDATE on the same table that was causing the problem. How can we fix something that we cannot reproduce in the lab?

Do I need a different/better tool? I've read a tiny bit about OpenSTA - I need something that will look at the back end SQL Server as well as the front end. And I'm not even sure that errors in ASP pages showed up in testing with WAST because timeouts and whatnot are actually handled by the ASP code so wouldn't that seem as an 'ok' to WAST?

Any help/advice would be much appreciated.

-- Theo

------------------

IP Logged

RSBarber
Moderator

Posts: 852
Registered: Jul 2002

posted 10-01-2002 06:40 AM     Click Here to See the Profile for RSBarber   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by RSBarber Visit RSBarber's Homepage!
Theo - the tool is likely not the problem (though it is possible). If you are trying to track down a specific reported problem and fix it, you need to be able to replicate it - the tool may or may not be the issue. Learn all you can about the client environment, see if THEY can replicate it - see if YOU can replicate it in THEIR environment. If it can't be replicated, it could always have been some crazy think on their side.

Check out my methodology and article series on www.perftestplus.com It's a good starting point conceptually - regardless of tool.

As far as modeling and error handling with WAST, I don't know - it is possible that WAST was calling any response at all a "pass" and only no-response a fail. Most performance/load tools default to this and the user has to write code to make it check for certain responses (other than things like 404, or 500, etc)

------------------
Scott Barber
NOBLE(STAR
Sr. Performance Engineer
sbarber@noblestar.com
http://www.noblestar.com
http://www.perftestplus.com

IP Logged

Jeanj
Moderator

Posts: 1277
Registered: Feb 2000

posted 10-01-2002 08:43 AM     Click Here to See the Profile for Jeanj   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by Jeanj
Theo. There are companies who can do your load testing for you. Granted, they probably are not really cheap, but would be less expensive than purchasing more hardware or your own load test tools.

As stated the previous post, there's more than load testing in your issues I think, but for the load test, check out the supplier links to your left and see if they can point you to a load test lab/supplier in your area.

------------------
Jean James, CSTE
J.James Consulting, Inc.
"I deliver what I promise, and I only promise what I can deliver."

IP Logged

RSBarber
Moderator

Posts: 852
Registered: Jul 2002

posted 10-01-2002 08:52 AM     Click Here to See the Profile for RSBarber   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by RSBarber Visit RSBarber's Homepage!
Jean,

Since you're the moderator and brought up the outsourcing topic, does that mean that I can volunteer the services of my organization? Or would that still be tacky, even after it WAS your idea?

------------------
Scott Barber
NOBLE(STAR
Sr. Performance Engineer
sbarber@noblestar.com
http://www.noblestar.com
http://www.perftestplus.com

IP Logged

Ian
Advanced

Posts: 175
Registered: Sep 2001

posted 10-01-2002 09:52 AM     Click Here to See the Profile for Ian   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by Ian
Theo,

You say you are a programmer and you have used WAS to test asp based applications. Given your programming background, asp environment and budget I would advise the ACT test tool from Microsoft. The problem you are currently having may not be solved with ACT but the tool will create application specific traffic (url re-writing, allows full parsing of response etc.) unlike WAS, and it is more robust than OpenSTA (the other tool you mentioned).
http://msdn.microsoft.com/vstudio/techinfo/articles/developerproductivity/apptesting.asp

There is a forum on this site for MACT and it will handle both Functional and Load testing of Web Sites.

As already mentioned 'Out sourcing' would also be an option.


Regards

Ian

------------------

IP Logged

Govind
Guru

Posts: 245
Registered: Jan 2001

posted 10-02-2002 12:50 PM     Click Here to See the Profile for Govind   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by Govind
Scott,

Your site is really cool. Lot of stuff is there. Thanks for sharing knowledge with us

govind

------------------

IP Logged

Test24x7
Member

Posts: 17
Registered: Aug 2002

posted 10-02-2002 01:18 PM     Click Here to See the Profile for Test24x7   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by Test24x7
Have you used Perfmon for monitoring the SQL Server DB? I tend to find that the tools I use will help generate the problems, but I need something like Perfmon to help me figure out where the problem is. Monitor the locks and connections on the database, as well as monitoring the ASP object on the web server. Most of the time I run across problems with bad indexing, connection pools not high enough, but sometimes the ASP code is not efficient and appears as a database problem.

Make sure you write a solid script. If you record junk - you play back junk. Monitor your ASP Requests/Second and compare it to the User Connections on SQLServer. If there is a large difference in these two numbers then your script is probably not hitting the db as hard as you intended.

If time is running short, I suggest outsourcing to a remote service. Some are expensive, but others are very reasonable and can give you quick turnaround time due to the fact that they are Tool and Load testing experts. Not sure what your budget is, so I may be off base with this suggestions. Good Luck!!!

------------------
Jim
"Learning to work smarter instead of harder."

IP Logged

Jeanj
Moderator

Posts: 1277
Registered: Feb 2000

posted 10-02-2002 02:16 PM     Click Here to See the Profile for Jeanj   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by Jeanj
quote:
Originally posted by RSBarber:
Since you're the moderator and brought up the outsourcing topic, does that mean that I can volunteer the services of my organization? Or would that still be tacky, even after it WAS your idea?

Umm... did I say that? Actually what I wanted them to do was to check out the sponsors. Some of the suppliers of the tools can do it, or point them in the direction of where they can get some help.

I'm not real sure what the rule is on offering... I haven't checked the FAQ on that lately.

------------------
Jean James, CSTE
J.James Consulting, Inc.
"I deliver what I promise, and I only promise what I can deliver."

IP Logged

RSBarber
Moderator

Posts: 852
Registered: Jul 2002

posted 10-02-2002 03:42 PM     Click Here to See the Profile for RSBarber   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by RSBarber Visit RSBarber's Homepage!
Jean,

We are actually a Gold Level and TestBureau partner for Rational. Since they scalled back their professional services arm, we have been doing a significant amount of performance testing through referrals directly from Rational.

So have no fear. The sponsors won't be left out.

------------------
Scott Barber
NOBLE(STAR
Sr. Performance Engineer
sbarber@noblestar.com
http://www.noblestar.com
http://www.perftestplus.com

IP Logged

punekar
Advanced Guru

Posts: 588
Registered: Dec 2000

posted 10-02-2002 10:40 PM     Click Here to See the Profile for punekar   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by punekar Visit punekar's Homepage!
Just curious, Scott : Which tool do you do most of your work on ? LR, Silk Performer or Rational ?

------------------
-Suresh Nageswaran, CQA, CSTE
punekar@yahoo.com
Cognizant Technology Solutions,
Pune, India.

IP Logged

RSBarber
Moderator

Posts: 852
Registered: Jul 2002

posted 10-03-2002 06:17 AM     Click Here to See the Profile for RSBarber   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by RSBarber Visit RSBarber's Homepage!
I do most of my work with the Rational tools. I have used LoadRunner, and to be honest liked it the least of the tools I have used. I am currently using Silk on a project and like it so far, but I'd like to reserve my final oppinion until the end of the project.

------------------
Scott Barber
NOBLE(STAR
Sr. Performance Engineer
sbarber@noblestar.com
http://www.noblestar.com
http://www.perftestplus.com

IP Logged

Shaky
Member

Posts: 54
Registered: Apr 2001

posted 10-03-2002 07:54 AM     Click Here to See the Profile for Shaky   Edit/Delete Message Copy This Message   Reply w/Quote Search for more posts by Shaky
I would agree with Test 24X7 in using the Perfmon tools to check connection pools and locks. I would also run a trace to see what your query times are (If they are running for then a minute or two, then they are way too long) and look for deadlocks and blocking. Also I would suggest that you have maintenance utilities for the SQL server running after hours, since it can use quite a bit of resources. (i.e. backups, clean-up utilites.

You may try a search on the site for the free/inexpensive tools.

------------------

IP Logged

All times are PT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A Reply
Hop to:

Contact Us | BetaSoft Inc. | Privacy Statement

Copyright © 1997-2003 BetaSoft Inc.


Ultimate Bulletin Board 5.45c