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