#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2009
    Posts
    18
    Rep 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 :/).
  2. #2
  3. Moderator Emeritus
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Austin, TX
    Posts
    7,186
    Rep Power
    2265
    - 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 | Connect with me on LinkedIn
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2009
    Posts
    18
    Rep Power
    0
    Thanks for the response drgroove!

    - 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.
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2009
    Posts
    18
    Rep 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.
  8. #5
  9. Moderator Emeritus
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Austin, TX
    Posts
    7,186
    Rep Power
    2265
    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.
    DrGroove, Devshed Moderator | New to Devshed? Read the User Guide | Connect with me on LinkedIn
  10. #6
  11. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2009
    Posts
    18
    Rep 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?
  12. #7
  13. Moderator Emeritus
    Devshed Supreme Being (6500+ posts)

    Join Date
    Feb 2002
    Location
    Austin, TX
    Posts
    7,186
    Rep Power
    2265
    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.
    DrGroove, Devshed Moderator | New to Devshed? Read the User Guide | Connect with me on LinkedIn
  14. #8
  15. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2010
    Posts
    10
    Rep 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.

IMN logo majestic logo threadwatch logo seochat tools logo