Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Qc dept open_sta overview

781 views

Published on

desc

Published in: Automotive, Technology
  • Be the first to comment

  • Be the first to like this

Qc dept open_sta overview

  1. 2. OpenSTA overview Estimated time: 90 mins
  2. 3. Objectives <ul><li>Present the basic of OpenSTA for load testing web applications </li></ul><ul><li>Things you will learn: </li></ul><ul><ul><li>OpenSTA capabilities </li></ul></ul><ul><ul><li>Basic scripting, modeling </li></ul></ul>
  3. 4. <ul><li>History of OpenSTA </li></ul><ul><li>Overview performance terminologies </li></ul><ul><li>Overview OpenSTA terminologies </li></ul><ul><li>OpenSTA capabilities </li></ul><ul><li>Download and install </li></ul><ul><li>Component and process of using </li></ul><ul><li>How does OpenSTA work? </li></ul><ul><li>Script modeler </li></ul><ul><li>Commander </li></ul><ul><li>Directory structure </li></ul><ul><li>Example </li></ul>Outlines
  4. 5. History of OpenSTA <ul><li>Was written by Cyrano, a French company </li></ul><ul><li>Base on CORBA </li></ul><ul><li>It is Open Source software license under the GNU General Public license </li></ul><ul><li>Source code is available at http:// opensta.sourceforge.net </li></ul>
  5. 6. Performance terminologies <ul><li>Performance testing is testing a system under load to determine or validate: </li></ul><ul><li>The speed </li></ul><ul><li>Stability </li></ul><ul><li>Scalability </li></ul><ul><li>Confident </li></ul>
  6. 7. Performance terminologies <ul><li>Stress testing is a type of performance test </li></ul><ul><li>To validate application’s behavior under load conditions </li></ul>
  7. 8. Performance terminologies <ul><li>Load testing is a type of performance testing </li></ul><ul><li>To verify the system under load conditions. </li></ul>
  8. 9. Performance terminologies <ul><li>Response time: how responsive an application to a client request </li></ul><ul><li>Think time: time client use to think before next request </li></ul><ul><li>Throughput: number of units of work that can be handle per unit of times (ex: request per second) </li></ul><ul><li>Workload: include total number of users, concurrent active users, data volumes, … </li></ul><ul><li>… </li></ul>
  9. 10. OpenSTA terminologies <ul><li>OpenSTA: </li></ul><ul><ul><li>Open system testing architect </li></ul></ul><ul><li>Component: </li></ul><ul><ul><li>Script modeller: create and edit script </li></ul></ul><ul><ul><li>Commander: create and run test </li></ul></ul><ul><ul><li>Name server: manage distributed machine </li></ul></ul><ul><li>Concept: </li></ul><ul><ul><li>Virtual user: each virtual user runs on a separate thread </li></ul></ul>
  10. 11. <ul><li>History of OpenSTA </li></ul><ul><li>Overview performance terminologies </li></ul><ul><li>Overview OpenSTA terminologies </li></ul><ul><li>OpenSTA capabilities </li></ul><ul><li>Download and install </li></ul><ul><li>Component and process of using </li></ul><ul><li>How does OpenSTA work? </li></ul><ul><li>Script modeler </li></ul><ul><li>Commander </li></ul><ul><li>Directory structure </li></ul><ul><li>Example </li></ul>Outlines
  11. 12. OpenSTA capabilities <ul><li>Protocols support: </li></ul><ul><ul><li>Http and https </li></ul></ul><ul><li>Functionalities </li></ul><ul><ul><li>Script development: correlation, reading from file, high level coding language, … </li></ul></ul><ul><ul><li>Test execution, Debugger: slow refresh on summary, not good debugger </li></ul></ul><ul><ul><li>Result analysis: must do in Excel </li></ul></ul><ul><li>Robustness: </li></ul><ul><ul><li>Create realistic heavy loads </li></ul></ul><ul><ul><li>Sometimes hangs, crashes </li></ul></ul>
  12. 13. Download and install <ul><ul><li>http:// www.opensta.org/download.html </li></ul></ul>
  13. 14. Component and process <ul><li>Modeler: record script, edit, make correlation, parameterizing, …. </li></ul><ul><li>Commander: define load scenario, configure test, … </li></ul><ul><li>Excel: analyze the result </li></ul>Modeler Commander Excel
  14. 15. How does OpenSTA work?
  15. 16. <ul><li>History of OpenSTA </li></ul><ul><li>Overview performance terminologies </li></ul><ul><li>Overview OpenSTA terminologies </li></ul><ul><li>OpenSTA capabilities </li></ul><ul><li>Download and install </li></ul><ul><li>Component and process of using </li></ul><ul><li>How does OpenSTA work? </li></ul><ul><li>Script modeler </li></ul><ul><li>Commander </li></ul><ul><li>Directory structure </li></ul><ul><li>Example </li></ul>Outlines
  16. 17. Script modeller
  17. 18. Script modeller <ul><li>Good variable management </li></ul><ul><ul><li>Different variable scope </li></ul></ul><ul><ul><li>Variable generation </li></ul></ul><ul><ul><li>Random or sequential list </li></ul></ul>
  18. 19. Commander
  19. 20. Commander <ul><li>Create tests </li></ul><ul><ul><li>Determine how to generate load </li></ul></ul><ul><ul><li>One or more tasks per task group </li></ul></ul><ul><ul><li>Configure start and end setting, total virtual users and ramp up, machine to run on for each task group </li></ul></ul>
  20. 21. Directory structure
  21. 22. Example <ul><li>A QC want to to test “there are 10 users click the link at the same time” </li></ul>
  22. 23. Objectives <ul><li>Present the basic of OpenSTA for load testing web applications </li></ul><ul><li>Things you will learn: </li></ul><ul><ul><li>OpenSTA capabilities  </li></ul></ul><ul><ul><li>Basic scripting, modeling  </li></ul></ul>
  23. 24. One page summary
  24. 25. Thank you!!!

×