OneStopTesting - Quality Testing Jobs, eBooks, Articles, FAQs, Training Institutes, Testing Software, Testing downloads, testing news, testing tools, learn testing, manual testing, automated testing, load runner, winrunner, test director, silk test, STLC

Forum| Contact Us| Testimonials| Sitemap| Employee Referrals| News| Articles| Feedback| Enquiry
 
Testing Resources
 
  • Testing Articles
  • Testing Books
  • Testing Certification
  • Testing FAQs
  • Testing Downloads
  • Testing Interview Questions
  • Career In Software Testing
  • Testing Jobs
  • Testing Job Consultants
  • Testing News
  • Testing Training Institutes
  •  
    Fundamentals
     
  • Introduction
  • Designing Test Cases
  • Developing Test Cases
  • Writing Test Cases
  • Test Case Templates
  • Purpose
  • What Is a Good Test Case?
  • Test Specifications
  • UML
  • Scenario Testing
  • Test Script
  • Test Summary Report
  • Test Data
  • Defect Tracking
  •  
    Software testing
     
  • Testing Forum
  • Introduction
  • Testing Start Process
  • Testing Stop Process
  • Testing Strategy
  • Risk Analysis
  • Software Listings
  • Test Metrics
  • Release Life Cycle
  • Interoperability Testing
  • Extreme Programming
  • Cyclomatic Complexity
  • Equivalence Partitioning
  • Error Guessing
  • Boundary Value Analysis
  • Traceability Matrix
  •  
    SDLC Models
     
  • Introduction
  • Waterfall Model
  • Iterative Model
  • V-Model
  • Spiral Model
  • Big Bang Model
  • RAD Model
  • Prototyping Model
  •  
    Software Testing Types
     
  • Static Testing
  • Dynamic Testing
  • Blackbox Testing
  • Whitebox Testing
  • Unit Testing
  • Requirements Testing
  • Regression Testing
  • Error Handling Testing
  • Manual support Testing
  • Intersystem Testing
  • Control Testing
  • Parallel Testing
  • Volume Testing
  • Stress Testing
  • Performance Testing
  • Agile Testing
  • Localization Testing
  • Globalization Testing
  • Internationalization Testing
  •  
    Test Plan
     
  • Introduction
  • Test Plan Development
  • Test Plan Template
  • Regional Differences
  • Criticism
  • Hardware Development
  • IEEE 829-1998
  • Testing Without a TestPlan
  •  
    Code Coverage
     
  • Introduction
  • Measures
  • Working
  • Statement Coverage
  • Branch Coverage
  • Path Coverage
  • Coverage criteria
  • Code coverage in practice
  • Tools
  • Features
  •  
    Quality Management
     
  • Introduction
  • Components
  • Capability Maturity Model
  • CMMI
  • Six Sigma
  •  
    Project Management
     
  • Introduction
  • PM Activities
  • Project Control Variables
  • PM Methodology
  • PM Phases
  • PM Templates
  • Agile PM
  •  
    Automated Testing Tools
     
  • Quick Test Professional
  • WinRunner
  • LoadRunner
  • Test Director
  • Silk Test
  • Test Partner
  • Rational Robot
  •  
    Performance Testing Tools
     
  • Apache JMeter
  • Rational Performance Tester
  • LoadRunner
  • NeoLoad
  • WAPT
  • WebLOAD
  • Loadster
  • OpenSTA
  • LoadUI
  • Appvance
  • Loadstorm
  • LoadImpact
  • QEngine
  • Httperf
  • CloudTest
  •  
    Languages
     
  • Perl Testing
  • Python Testing
  • JUnit Testing
  • Unix Shell Scripting
  •  
    Automation Framework
     
  • Introduction
  • Keyword-driven Testing
  • Data-driven Testing
  •  
    Configuration Management
     
  • History
  • What is CM?
  • Meaning of CM
  • Graphically Representation
  • Traditional CM
  • CM Activities
  • Tools
  •  
    Articles
     
  • What Is Software Testing?
  • Effective Defect Reports
  • Software Security
  • Tracking Defects
  • Bug Report
  • Web Testing
  • Exploratory Testing
  • Good Test Case
  • Write a Test
  • Code Coverage
  • WinRunner vs. QuickTest
  • Web Testing Tools
  • Automated Testing
  • Testing Estimation Process
  • Quality Assurance
  • The Interview Guide
  • Upgrade Path Testing
  • Priority and Severity of Bug
  • Three Questions About Bug
  •    
     
    Home » Testing Articles » Automated Testing Articles » Software Testing - Transaction Mix in Performance Testing

    Software Testing - Transaction Mix in Performance Testing

    A D V E R T I S E M E N T


    In any real world scenario, not all users will do the same transaction. In order to simulate the same, the Performance Analyst must determine the mix of transactions/mix of browsers for every test that needs to be conducted. For ex: Some of your clients may be using IE and some may be using Mozilla
    You need to have the data of % of usage. [Which you should collect during Requirement Collection]
    Type Of Browser Transaction Name  % Of User
    Mozilla Search 20
    IE Search 50
    Opera Search 30

    Similarly, the transactions itself can be divided based on the Percentage of usage of that application

    Transaction Name  % Of Users
    Login Search 60
    Login Add Users 20
    Login Delete Users 20

    4. Methodology for Tool selection

    There are a number of Performance testing tools available in the market .The following are some of the considerations for selecting a Performance testing tool

    • Look at the budget for the tool
    • Look for the types of possible licensing available
    • Understand the technologies that are used by your Client in the Application under test and the Protocols that you need the tool to support. Also look for future usage
    • Evaluate the tools that support the protocols desired
    • Check for ease of scripting, reporting features, Monitors, root level diagnosis abilities etc. This will help you estimate the time required for the tests and for reporting.

    5. Considerations while scripting those transactions

    When our performance test design calls for a replay of thousand's or million's of users, it is very likely that the data should be random or diversified across the different simulated transactions. It should be easy to assume that all the users in the world don't exchange the same data. We are all unique, different and dynamic. Thus, for our load testing to simulate the real-world, the scripts must support the dynamic and varied parameterization of data values in the script and not just use hard-coded values.

    Let's talk about the two known ways of making the data random/dynamic

    • Parameterization
    • Correlation

    Parameterization: It is automatic replacement of hard coded data query values in a test script, so that different scripts can use different data. For instance if multiple virtual users login with the same ID, it does not simulate a real world scenario. So, we parameterize the 'Login ID 'with different values for every iteration.

    For ex:

    Iteration Virtual User Login ID
    1 1 Dave
    2 2 Smith
    3 3 Nancy

     

    Correlation: Correlation is reuse of data values as a test script is executed. For ex: –Consider a User goes to an online shopping center opens the product search page and does a query for the colors of Shirts available in a particular brand ('Brand1Shirts') The value of 'Brand1 Shirts' is assigned to the parameter searchStr, and posted: "query.aspx? str=searchStr"
    Query returns 3 different brands of Shirts that user can choose the results of the query are saved into a parameter table:

    Colour Product ID
    Sky Blue 12349
    Peach 12560
    Light Pink 12785

    User chooses a Color randomly from the list of items returned. The value (say) '12560' is selected from the product table and saved in the productID parameter.

    Now when 1000 users run the same transaction, you cannot have the same value for the ProductID. Also for different brands of shirts that the user searches there could number of ProductID's on the screen. In these situations we should correlate the data dynamically.

    Why should we be using dynamic data while scripting? How does it matter?

    There is a technical root reason that your load testing should include dynamic data values. When a system retrieves data from the database, copies of that data are saved in memory on different components throughout the system.

    This can happen at many layers within the architecture of the system, from individual hard drives, storage controllers, in the operating system kernel and in the various buffer managers in the application's software. If you don't use dynamic data to continuously query for new data, the load test will not accurately flush the cache buffers throughout the system; and thus the system may seem to respond with faster than in the real world.

    What next? …

    My upcoming articles will talk about

    • Creating test environments for different types of Performance tests
    • How to Conduct different types of performance tests
    • Some Common terminologies used while conducting Performance testing
    • Some specific tools in Performance testing and their capabilities
    • Analyzing different bottlenecks



    More Automated Testing Articles
    1 2 3 4 5 6 7 8 9 10 11 Next



    discussionDiscussion Center
    Discuss
    Discuss

    Query

    Feedback
    Yahoo Groups
    Y! Group
    Sirfdosti Groups
    Sirfdosti
    Contact Us
    Contact

    Looking for Software Testing eBooks and Interview Questions? Join now and get it FREE!
     
    A D V E R T I S E M E N T
       
       

    Members Login


    Email ID:
    Password:


    Forgot Password
    New User
       
       
    Testing Interview Questions
  • General Testing
  • Automation Testing
  • Manual Testing
  • Software Development Life Cycle
  • Software Testing Life Cycle
  • Testing Models
  • Automated Testing Tools
  • Silk Test
  • Win Runner
  •    
       
    Testing Highlights

  • Software Testing Ebooks
  • Testing Jobs
  • Testing Frequently Asked Questions
  • Testing News
  • Testing Interview Questions
  • Testing Jobs
  • Testing Companies
  • Testing Job Consultants
  • ISTQB Certification Questions
  •    
       
    Interview Questions

  • WinRunner
  • LoadRunner
  • SilkTest
  • TestDirector
  • General Testing Questions
  •    
       
    Resources

  • Testing Forum
  • Downloads
  • E-Books
  • Testing Jobs
  • Testing Interview Questions
  • Testing Tools Questions
  • Testing Jobs
  • A-Z Knowledge
  •    
    Planning
    for
    Study ABROAD ?


    Study Abroad


    Vyom Network : Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Programming & Source Codes | Free eBooks | Job Interview Questions | Free Tutorials | Jokes, Songs, Fun | Free Classifieds | Free Recipes | Bangalore Info | GATE Preparation | MBA Preparation | Free SAP Training
    Privacy Policy | Terms and Conditions
    Sitemap | Sitemap (XML)
    Job Interview Questions | Placement Papers | SMS Jokes | C++ Interview Questions | C Interview Questions | Web Hosting
    German | French | Portugese | Italian