SlideShare una empresa de Scribd logo
1 de 16
Webservice Performance Testing
with SoapUI (LoadUI)
Nguyen Huu Phuoc, MEng.
HCMC, 11/2013
Agenda
•

What is Performance Testing?

•

Performance Testing Kinds

•

Using LoadUI for Performance Testing

•

The advanced topics
Performance Testing
•

Creating or simulating artificially load.

•

Measuring how the system handle the load.
Performance Testing Kinds (1/2)
•

Baseline Testing
–
–

•

Load: Expected or normal load
Goal: Find the metrics under normal load.

Load Testing
–
–

•

Load: High load.
Goal: Find the metrics under high load.

Stress Testing
–

Load: High load.

–

Goal: Find the system breaking point
Performance Testing Kinds (2/2)
•

Soak Testing
–
–

Time: Long period.

–
•

Load: normal load or high load.
Goal: Find unwanted behavior emerges over time .

Scalability Testing
–

Load: Like Load test but increase the complexity or
size of request.

–

Goal: Find the metrics under high volumes of data
Using LoadUI For LoadTest
•

What is LoadUI?

•

Quick Start:
–

Create a new LoadTest

–

Run the LoadTest

–

Add Assertions to a LoadTest
Using LoadUI For LoadTest
•

LoadUI:
–

LoadUI is a free load testing tool which is integrate
into SoapUI

–

LoadUI provides the following features:
•

Distributed Load Testing: Allow user to distribute Load
Tests to multiple LoadUI agents.

•

Run multiple Test Cases simultaneously.

•

Long-run tests.

•

Interactive load testing: Change parameter real time.
Using LoadUI For LoadTest
•

Create a new LoadTest:
–

In Navigator > Right click on a Test case >New Loa
dTest

–

In New LoadTest dialog, enter your LoadTest nam
e > Click on OK button.
Using LoadUI For LoadTest
•

Run the LoadTest
–

Modify pre-configured LoadTest with the desired
values.

–

Run the LoadTest.

–

We will see the statistic table during the LoadTest
running.
Using LoadUI For LoadTest
•

Add Assertions to a LoadTest:
–

In the LoadTest editor, select “LoadTest Assertion” ta
b at the bottom of the editor.

–

Click LoadTest Assertion button in the LoadTest Assert
ion menu bar.

–

In the Add Assertion dialog, select Step Maximum and
click OK button.

–

In the TestStep Max Assertion window, modify anythi
ng you want and click OK button.

–

The assertion is added successfully.

–

Run test again.
The Advanced Topics
•

Test Strategies.

•

Available Assertions.

•

Export Data & Statistics

•

Scripting.
Test Strategies
•

•

•

Simple Strategy  Baseline, Load and Soak Testing.
Fixed-Rate Strategy  Guarantee the number of executions
within a certain time.
Variable Load Strategies:
–

Variance: varies the number of threads over time in a
“sawtooth” manor.

–

Burst: Recovery testing, bursting thread in short duration and
do baseline testing after that.

–

Thread: The linearly change in number of threads.

–

Grid: The relative change in number of threads.

–

Script: The number of thread is scripted.
Available Assertions
•

•

•

•

•

Step Average: Asserts that the average value d
oesn't exceed the specified limit.
Step TPS: Asserts the TPS (transaction per sec
ond) value
Step Minimum: Asserts the max value
Step Status: Check that the underlying executi
on status is successful.
Max Errors: Check that the number of failures.
Export Data & Statistics
•

Export statistics to CSV.

•

Export Statistics Diagrams to CSV.

•

Export Data Continuously: Using Statistic
Log
Scripting
•

LoadUI allow user make the following TestCas
e-specific scripting hooks:
–

Setup and TearDown scripts

–

Access to LoadTest related objects in a TestCase sc
ript

–

The objects we can use in the scripts:
•

context

•

log

•

loadTestRunner
THANK YOU !

Nguyen Huu Phuoc, MEng.
Homepage:
http://hữuphướcnguyễn.vn
http://phuocnh.nghelong.com

Más contenido relacionado

La actualidad más candente

SoapUI Pro Plugin Workshop #SoapUIPlugins
SoapUI Pro Plugin Workshop #SoapUIPluginsSoapUI Pro Plugin Workshop #SoapUIPlugins
SoapUI Pro Plugin Workshop #SoapUIPluginsSmartBear
 
Testing Web Services - QA or the Highway 2016
Testing Web Services - QA or the Highway 2016Testing Web Services - QA or the Highway 2016
Testing Web Services - QA or the Highway 2016Steinn 'Stan' Jónsson
 
How to make a Load Testing with Visual Studio 2012
How to make a Load Testing with Visual Studio 2012How to make a Load Testing with Visual Studio 2012
How to make a Load Testing with Visual Studio 2012Chen-Tien Tsai
 
Introduction to SoapUI day 3
Introduction to SoapUI day 3Introduction to SoapUI day 3
Introduction to SoapUI day 3Qualitest
 
Soap ui introduction
Soap ui introductionSoap ui introduction
Soap ui introductionIkuru Kanuma
 
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load TestingA Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load TestingBirgit Pauli-Haack
 
Soap ui oracle_brm_automated_performance_tests
Soap ui oracle_brm_automated_performance_testsSoap ui oracle_brm_automated_performance_tests
Soap ui oracle_brm_automated_performance_testsMadhu Mohan
 
Testing Agile Web Services from soapUI
Testing Agile Web Services from soapUITesting Agile Web Services from soapUI
Testing Agile Web Services from soapUIPLM Mechanic .
 
Arquillian & Citrus
Arquillian & CitrusArquillian & Citrus
Arquillian & Citruschristophd
 
Load Testing using Continuous Integration tools
Load Testing using Continuous Integration toolsLoad Testing using Continuous Integration tools
Load Testing using Continuous Integration toolsRick Pitts
 
Load Testing and JMeter Presentation
Load Testing and JMeter PresentationLoad Testing and JMeter Presentation
Load Testing and JMeter PresentationNeill Lima
 
Introduction to blazemeter and jmeter
Introduction to blazemeter and jmeterIntroduction to blazemeter and jmeter
Introduction to blazemeter and jmeterb4usolution .
 
Load testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew SiemerLoad testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew SiemerAndrew Siemer
 
Load testing using_neoload by kc
Load testing using_neoload by kcLoad testing using_neoload by kc
Load testing using_neoload by kckrishna chaitanya
 
Soap UI - Getting started
Soap UI - Getting startedSoap UI - Getting started
Soap UI - Getting startedQualitest
 
LoadUI web performance testing tool
LoadUI web performance testing toolLoadUI web performance testing tool
LoadUI web performance testing toolMilind Rupchandani
 
Visual studio performance testing quick reference guide 3 6
Visual studio performance testing quick reference guide 3 6Visual studio performance testing quick reference guide 3 6
Visual studio performance testing quick reference guide 3 6Srimanta Kumar Sahu
 

La actualidad más candente (20)

SoapUI Pro Plugin Workshop #SoapUIPlugins
SoapUI Pro Plugin Workshop #SoapUIPluginsSoapUI Pro Plugin Workshop #SoapUIPlugins
SoapUI Pro Plugin Workshop #SoapUIPlugins
 
Testing Web Services - QA or the Highway 2016
Testing Web Services - QA or the Highway 2016Testing Web Services - QA or the Highway 2016
Testing Web Services - QA or the Highway 2016
 
How to make a Load Testing with Visual Studio 2012
How to make a Load Testing with Visual Studio 2012How to make a Load Testing with Visual Studio 2012
How to make a Load Testing with Visual Studio 2012
 
Deep dive into SoapUI
Deep dive into SoapUIDeep dive into SoapUI
Deep dive into SoapUI
 
Introduction to SoapUI day 3
Introduction to SoapUI day 3Introduction to SoapUI day 3
Introduction to SoapUI day 3
 
Soap ui introduction
Soap ui introductionSoap ui introduction
Soap ui introduction
 
A Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load TestingA Beginner's Guide to Application Load Testing
A Beginner's Guide to Application Load Testing
 
Soap ui oracle_brm_automated_performance_tests
Soap ui oracle_brm_automated_performance_testsSoap ui oracle_brm_automated_performance_tests
Soap ui oracle_brm_automated_performance_tests
 
Testing Agile Web Services from soapUI
Testing Agile Web Services from soapUITesting Agile Web Services from soapUI
Testing Agile Web Services from soapUI
 
Arquillian & Citrus
Arquillian & CitrusArquillian & Citrus
Arquillian & Citrus
 
Apache jMeter
Apache jMeterApache jMeter
Apache jMeter
 
Qa process
Qa processQa process
Qa process
 
Load Testing using Continuous Integration tools
Load Testing using Continuous Integration toolsLoad Testing using Continuous Integration tools
Load Testing using Continuous Integration tools
 
Load Testing and JMeter Presentation
Load Testing and JMeter PresentationLoad Testing and JMeter Presentation
Load Testing and JMeter Presentation
 
Introduction to blazemeter and jmeter
Introduction to blazemeter and jmeterIntroduction to blazemeter and jmeter
Introduction to blazemeter and jmeter
 
Load testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew SiemerLoad testing with Visual Studio and Azure - Andrew Siemer
Load testing with Visual Studio and Azure - Andrew Siemer
 
Load testing using_neoload by kc
Load testing using_neoload by kcLoad testing using_neoload by kc
Load testing using_neoload by kc
 
Soap UI - Getting started
Soap UI - Getting startedSoap UI - Getting started
Soap UI - Getting started
 
LoadUI web performance testing tool
LoadUI web performance testing toolLoadUI web performance testing tool
LoadUI web performance testing tool
 
Visual studio performance testing quick reference guide 3 6
Visual studio performance testing quick reference guide 3 6Visual studio performance testing quick reference guide 3 6
Visual studio performance testing quick reference guide 3 6
 

Destacado

Pre production power point media
Pre production power point mediaPre production power point media
Pre production power point mediaecsmedia
 
guida sommario indice windows 7 reti sicurezza tecniche avanzate
guida sommario indice windows 7 reti sicurezza tecniche avanzateguida sommario indice windows 7 reti sicurezza tecniche avanzate
guida sommario indice windows 7 reti sicurezza tecniche avanzateLibro Windows 7
 
Petunjuk teknis pp 46 th 2011 ttg skp
Petunjuk teknis pp 46 th 2011 ttg skpPetunjuk teknis pp 46 th 2011 ttg skp
Petunjuk teknis pp 46 th 2011 ttg skpSaeful Hakim
 
Css命名规范(英文命名)
Css命名规范(英文命名)Css命名规范(英文命名)
Css命名规范(英文命名)ywt0803
 
Discovery study detailed results 2014 december
Discovery study detailed results 2014 decemberDiscovery study detailed results 2014 december
Discovery study detailed results 2014 decemberMichael Levine-Clark
 
popalicious presentation
popalicious presentationpopalicious presentation
popalicious presentationEclipsedestiny
 
Pintakilta kysymykset
Pintakilta kysymyksetPintakilta kysymykset
Pintakilta kysymyksetHannu Kuusela
 
Virtual Economics
Virtual EconomicsVirtual Economics
Virtual EconomicsSimon Jones
 
A successful project sharing
A successful project sharingA successful project sharing
A successful project sharingPhuoc Nguyen
 
Media presentation
Media presentationMedia presentation
Media presentationecsmedia
 
Hardware Components
Hardware  ComponentsHardware  Components
Hardware ComponentsVero Castro
 
Presentation1 updated1
Presentation1 updated1Presentation1 updated1
Presentation1 updated1Anas Edreesi
 
118230 LEATHER BLOCKED BACKPACK
118230 LEATHER BLOCKED BACKPACK118230 LEATHER BLOCKED BACKPACK
118230 LEATHER BLOCKED BACKPACKJing Wu
 
Demand-Driven Acquisitions, Part 1
Demand-Driven Acquisitions, Part 1Demand-Driven Acquisitions, Part 1
Demand-Driven Acquisitions, Part 1Michael Levine-Clark
 

Destacado (20)

Pre production power point media
Pre production power point mediaPre production power point media
Pre production power point media
 
guida sommario indice windows 7 reti sicurezza tecniche avanzate
guida sommario indice windows 7 reti sicurezza tecniche avanzateguida sommario indice windows 7 reti sicurezza tecniche avanzate
guida sommario indice windows 7 reti sicurezza tecniche avanzate
 
Petunjuk teknis pp 46 th 2011 ttg skp
Petunjuk teknis pp 46 th 2011 ttg skpPetunjuk teknis pp 46 th 2011 ttg skp
Petunjuk teknis pp 46 th 2011 ttg skp
 
Css命名规范(英文命名)
Css命名规范(英文命名)Css命名规范(英文命名)
Css命名规范(英文命名)
 
A Widget Guide
A Widget GuideA Widget Guide
A Widget Guide
 
Discovery study detailed results 2014 december
Discovery study detailed results 2014 decemberDiscovery study detailed results 2014 december
Discovery study detailed results 2014 december
 
Personality traits
Personality traitsPersonality traits
Personality traits
 
Vinnytsia region - promotional brochure (RU) 2010
Vinnytsia region - promotional brochure (RU) 2010Vinnytsia region - promotional brochure (RU) 2010
Vinnytsia region - promotional brochure (RU) 2010
 
popalicious presentation
popalicious presentationpopalicious presentation
popalicious presentation
 
Pintakilta kysymykset
Pintakilta kysymyksetPintakilta kysymykset
Pintakilta kysymykset
 
ALCTS PDA Preconference 2011
ALCTS PDA Preconference 2011ALCTS PDA Preconference 2011
ALCTS PDA Preconference 2011
 
Virtual Economics
Virtual EconomicsVirtual Economics
Virtual Economics
 
A successful project sharing
A successful project sharingA successful project sharing
A successful project sharing
 
Media presentation
Media presentationMedia presentation
Media presentation
 
Hardware Components
Hardware  ComponentsHardware  Components
Hardware Components
 
Presentation1 updated1
Presentation1 updated1Presentation1 updated1
Presentation1 updated1
 
118230 LEATHER BLOCKED BACKPACK
118230 LEATHER BLOCKED BACKPACK118230 LEATHER BLOCKED BACKPACK
118230 LEATHER BLOCKED BACKPACK
 
If it's not broken, why fix it
If it's not broken, why fix it If it's not broken, why fix it
If it's not broken, why fix it
 
Jolantas' Camino de Santiago
Jolantas' Camino de SantiagoJolantas' Camino de Santiago
Jolantas' Camino de Santiago
 
Demand-Driven Acquisitions, Part 1
Demand-Driven Acquisitions, Part 1Demand-Driven Acquisitions, Part 1
Demand-Driven Acquisitions, Part 1
 

Similar a Webservice performance testing with SoapUI

Alm qc 11_training
Alm qc 11_trainingAlm qc 11_training
Alm qc 11_trainingjayant25
 
Multiple Dimensions of Load Testing
Multiple Dimensions of Load TestingMultiple Dimensions of Load Testing
Multiple Dimensions of Load TestingAlexander Podelko
 
Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designMaitree Patel
 
Performance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance TestingPerformance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance TestingKostCare
 
Performance Testing with Tsung
Performance Testing with TsungPerformance Testing with Tsung
Performance Testing with TsungOpsta
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeterBhojan Rajan
 
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfFarjanaParvin5
 
Workshop: Introduction to Performance and Load Testing with k6
Workshop: Introduction to Performance and Load Testing with k6Workshop: Introduction to Performance and Load Testing with k6
Workshop: Introduction to Performance and Load Testing with k6Applitools
 
Load Test Drupal Site Using JMeter and Amazon AWS
Load Test Drupal Site Using JMeter and Amazon AWSLoad Test Drupal Site Using JMeter and Amazon AWS
Load Test Drupal Site Using JMeter and Amazon AWSVladimir Ilic
 
Performance testing
Performance testingPerformance testing
Performance testingJyoti Babbar
 
Neotys PAC - Bruno Da Silva
Neotys PAC - Bruno Da SilvaNeotys PAC - Bruno Da Silva
Neotys PAC - Bruno Da SilvaNeotys_Partner
 
A Software Testing Intro
A Software Testing IntroA Software Testing Intro
A Software Testing IntroEvozon Test Lab
 
Lect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptxLect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptxabdullahsaddique2
 
Software testing part
Software testing partSoftware testing part
Software testing partPreeti Mishra
 

Similar a Webservice performance testing with SoapUI (20)

Load Testing.pdf
Load Testing.pdfLoad Testing.pdf
Load Testing.pdf
 
Alm qc 11_training
Alm qc 11_trainingAlm qc 11_training
Alm qc 11_training
 
Multiple Dimensions of Load Testing
Multiple Dimensions of Load TestingMultiple Dimensions of Load Testing
Multiple Dimensions of Load Testing
 
Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit design
 
Performance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance TestingPerformance Testing And Its Type | Benefits Of Performance Testing
Performance Testing And Its Type | Benefits Of Performance Testing
 
Performance Testing with Tsung
Performance Testing with TsungPerformance Testing with Tsung
Performance Testing with Tsung
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
 
Class9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdfClass9_SW_Testing_Strategies.pdf
Class9_SW_Testing_Strategies.pdf
 
SOFTWARE TESTING W4_watermark.pdf
SOFTWARE TESTING W4_watermark.pdfSOFTWARE TESTING W4_watermark.pdf
SOFTWARE TESTING W4_watermark.pdf
 
Gd test kieu_test
Gd test kieu_testGd test kieu_test
Gd test kieu_test
 
Workshop: Introduction to Performance and Load Testing with k6
Workshop: Introduction to Performance and Load Testing with k6Workshop: Introduction to Performance and Load Testing with k6
Workshop: Introduction to Performance and Load Testing with k6
 
JMeter
JMeterJMeter
JMeter
 
Load Test Drupal Site Using JMeter and Amazon AWS
Load Test Drupal Site Using JMeter and Amazon AWSLoad Test Drupal Site Using JMeter and Amazon AWS
Load Test Drupal Site Using JMeter and Amazon AWS
 
Performance testing
Performance testingPerformance testing
Performance testing
 
Neotys PAC - Bruno Da Silva
Neotys PAC - Bruno Da SilvaNeotys PAC - Bruno Da Silva
Neotys PAC - Bruno Da Silva
 
A Software Testing Intro
A Software Testing IntroA Software Testing Intro
A Software Testing Intro
 
Test planning
Test planningTest planning
Test planning
 
Lect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptxLect-6-Generic testing types.pptx
Lect-6-Generic testing types.pptx
 
G53 qat09pdf6up
G53 qat09pdf6upG53 qat09pdf6up
G53 qat09pdf6up
 
Software testing part
Software testing partSoftware testing part
Software testing part
 

Más de Phuoc Nguyen

Hiberbate Framework
Hiberbate FrameworkHiberbate Framework
Hiberbate FrameworkPhuoc Nguyen
 
Introduction to Hibernate Framework
Introduction to Hibernate FrameworkIntroduction to Hibernate Framework
Introduction to Hibernate FrameworkPhuoc Nguyen
 
Android location sensor programming
Android location sensor programmingAndroid location sensor programming
Android location sensor programmingPhuoc Nguyen
 
Android Nâng cao-Bài 6-Multi theme-adb tool-jUnit
Android Nâng cao-Bài 6-Multi theme-adb tool-jUnitAndroid Nâng cao-Bài 6-Multi theme-adb tool-jUnit
Android Nâng cao-Bài 6-Multi theme-adb tool-jUnitPhuoc Nguyen
 
Android Nâng cao-Bài 9-Debug in Android Application Development
Android Nâng cao-Bài 9-Debug in Android Application Development Android Nâng cao-Bài 9-Debug in Android Application Development
Android Nâng cao-Bài 9-Debug in Android Application Development Phuoc Nguyen
 
Android Nâng cao-Bài 8-JSON & XML Parsing
Android Nâng cao-Bài 8-JSON & XML ParsingAndroid Nâng cao-Bài 8-JSON & XML Parsing
Android Nâng cao-Bài 8-JSON & XML ParsingPhuoc Nguyen
 
Android Nâng cao-Bài 5:Notification Multiresolution Multilanguage
Android Nâng cao-Bài 5:Notification Multiresolution MultilanguageAndroid Nâng cao-Bài 5:Notification Multiresolution Multilanguage
Android Nâng cao-Bài 5:Notification Multiresolution MultilanguagePhuoc Nguyen
 
Android Nâng cao-Bài 4: Content Provider
Android Nâng cao-Bài 4: Content ProviderAndroid Nâng cao-Bài 4: Content Provider
Android Nâng cao-Bài 4: Content ProviderPhuoc Nguyen
 
Android Nâng cao-Bài 3: Broadcast Receiver
Android Nâng cao-Bài 3: Broadcast ReceiverAndroid Nâng cao-Bài 3: Broadcast Receiver
Android Nâng cao-Bài 3: Broadcast ReceiverPhuoc Nguyen
 
Web application security test tools
Web application security test toolsWeb application security test tools
Web application security test toolsPhuoc Nguyen
 
Buồn vui nghề IT (Pros & cons of IT Career)
Buồn vui nghề IT (Pros & cons of IT Career)Buồn vui nghề IT (Pros & cons of IT Career)
Buồn vui nghề IT (Pros & cons of IT Career)Phuoc Nguyen
 

Más de Phuoc Nguyen (12)

Lanh dao va TPP
Lanh dao va TPPLanh dao va TPP
Lanh dao va TPP
 
Hiberbate Framework
Hiberbate FrameworkHiberbate Framework
Hiberbate Framework
 
Introduction to Hibernate Framework
Introduction to Hibernate FrameworkIntroduction to Hibernate Framework
Introduction to Hibernate Framework
 
Android location sensor programming
Android location sensor programmingAndroid location sensor programming
Android location sensor programming
 
Android Nâng cao-Bài 6-Multi theme-adb tool-jUnit
Android Nâng cao-Bài 6-Multi theme-adb tool-jUnitAndroid Nâng cao-Bài 6-Multi theme-adb tool-jUnit
Android Nâng cao-Bài 6-Multi theme-adb tool-jUnit
 
Android Nâng cao-Bài 9-Debug in Android Application Development
Android Nâng cao-Bài 9-Debug in Android Application Development Android Nâng cao-Bài 9-Debug in Android Application Development
Android Nâng cao-Bài 9-Debug in Android Application Development
 
Android Nâng cao-Bài 8-JSON & XML Parsing
Android Nâng cao-Bài 8-JSON & XML ParsingAndroid Nâng cao-Bài 8-JSON & XML Parsing
Android Nâng cao-Bài 8-JSON & XML Parsing
 
Android Nâng cao-Bài 5:Notification Multiresolution Multilanguage
Android Nâng cao-Bài 5:Notification Multiresolution MultilanguageAndroid Nâng cao-Bài 5:Notification Multiresolution Multilanguage
Android Nâng cao-Bài 5:Notification Multiresolution Multilanguage
 
Android Nâng cao-Bài 4: Content Provider
Android Nâng cao-Bài 4: Content ProviderAndroid Nâng cao-Bài 4: Content Provider
Android Nâng cao-Bài 4: Content Provider
 
Android Nâng cao-Bài 3: Broadcast Receiver
Android Nâng cao-Bài 3: Broadcast ReceiverAndroid Nâng cao-Bài 3: Broadcast Receiver
Android Nâng cao-Bài 3: Broadcast Receiver
 
Web application security test tools
Web application security test toolsWeb application security test tools
Web application security test tools
 
Buồn vui nghề IT (Pros & cons of IT Career)
Buồn vui nghề IT (Pros & cons of IT Career)Buồn vui nghề IT (Pros & cons of IT Career)
Buồn vui nghề IT (Pros & cons of IT Career)
 

Último

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 future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
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
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
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
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
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
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 

Último (20)

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 future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
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...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Webservice performance testing with SoapUI

  • 1. Webservice Performance Testing with SoapUI (LoadUI) Nguyen Huu Phuoc, MEng. HCMC, 11/2013
  • 2. Agenda • What is Performance Testing? • Performance Testing Kinds • Using LoadUI for Performance Testing • The advanced topics
  • 3. Performance Testing • Creating or simulating artificially load. • Measuring how the system handle the load.
  • 4. Performance Testing Kinds (1/2) • Baseline Testing – – • Load: Expected or normal load Goal: Find the metrics under normal load. Load Testing – – • Load: High load. Goal: Find the metrics under high load. Stress Testing – Load: High load. – Goal: Find the system breaking point
  • 5. Performance Testing Kinds (2/2) • Soak Testing – – Time: Long period. – • Load: normal load or high load. Goal: Find unwanted behavior emerges over time . Scalability Testing – Load: Like Load test but increase the complexity or size of request. – Goal: Find the metrics under high volumes of data
  • 6. Using LoadUI For LoadTest • What is LoadUI? • Quick Start: – Create a new LoadTest – Run the LoadTest – Add Assertions to a LoadTest
  • 7. Using LoadUI For LoadTest • LoadUI: – LoadUI is a free load testing tool which is integrate into SoapUI – LoadUI provides the following features: • Distributed Load Testing: Allow user to distribute Load Tests to multiple LoadUI agents. • Run multiple Test Cases simultaneously. • Long-run tests. • Interactive load testing: Change parameter real time.
  • 8. Using LoadUI For LoadTest • Create a new LoadTest: – In Navigator > Right click on a Test case >New Loa dTest – In New LoadTest dialog, enter your LoadTest nam e > Click on OK button.
  • 9. Using LoadUI For LoadTest • Run the LoadTest – Modify pre-configured LoadTest with the desired values. – Run the LoadTest. – We will see the statistic table during the LoadTest running.
  • 10. Using LoadUI For LoadTest • Add Assertions to a LoadTest: – In the LoadTest editor, select “LoadTest Assertion” ta b at the bottom of the editor. – Click LoadTest Assertion button in the LoadTest Assert ion menu bar. – In the Add Assertion dialog, select Step Maximum and click OK button. – In the TestStep Max Assertion window, modify anythi ng you want and click OK button. – The assertion is added successfully. – Run test again.
  • 11. The Advanced Topics • Test Strategies. • Available Assertions. • Export Data & Statistics • Scripting.
  • 12. Test Strategies • • • Simple Strategy  Baseline, Load and Soak Testing. Fixed-Rate Strategy  Guarantee the number of executions within a certain time. Variable Load Strategies: – Variance: varies the number of threads over time in a “sawtooth” manor. – Burst: Recovery testing, bursting thread in short duration and do baseline testing after that. – Thread: The linearly change in number of threads. – Grid: The relative change in number of threads. – Script: The number of thread is scripted.
  • 13. Available Assertions • • • • • Step Average: Asserts that the average value d oesn't exceed the specified limit. Step TPS: Asserts the TPS (transaction per sec ond) value Step Minimum: Asserts the max value Step Status: Check that the underlying executi on status is successful. Max Errors: Check that the number of failures.
  • 14. Export Data & Statistics • Export statistics to CSV. • Export Statistics Diagrams to CSV. • Export Data Continuously: Using Statistic Log
  • 15. Scripting • LoadUI allow user make the following TestCas e-specific scripting hooks: – Setup and TearDown scripts – Access to LoadTest related objects in a TestCase sc ript – The objects we can use in the scripts: • context • log • loadTestRunner
  • 16. THANK YOU ! Nguyen Huu Phuoc, MEng. Homepage: http://hữuphướcnguyễn.vn http://phuocnh.nghelong.com