SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Software Testing
Documented By
Hima Bindu Kosuru
• Software testing is an activity to check whether the actual results are matches with the expected
results and to be ensure that the software testing is a bug free.
We need this to overcome the issues like below:
 Field validation issues
 Site responsiveness under specific load.
 Confusing Navigation
 Inadequate InSite search
 Lack of device and browsing compatibility
• Lack of testing may lead to:
Loss of Money , Time and Business Reputation
• Testing includes activities that ensure the identification of bugs/errors/defects in a software.
• Software quality Assurance(SQA) is error preventive and verification activity. SQA role is to audit
that documented standards, processes and procedure are follow as enforced by development policy.
Needed material is checklist and performed by QA engineers.
• Software quality control(SQC) is defect detection and validation activity. SQA role (usually tests) is
to confirm the quality of a system and to check whether this application adheres the defined quality
standard or not. Needed material is application and performance by software testers.
Software Development Life
Cycle
Requirement
analisis
Project
Planning
Project Design
Developent
Testing
Implimentation
and maintance
Error which is a mistake of an human action
that produces an incorrect result.
Fault which is a bug or the defect which
flaw in a component or system that can
cause the component or the system fail to
perform its required function.
Failure is a deviation of the component or
system from its expected delivery or serivce
or result.
Test data planning essentially includes test procedure planning
Software testing Lifecycle
White Box Testing
White box testing
Structural testing
Code Complexity
Cyclomatic complexity
Code coverage
Statement Coverage
Path Coverage
Condition coverage
Function Coverage
Unit/Code functionality
testing
Static Testing
Desk Checking
Code Walk through
Code inspection
A way of testing the external functionality of the code by
examining and testing the program code that realizes the external
functionality.
Advantages / Pros of White Box Testing
 Code optimization by revealing hidden errors
 Transparency of the internal coding structure which is helpful
in deriving the type of input data needed to test an application
effectively
 Covers all possible paths of a code thereby, empowering a
software engineering team to conduct thorough application
testing
 Enables programmer to introspect because developers can
carefully describe any new implementation
 Test cases can be easily automated
 Gives engineering-based rules to stop testing an application
Disadvantages / Cons of White Box Testing
o A complex and expensive procedure which requires the
adroitness of a seasoned professional, expertise in
programming and understanding of internal structure of a
code
o Updated test script required when the implementation is
changing too often
o Exhaustive testing becomes even more complex using the
white box testing method if the application is of large size
o Some conditions might be untested as it is not realistic to test
every single one
o Necessity to create full range of inputs to test each path and
condition make the white box testing method time-consuming
o Defects in the code may not be detected or may be introduced
considering the ground rule of analyzing each line by line or
path by path.
Black Box Testing
Functional testing types include:
 Integration Testing
 System Testing
 Sanity Testing
 Smoke Testing
 Interface Testing
 Regression Testing
 Beta/Acceptance Testing
 Refinement Testing
Blackbox testing is done without the knowledge of the internal of the system under
test.
Requirement based testing tests the products compliance to the requirement
specifications.
Advantages / Pros of Black Box Testing:
 Unbiased tests because the designer and tester work independently
 Tester is free from any pressure of knowledge of specific programming
languages to test the reliability and functionality of an application / software
 Facilitates identification of contradictions and vagueness in functional
specifications
 Test is performed from a user’s point-of-view and not of the designer’s
 Test cases can be designed immediately after the completion of specifications
Disadvantages / Cons of Black Box Testing:
o Tests can be redundant if already run by the software designer
o Test cases are extremely difficult to be designed without clear and concise
specifications
o Testing every possible input stream is not possible because it is time-consuming
and this would eventually leave many program paths untested
o Results might be overestimated at times
o Cannot be used for testing complex segments of code
Differences Between Blackbox and white box Testing
Performance Testing
Non-functional testing types include:
 Performance Testing
 Load testing
 Stress testing
 Volume testing
 Security testing
 Compatibility testing
 Install testing
 Recovery testing
 Reliability testing
 Usability testing
 Compliance testing
 Localization testing
Scenario's Of Performance Testing
Throughput
Response Time
Think time
Peak Load and Average Load
Breakpoint
Stability, Scalability
 An industry-leading performance and load testing product by Hewlett-Packard (since it acquired Mercury
Interactive in November 2006).
 LoadRunner reduces the personnel requirements by replacing human users with virtual users or Vusers.
These Vusers emulate the behavior of real users — operating real applications.
 Because numerous Vusers can run on a single computer, LoadRunner reduces the hardware
requirements.
 The LoadRunner Controller allows you to easily and effectively control all the Vusers — from a single point
of control.
 LoadRunner monitors the application performance online, enabling you to fine-tune your system during
test execution.
 LoadRunner automatically records the performance of the application during a test. You can choose from
a wide variety of graphs and reports to view the performance data.
 LoadRunner checks where performance delays occur: network or client delays, CPU performance, I/O
delays, database locking, or other issues at the database server. LoadRunner monitors the network and
server resources to help you improve performance.
 Because LoadRunner tests are fully automated, you can easily repeat them as often as you need.
Why HP LoadRunner?
LoadRunner Architecture
LoadRunner TerminologyScenarios:
Using LoadRunner, application performance testing requirements are divided into scenarios.
A scenario defines the events that occur during each testing sessions.
For example, a scenario defines and controls the number of users to emulate, the actions that they perform, and the machines on which they run their
emulations.
Vusers
In a scenario, LoadRunner replaces human users with virtual users or Vusers.
In a scenario, Vusers emulate the actions of human users—submitting input to the server.
A scenario can contain tens, hundreds, or even thousands of Vusers.
Vuser Scripts
The actions that a Vuser performs during the scenario are described in a Vuser script
When a scenario is executed, each Vuser executes a Vuser script. Vuser scripts include functions that measure and record the performance of the
server during the scenario.
Transactions
To measure the performance of the server, transactions are defined.
Transactions measure the time that it takes for the server to respond to tasks submitted by Vusers.
Rendezvous Points
Rendezvous points are used into Vuser scripts to emulate heavy user load on the server.
Rendezvous points instruct multiple Vusers to perform tasks at exactly the same time.
For example, to emulate peak load on the bank server, we insert a rendezvous point to instruct 100 Vusers to simultaneously deposit cash into their
accounts.
Controller
LoadRunner Controller is used to manage and maintain scenarios.
Using the Controller, we can control all the Vusers in a scenario from a single workstation.
Hosts
When you execute a scenario, the LoadRunner Controller distributes each Vuser in the scenario to a host.
The host is the machine that executes the Vuser script, enabling the Vuser to emulate the actions of a human user.
Performance Analysis
Vuser scripts include functions that measure and record system performance during load-testing sessions.
During a scenario run, you can monitor the network and server resources.
Following a scenario run, you can view performance analysis data in reports and graphs.
How LoadRunner Works?
LoadRunner works by creating virtual users who take the place of real users operating client
software sending requests using the HTTP protocol to web servers.
Requests from many virtual user clients are generated by "Load Generators" in order to
create a load on various servers under test
The Controller controls load test runs based on "Scenarios" invoking compiled "Scripts" and
associated "Run-time Settings".
Scripts are crafted using "Virtual user script Generator" (named "VU Gen"), It generates C-
language script code to be executed by virtual users by capturing network traffic between
Internet application clients and servers.
During runs, the status of each machine is monitored by the Controller.
At the end of each run, the Controller combines its monitoring logs with logs obtained from
load generators, and makes them available to the "Analysis" program, which can then create
run result reports and graphs for Microsoft Word, Crystal Reports, or an HTML webpage
browser.
What is Jmeter?
• Apache JMeter is a 100% pure Java desktop application designed to performance/load test client/server software (such as a web application)
• Initially developed for web apps, but later extended to
 FTP
 LDAP
 Databases
 Java Objects
 It is an Open source tool
 Can be used on different protocols and server types : SOAP, REST, JDBC, Mail
 User friendly GUI Design compare to other tools
 Test results can be displayed in various formats such as Summary report, Aggregate report, View Results Tree and View Results in Table
 Short learning curve (basic HTML knowledge should do it for a beginner)
 Can be extended through plug-ins
 Has excellent documentation
Main Components
• Test plan:
 The main part of JMeter scripts
 The “home” of thread groups, samplers, configuration elements and other specific components
• Workbench:
 Used mainly for generating script components using “HTTP(S) Test Script Recorder” component
 By default not saving components in scripts
• Samplers perform the actual work(requests)
• Logic Controllers determine the order in which samplers are processed
• Listeners provide means to view, save, and read saved test results
• Configuration elements can be used to set up defaults and variables for later use by samplers
• Assertions are used to perform additional checks on samplers
• Timers(waits) are applied before the sampler is executed
• Pre/Post Processors are used to modify the Samplers in their scope
• Misc: Thread Group(+setUp, +tearDown), HTTPS Test Script Recorder
Most Used Components
Windows performance Monitoring
• Examine how programs you run affect your computer's performance, both in real time
and by collecting log data for later analysis
• Uses performance counters, event trace data, and configuration information, which can
be combined into Data Collector Sets
• Performance counters are measurements of system state or activity
• Event trace data is collected from trace providers
• Configuration information is collected from key values in the Windows registry
• Run => perfmon
• Create templates for later use
Software Testing includes Performance testing with Load Runner and the JMeter

Weitere ähnliche Inhalte

Was ist angesagt?

Loadrunner presentation
Loadrunner presentationLoadrunner presentation
Loadrunner presentationmedsherb
 
Load runner & win runner
Load runner & win runnerLoad runner & win runner
Load runner & win runnerHimanshu
 
Performance Testing With Loadrunner
Performance Testing With LoadrunnerPerformance Testing With Loadrunner
Performance Testing With Loadrunnervladimir zaremba
 
Loadrunner interview questions and answers
Loadrunner interview questions and answersLoadrunner interview questions and answers
Loadrunner interview questions and answersGaruda Trainings
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement GatheringAtul Pant
 
LoadRunner Performance Testing
LoadRunner Performance TestingLoadRunner Performance Testing
LoadRunner Performance TestingAtul Pant
 
Introduction to Performance Testing & Loadrunner
Introduction to Performance Testing & LoadrunnerIntroduction to Performance Testing & Loadrunner
Introduction to Performance Testing & LoadrunnerAisha Mazhar
 
Advanced Load Runner
Advanced Load RunnerAdvanced Load Runner
Advanced Load Runnertelab
 
Performance testing interview questions and answers
Performance testing interview questions and answersPerformance testing interview questions and answers
Performance testing interview questions and answersGaruda Trainings
 
Top 20 best automation testing tools
Top 20 best automation testing toolsTop 20 best automation testing tools
Top 20 best automation testing toolsQACraft
 
Automation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterAutomation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterVijayChowthri Nagaprakasham
 
Performance Bottleneck Identification
Performance Bottleneck IdentificationPerformance Bottleneck Identification
Performance Bottleneck IdentificationMustufa Batterywala
 
Loadrunner vs Jmeter
Loadrunner vs JmeterLoadrunner vs Jmeter
Loadrunner vs JmeterAtul Pant
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance TestingAtul Pant
 
Loadrunner Interview quetion & answers
Loadrunner Interview quetion & answersLoadrunner Interview quetion & answers
Loadrunner Interview quetion & answersNancy Nelida
 
JMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | EdurekaJMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | EdurekaEdureka!
 

Was ist angesagt? (17)

Loadrunner presentation
Loadrunner presentationLoadrunner presentation
Loadrunner presentation
 
Load runner & win runner
Load runner & win runnerLoad runner & win runner
Load runner & win runner
 
Performance Testing With Loadrunner
Performance Testing With LoadrunnerPerformance Testing With Loadrunner
Performance Testing With Loadrunner
 
Loadrunner interview questions and answers
Loadrunner interview questions and answersLoadrunner interview questions and answers
Loadrunner interview questions and answers
 
Performance Requirement Gathering
Performance Requirement GatheringPerformance Requirement Gathering
Performance Requirement Gathering
 
LoadRunner Performance Testing
LoadRunner Performance TestingLoadRunner Performance Testing
LoadRunner Performance Testing
 
Introduction to Performance Testing & Loadrunner
Introduction to Performance Testing & LoadrunnerIntroduction to Performance Testing & Loadrunner
Introduction to Performance Testing & Loadrunner
 
Advanced Load Runner
Advanced Load RunnerAdvanced Load Runner
Advanced Load Runner
 
Performance testing interview questions and answers
Performance testing interview questions and answersPerformance testing interview questions and answers
Performance testing interview questions and answers
 
Top 20 best automation testing tools
Top 20 best automation testing toolsTop 20 best automation testing tools
Top 20 best automation testing tools
 
Automation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional TesterAutomation testing IBM RFT - Rational Functional Tester
Automation testing IBM RFT - Rational Functional Tester
 
Performance Bottleneck Identification
Performance Bottleneck IdentificationPerformance Bottleneck Identification
Performance Bottleneck Identification
 
Loadrunner vs Jmeter
Loadrunner vs JmeterLoadrunner vs Jmeter
Loadrunner vs Jmeter
 
Jmeter Performance Testing
Jmeter Performance TestingJmeter Performance Testing
Jmeter Performance Testing
 
Winrunner
WinrunnerWinrunner
Winrunner
 
Loadrunner Interview quetion & answers
Loadrunner Interview quetion & answersLoadrunner Interview quetion & answers
Loadrunner Interview quetion & answers
 
JMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | EdurekaJMeter vs LoadRunner | Edureka
JMeter vs LoadRunner | Edureka
 

Ähnlich wie Software Testing includes Performance testing with Load Runner and the JMeter

Silk Performer Presentation v1
Silk Performer Presentation v1Silk Performer Presentation v1
Silk Performer Presentation v1Sun Technlogies
 
Laravel Load Testing: Strategies and Tools
Laravel Load Testing: Strategies and ToolsLaravel Load Testing: Strategies and Tools
Laravel Load Testing: Strategies and ToolsMuhammad Shehata
 
Automation Tool Overview
Automation Tool OverviewAutomation Tool Overview
Automation Tool OverviewANKUR-BA
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools OverviewSachin-QA
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools OverviewMurageppa-QA
 
Load runner 8.0
Load runner 8.0Load runner 8.0
Load runner 8.0medsherb
 
Copy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxCopy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxssuser20fcbe
 
SOFTWARE TESTING.pptx
SOFTWARE TESTING.pptxSOFTWARE TESTING.pptx
SOFTWARE TESTING.pptxssrpr
 
HP Software Testing project (Advanced)
HP Software Testing project (Advanced)HP Software Testing project (Advanced)
HP Software Testing project (Advanced)Lokesh Singrol
 
HP LoadRunner
HP LoadRunnerHP LoadRunner
HP LoadRunnerFayis-QA
 
PERFORMANCE TESTING USING LOAD RUNNER
PERFORMANCE  TESTING  USING  LOAD RUNNERPERFORMANCE  TESTING  USING  LOAD RUNNER
PERFORMANCE TESTING USING LOAD RUNNERAjithaG9
 
advanced_load_runner.ppt
advanced_load_runner.pptadvanced_load_runner.ppt
advanced_load_runner.pptSunilKumar61580
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectDevOps.com
 
Testing project (basic)
Testing project (basic)Testing project (basic)
Testing project (basic)Lokesh Singrol
 
Dotcom monitor platform overview
Dotcom monitor platform overviewDotcom monitor platform overview
Dotcom monitor platform overviewtrippj
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testingQualitest
 

Ähnlich wie Software Testing includes Performance testing with Load Runner and the JMeter (20)

Silk Performer Presentation v1
Silk Performer Presentation v1Silk Performer Presentation v1
Silk Performer Presentation v1
 
Laravel Load Testing: Strategies and Tools
Laravel Load Testing: Strategies and ToolsLaravel Load Testing: Strategies and Tools
Laravel Load Testing: Strategies and Tools
 
Automation Tool Overview
Automation Tool OverviewAutomation Tool Overview
Automation Tool Overview
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
 
Load runner 8.0
Load runner 8.0Load runner 8.0
Load runner 8.0
 
Load testing
Load testingLoad testing
Load testing
 
Copy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptxCopy of Silk performer - KT.pptx
Copy of Silk performer - KT.pptx
 
Performance testing material
Performance testing materialPerformance testing material
Performance testing material
 
SOFTWARE TESTING.pptx
SOFTWARE TESTING.pptxSOFTWARE TESTING.pptx
SOFTWARE TESTING.pptx
 
JMeter
JMeterJMeter
JMeter
 
HP Software Testing project (Advanced)
HP Software Testing project (Advanced)HP Software Testing project (Advanced)
HP Software Testing project (Advanced)
 
HP LoadRunner
HP LoadRunnerHP LoadRunner
HP LoadRunner
 
PERFORMANCE TESTING USING LOAD RUNNER
PERFORMANCE  TESTING  USING  LOAD RUNNERPERFORMANCE  TESTING  USING  LOAD RUNNER
PERFORMANCE TESTING USING LOAD RUNNER
 
advanced_load_runner.ppt
advanced_load_runner.pptadvanced_load_runner.ppt
advanced_load_runner.ppt
 
Modernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-Architect
 
Testing project (basic)
Testing project (basic)Testing project (basic)
Testing project (basic)
 
Dotcom monitor platform overview
Dotcom monitor platform overviewDotcom monitor platform overview
Dotcom monitor platform overview
 
Load and performance testing
Load and performance testingLoad and performance testing
Load and performance testing
 
QSpiders - Introduction to JMeter
QSpiders - Introduction to JMeterQSpiders - Introduction to JMeter
QSpiders - Introduction to JMeter
 

Kürzlich hochgeladen

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Kürzlich hochgeladen (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Software Testing includes Performance testing with Load Runner and the JMeter

  • 2. • Software testing is an activity to check whether the actual results are matches with the expected results and to be ensure that the software testing is a bug free. We need this to overcome the issues like below:  Field validation issues  Site responsiveness under specific load.  Confusing Navigation  Inadequate InSite search  Lack of device and browsing compatibility • Lack of testing may lead to: Loss of Money , Time and Business Reputation • Testing includes activities that ensure the identification of bugs/errors/defects in a software. • Software quality Assurance(SQA) is error preventive and verification activity. SQA role is to audit that documented standards, processes and procedure are follow as enforced by development policy. Needed material is checklist and performed by QA engineers. • Software quality control(SQC) is defect detection and validation activity. SQA role (usually tests) is to confirm the quality of a system and to check whether this application adheres the defined quality standard or not. Needed material is application and performance by software testers.
  • 3. Software Development Life Cycle Requirement analisis Project Planning Project Design Developent Testing Implimentation and maintance Error which is a mistake of an human action that produces an incorrect result. Fault which is a bug or the defect which flaw in a component or system that can cause the component or the system fail to perform its required function. Failure is a deviation of the component or system from its expected delivery or serivce or result. Test data planning essentially includes test procedure planning
  • 5. White Box Testing White box testing Structural testing Code Complexity Cyclomatic complexity Code coverage Statement Coverage Path Coverage Condition coverage Function Coverage Unit/Code functionality testing Static Testing Desk Checking Code Walk through Code inspection A way of testing the external functionality of the code by examining and testing the program code that realizes the external functionality. Advantages / Pros of White Box Testing  Code optimization by revealing hidden errors  Transparency of the internal coding structure which is helpful in deriving the type of input data needed to test an application effectively  Covers all possible paths of a code thereby, empowering a software engineering team to conduct thorough application testing  Enables programmer to introspect because developers can carefully describe any new implementation  Test cases can be easily automated  Gives engineering-based rules to stop testing an application Disadvantages / Cons of White Box Testing o A complex and expensive procedure which requires the adroitness of a seasoned professional, expertise in programming and understanding of internal structure of a code o Updated test script required when the implementation is changing too often o Exhaustive testing becomes even more complex using the white box testing method if the application is of large size o Some conditions might be untested as it is not realistic to test every single one o Necessity to create full range of inputs to test each path and condition make the white box testing method time-consuming o Defects in the code may not be detected or may be introduced considering the ground rule of analyzing each line by line or path by path.
  • 6. Black Box Testing Functional testing types include:  Integration Testing  System Testing  Sanity Testing  Smoke Testing  Interface Testing  Regression Testing  Beta/Acceptance Testing  Refinement Testing Blackbox testing is done without the knowledge of the internal of the system under test. Requirement based testing tests the products compliance to the requirement specifications. Advantages / Pros of Black Box Testing:  Unbiased tests because the designer and tester work independently  Tester is free from any pressure of knowledge of specific programming languages to test the reliability and functionality of an application / software  Facilitates identification of contradictions and vagueness in functional specifications  Test is performed from a user’s point-of-view and not of the designer’s  Test cases can be designed immediately after the completion of specifications Disadvantages / Cons of Black Box Testing: o Tests can be redundant if already run by the software designer o Test cases are extremely difficult to be designed without clear and concise specifications o Testing every possible input stream is not possible because it is time-consuming and this would eventually leave many program paths untested o Results might be overestimated at times o Cannot be used for testing complex segments of code
  • 7. Differences Between Blackbox and white box Testing
  • 9. Non-functional testing types include:  Performance Testing  Load testing  Stress testing  Volume testing  Security testing  Compatibility testing  Install testing  Recovery testing  Reliability testing  Usability testing  Compliance testing  Localization testing Scenario's Of Performance Testing Throughput Response Time Think time Peak Load and Average Load Breakpoint Stability, Scalability
  • 10.  An industry-leading performance and load testing product by Hewlett-Packard (since it acquired Mercury Interactive in November 2006).  LoadRunner reduces the personnel requirements by replacing human users with virtual users or Vusers. These Vusers emulate the behavior of real users — operating real applications.  Because numerous Vusers can run on a single computer, LoadRunner reduces the hardware requirements.  The LoadRunner Controller allows you to easily and effectively control all the Vusers — from a single point of control.  LoadRunner monitors the application performance online, enabling you to fine-tune your system during test execution.  LoadRunner automatically records the performance of the application during a test. You can choose from a wide variety of graphs and reports to view the performance data.  LoadRunner checks where performance delays occur: network or client delays, CPU performance, I/O delays, database locking, or other issues at the database server. LoadRunner monitors the network and server resources to help you improve performance.  Because LoadRunner tests are fully automated, you can easily repeat them as often as you need. Why HP LoadRunner?
  • 12. LoadRunner TerminologyScenarios: Using LoadRunner, application performance testing requirements are divided into scenarios. A scenario defines the events that occur during each testing sessions. For example, a scenario defines and controls the number of users to emulate, the actions that they perform, and the machines on which they run their emulations. Vusers In a scenario, LoadRunner replaces human users with virtual users or Vusers. In a scenario, Vusers emulate the actions of human users—submitting input to the server. A scenario can contain tens, hundreds, or even thousands of Vusers. Vuser Scripts The actions that a Vuser performs during the scenario are described in a Vuser script When a scenario is executed, each Vuser executes a Vuser script. Vuser scripts include functions that measure and record the performance of the server during the scenario. Transactions To measure the performance of the server, transactions are defined. Transactions measure the time that it takes for the server to respond to tasks submitted by Vusers. Rendezvous Points Rendezvous points are used into Vuser scripts to emulate heavy user load on the server. Rendezvous points instruct multiple Vusers to perform tasks at exactly the same time. For example, to emulate peak load on the bank server, we insert a rendezvous point to instruct 100 Vusers to simultaneously deposit cash into their accounts. Controller LoadRunner Controller is used to manage and maintain scenarios. Using the Controller, we can control all the Vusers in a scenario from a single workstation. Hosts When you execute a scenario, the LoadRunner Controller distributes each Vuser in the scenario to a host. The host is the machine that executes the Vuser script, enabling the Vuser to emulate the actions of a human user. Performance Analysis Vuser scripts include functions that measure and record system performance during load-testing sessions. During a scenario run, you can monitor the network and server resources. Following a scenario run, you can view performance analysis data in reports and graphs.
  • 13. How LoadRunner Works? LoadRunner works by creating virtual users who take the place of real users operating client software sending requests using the HTTP protocol to web servers. Requests from many virtual user clients are generated by "Load Generators" in order to create a load on various servers under test The Controller controls load test runs based on "Scenarios" invoking compiled "Scripts" and associated "Run-time Settings". Scripts are crafted using "Virtual user script Generator" (named "VU Gen"), It generates C- language script code to be executed by virtual users by capturing network traffic between Internet application clients and servers. During runs, the status of each machine is monitored by the Controller. At the end of each run, the Controller combines its monitoring logs with logs obtained from load generators, and makes them available to the "Analysis" program, which can then create run result reports and graphs for Microsoft Word, Crystal Reports, or an HTML webpage browser.
  • 14. What is Jmeter? • Apache JMeter is a 100% pure Java desktop application designed to performance/load test client/server software (such as a web application) • Initially developed for web apps, but later extended to  FTP  LDAP  Databases  Java Objects  It is an Open source tool  Can be used on different protocols and server types : SOAP, REST, JDBC, Mail  User friendly GUI Design compare to other tools  Test results can be displayed in various formats such as Summary report, Aggregate report, View Results Tree and View Results in Table  Short learning curve (basic HTML knowledge should do it for a beginner)  Can be extended through plug-ins  Has excellent documentation
  • 15. Main Components • Test plan:  The main part of JMeter scripts  The “home” of thread groups, samplers, configuration elements and other specific components • Workbench:  Used mainly for generating script components using “HTTP(S) Test Script Recorder” component  By default not saving components in scripts • Samplers perform the actual work(requests) • Logic Controllers determine the order in which samplers are processed • Listeners provide means to view, save, and read saved test results • Configuration elements can be used to set up defaults and variables for later use by samplers • Assertions are used to perform additional checks on samplers • Timers(waits) are applied before the sampler is executed • Pre/Post Processors are used to modify the Samplers in their scope • Misc: Thread Group(+setUp, +tearDown), HTTPS Test Script Recorder
  • 17. Windows performance Monitoring • Examine how programs you run affect your computer's performance, both in real time and by collecting log data for later analysis • Uses performance counters, event trace data, and configuration information, which can be combined into Data Collector Sets • Performance counters are measurements of system state or activity • Event trace data is collected from trace providers • Configuration information is collected from key values in the Windows registry • Run => perfmon • Create templates for later use