Development Software
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb Site ManagementDevelopment Software

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 21st, 2009, 02:43 AM
vodolan vodolan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 18 vodolan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 17 m 13 sec
Reputation Power: 0
Performance / Load Testing

Hi everyone,

The company I'm working for has asked that I write a performance and load testing plan in the next couple of days for a java web application, I'm a programmer right out of college just a few months ago and I've never had to do this and have no idea where to start -- furthermore I don't tinker with the Java code as I only handle front-end implementation of the interface.

I'm not sure whether I would be handling implementing a solution or if I just have to "come up with a plan". It's rather vague I suppose, but I was wondering if anyone has anyone ideas / direction that they could give?

Thanks in advance for any help, it's much appreciated (and needed :/).

Reply With Quote
  #2  
Old December 21st, 2009, 03:33 AM
drgroove's Avatar
drgroove drgroove is offline
Moderator Emeritus
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Feb 2002
Location: Scottsdale, AZ
Posts: 7,174 drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level) 
Time spent in forums: 6 Days 23 h 48 m 33 sec
Reputation Power: 2131
- How many concurrent users is the application expected to have?
- Is this a web, desktop or networked application?
- What performance testing tool(s) will be used?
- What functional test cases are going to be automated to validate performance? Are these test cases formalized?
- Has unit, functional, regression, security, exploratory, black/white box, negative/positive, or any other testing been done to the application? Are there plans to further test the application?
- What type of user acceptance testing is planned? For how many users?
__________________
DrGroove, Devshed Moderator | New to Devshed? Read the User Guide | Need ServiceNow consulting or ITIL process design? Connect with me on LinkedIn

Reply With Quote
  #3  
Old December 21st, 2009, 08:15 AM
vodolan vodolan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 18 vodolan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 17 m 13 sec
Reputation Power: 0
Thanks for the response drgroove!

Quote:
- How many concurrent users is the application expected to have?
- Is this a web, desktop or networked application?
- What performance testing tool(s) will be used?
- What functional test cases are going to be automated to validate performance? Are these test cases formalized?
- Has unit, functional, regression, security, exploratory, black/white box, negative/positive, or any other testing been done to the application? Are there plans to further test the application?
- What type of user acceptance testing is planned? For how many users?


The growth of expected users is not expected to grow to a substantial amount (I'd say less passing 50k users is not a reality). This is a web application and right now the only tests in place are unit tests, there aren't currently any other tests or plans in place -- the web application is live right now though (only to a small # of users though). Currently there aren't any performance tools that have been decided on (not sure if that's what they want me to do) and there is no uat testing.

Reply With Quote
  #4  
Old December 21st, 2009, 12:43 PM
vodolan vodolan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 18 vodolan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 17 m 13 sec
Reputation Power: 0
I would need to also think of data handling / sufficiency and sort of have a table of the average access time for objects in the database.

Reply With Quote
  #5  
Old December 21st, 2009, 01:29 PM
drgroove's Avatar
drgroove drgroove is offline
Moderator Emeritus
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Feb 2002
Location: Scottsdale, AZ
Posts: 7,174 drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level) 
Time spent in forums: 6 Days 23 h 48 m 33 sec
Reputation Power: 2131
Performance testing, for all intents and purposes, is just the bulk-automation of one or more functional tests.

Unit testing isn't sufficient. You need test cases which validate that discrete functionality in your application works properly. You can then use tools to automate those functional tests simulating multiple users to determine if your architecture can handle a certain level of concurrent user load.

So... start w/ functional tests. Validate those work. Then build your performance tests from the functional tests.

Reply With Quote
  #6  
Old December 21st, 2009, 08:36 PM
vodolan vodolan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2009
Posts: 18 vodolan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 17 m 13 sec
Reputation Power: 0
Thanks for the response again drgroove.

I don't believe I need any functional tests -- I'm thinking of using the Eclipse profiler / JProfile to locate potential bottlenecks and to see which parts of the code get called the most and use the most memory / processing time and which transactions are the most expensive.

I think all that's needed though, but do you know anything about using JMeter or OpenWebLoad, I think I may need to use these. But as I only deal with front-end interface issues, I don't have any experience with these technologies ( ... or Java for that matter). Do you have any thoughts or useful resources that would help?

Reply With Quote
  #7  
Old December 22nd, 2009, 09:39 PM
drgroove's Avatar
drgroove drgroove is offline
Moderator Emeritus
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Feb 2002
Location: Scottsdale, AZ
Posts: 7,174 drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level)drgroove User rank is General 17th Grade (Above 100000 Reputation Level) 
Time spent in forums: 6 Days 23 h 48 m 33 sec
Reputation Power: 2131
Quote:
Originally Posted by vodolan
Thanks for the response again drgroove.

I don't believe I need any functional tests -- I'm thinking of using the Eclipse profiler / JProfile to locate potential bottlenecks and to see which parts of the code get called the most and use the most memory / processing time and which transactions are the most expensive.

I think all that's needed though, but do you know anything about using JMeter or OpenWebLoad, I think I may need to use these. But as I only deal with front-end interface issues, I don't have any experience with these technologies ( ... or Java for that matter). Do you have any thoughts or useful resources that would help?


Haven't used either JMeter or OpenWebLoad, sorry

If you test drive either, though, post back and let us know your thoughts; your feedback on these might help other users.

Reply With Quote
  #8  
Old January 26th, 2010, 01:57 PM
Neil28 Neil28 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2010
Posts: 10 Neil28 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 27 m 8 sec
Reputation Power: 0
How did the testing go Vodolan? We have been using Browsermob extensively. It's based on Selenium and has been quick and easy to create test cases that can be scaled up to hundreds or thousands of users. The big advantage is that it uses firefox borwsers which makes dealing with AJAX a lot easier amoung other things.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb Site ManagementDevelopment Software > Performance / Load Testing

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap