Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.

Slides:



Advertisements
Similar presentations
Computer Basics Hit List of Items to Talk About ● What and when to use left, right, middle, double and triple click? What and when to use left, right,
Advertisements

Professional Toolkit V2.0 C:\Presentations - SmartCafe_Prof_V2.0 - bsc page 1 Professional Toolkit 2.0.
EXCEL Spreadsheet Basics
Excel Charts – Basic Skills Creating Charts in Excel.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
JMeter Workshop Friday 1 December 2006 Anthony Colebourne IT Services The University of Manchester.
A Simple Guide to Using SPSS© for Windows
Introduction To Form Builder
FIRST COURSE Excel Lecture. XP 2 Introducing Excel Microsoft Office Excel 2007 (or Excel) is a computer program used to enter, analyze, and present quantitative.
® IBM Software Group © 2006 IBM Corporation The Eclipse Data Perspective and Database Explorer This section describes how to use the Eclipse Data Perspective,
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
1 After completing this lesson, you will be able to: Format numeric data. Adjust the size of rows and columns. Align cell content. Create and apply conditional.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
Intro To JMeter Christian Desserich Testing a Web-Based Application.
PHP Tutorials 02 Olarik Surinta Management Information System Faculty of Informatics.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
Advanced Excel for Finance Professionals A self study material from South Asian Management Technologies Foundation.
Copyright ©: SAMSUNG & Samsung Hope for Youth. All rights reserved Tutorials Software: Presentations Suitable for: Beginner Improver Advanced.
Key Applications Module Lesson 19 — PowerPoint Essentials
User Interface Elements of User Interface Group View.
Performance testing with JMeter.  100% pure Java desktop application  Designed to load test client/server software (such as a web application )  JMeter.
Creating a Web Site to Gather Data and Conduct Research.
WEKA - Explorer (sumber: WEKA Explorer user Guide for Version 3-5-5)
LiveCycle Data Services Introduction Part 2. Part 2? This is the second in our series on LiveCycle Data Services. If you missed our first presentation,
An Introduction to Designing and Executing Workflows with Taverna Katy Wolstencroft University of Manchester.
Introduction to JMeter Anton Nesterov. User profile  Anton Nesterov  QA Engineer at Sitecore  3+ years of experience in testing automation  Skype:
GUI development with Matlab: GUI Front Panel Components 1 GUI front panel components In this section, we will look at -GUI front panel components -Programming.
Client – Server Application Can you create a client server application: The server will be running as a service: does not have a GUI The server will run.
Teacher’s Assessment Assistant Worksheet Builder Starting the Program
Chapter 3 Bullets and Numbers. Bullets  To start a list, click the bullets command Home tab   Press Enter, a new bulleted point is added.
Session Objectives • Login to PeopleSoft Test Framework(PTF)
Key Applications Module Lesson 21 — Access Essentials
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
How to Create a Document in Google Drive By Tressa Beckler.
1 NORMA Lab. 5 Duplicating Object Type and Predicate Shapes Finding Displayed Shapes Using the Diagram Spy Using Multiple Windows Using the Context Window.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
OneNote 2007 Adding text and images from the web.
Apache JMeter By Lamiya Qasim. Apache JMeter Tool for load test functional behavior and measure performance. Questions: Does JMeter offers support for.
Moving and Copying Text Instructor: Glenda H. Easter ITSW 1401, Intro to Word Processing.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Listing Input and Maintenance 1. Tree Menu/Wizard LPS Real Estate Group2 The Tree Menu allows users to move easily through each section of Listing Maintenance.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Lesson # 9 HP UCMDB 8.0 Essentials.
Editing Basics Lesson 8. Skills Matrix SKILL #MATRIX SKILL 2.2.1Cut, copy, and paste text 2.2.2Find and replace text 4.1.1Insert building blocks in documents.
IGridView description Version 2.0. Introduction IGridView is a 2D box view of Eclipse simulation data. Three types of grid data can be loaded and viewed:
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
How OLE Works Carlotta Eaton Exploring Microsoft Visual Basic 5.0 To insert your company logo on this slide From the Insert Menu Select “Picture” Locate.
Video in Macromedia Flash (Optional) – Lesson 121 Video in Macromedia Flash (Optional) Lesson 12.
Chapter 2: Excel Basics and Formatting Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Word 2010 Text Basics In this lesson you'll learn the basics of working with text, including how to insert, delete, select, copy, cut, paste, and replace.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
CIS 338: VB.NET Printing Dr. Ralph D. Westfall May, 2011.
Congratulations on installing Let’s take a quick tour of the main features.
MYSQL AND MYSQL WORKBENCH MIS2502 Data Analytics.
Pasewark & Pasewark 1 Word Lesson 2 Basic Editing Microsoft Office 2007: Introductory.
Computer/LMS Access To log onto one of these computers: Enter your Username, for example: 2014BNS099 followed So a complete login.
1 Chapter 15 Creating a Presentation. Practical Computer Literacy, 2 nd edition Chapter 15 2 What’s inside and on the CD? In this chapter, you will learn.
Product Training Program
CSE111 Introduction to Computer Applications
Home Page - Can be customized by the user Clicking on preferences in the upper right allows you to customize you home page, this one is set to favorites.
Word Lesson 2 Basic Editing
Multi-host Internet Access Portal (MIAP) Enhancement Guide
Using K2 applications How can users interact with K2 applications?
بسم الله الرحمن الرحيم.
How to add questions to a WBI participant feedback questionnaire (1)
Home Page - Can be customized by the user Clicking on preferences in the upper right allows you to customize you home page, this one is set to favorites.
Performance/Load/Stress Testing
Presentation transcript:

Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel

2 Day 6 Configuring JMeter Performance Test

 Define a user group ◦ In the left panel select the Test Plan node ◦ Right-click on the Test Plan node and select: Add > Threads (Users) > Thread Groups

 Select the User Group from the left panel  In the Right panel configure: ◦ User group name: Basic Users ◦ Number of users: 3 ◦ Ramp-Up Period: 1 ◦ Loop Count: 20

 Copy samplers from the WorkBench into the Basic User thread group of the Test Plan. To paste the samplers into the user group, select the Basic Users node and press Ctrl + V.

 Rename samplers, provide descriptive self-documenting names for each sampler.  Select each sampler one at a time, and change the value of the Name field for each one to descript what the sampler does.

 Add Listeners to the thread group ◦ Right-click the Basic Users thread group ◦ Select: Add > Listeners > Summary Report Listener Follow the steps above to also add the Graph Results listener to the same node  Start the Test ◦ Press Ctrl + R ◦ Or choose Run > Start

 Examine the Summary Report ◦ Observe that each request has been processed 60 times ◦ 20 loops * 3 users ◦ login.php is listed x4 so in was executed 240 = 60 x4 Note: each user performs all 7 searches per cycle

 Right-click the Basic Users thread group  Select: Add > Logic Controller > Random Controller

The goal is to let the Random Controller select one out of seven available searches to execute during each cycle, instead of running all 7 searches each time.  Drag the controller up in the node tree.  Position it directly above the EmpID search.  Select whether you wish to insert the controller above or below the highlighted node.  The controller should be between login and logout requests

 Hold down the Ctrl key and click all the search samplers  Press Ctrl + X to copy and cut all the selected samplers  Select the destination node (Random Controller) and paste.  To paste press Ctrl + V or choose Edit > Paste from the menu.

 As we discussed in an earlier class, listeners can be added to all level of the node tree.  Listeners can be added to the thread group, to individual samplers, and to the controller. ◦ Right-click the Random Controller ◦ Select: Add > Listeners > Summary Report Listener Follow the steps above to also add the “View Results in Table” listener to the same node

 Clear old results ◦ Press Ctrl + E ◦ Or Choose Run > Clear All  Start the Test ◦ Press Ctrl + R ◦ Or choose Run > Start  Examine the Summary Report on the Controller ◦ Observe that each search has been processed a random number of times ◦ Total of 60 searches were performed, one search per cycle Note: Total cycles = users * loops

 Static data is problematic: ◦ May interfere with DB constraints ◦ Cached by Browser, DB, and/or Web Server thereby lessening apparent load ◦ Does not conform to “real world” behavior expectations.  Solution: Selecting data at runtime using built in functions or user specified schema.

 The goal is to use the Random Variable configuration element to select EmpID search input value automatically for each instance of the search. ◦ Right-click the Random Controller ◦ Select: Add > Config Element > Random Variable

 Select the Random Variable node from the left panel  In the Right panel configure: ◦ Random Variable Element Name: EMP_CODE ◦ Variable Name: Emp_Code ◦ Output format: 0000 ◦ Minimum: 1 ◦ Maximum: 12 Note: Set Options > Per Thread = true if you wish each thread to use a separate value generator

To reference a variable anywhere in the Test Plan use this syntax: ${variable_name}  Select the EmpID Search sampler  In the Right panel configure: ◦ loc_name: ${Emp_Code}

 Select the View Results Tree Listened  Drag the Listener up to the EmpID Search node and release  From the menu choose Add as Child, to add he listener as a child of the sampler

 Clear old results ◦ Press Ctrl + E ◦ Or Choose Run > Clear All  Start the Test ◦ Press Ctrl + R ◦ Or choose Run > Start  Examine the View Results Tree Listener under the EmpID Sampler ◦ Observe that each search has a random input value selected.

 Please download a new version tomorrow