SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Load testing using_neoload by kc
Load testing using_neoload by kcLoad testing using_neoload by kc
Load testing using_neoload by kc
krishna chaitanya
 
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
Srimanta Kumar Sahu
 

Tendances (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
 

En vedette

Pre production power point media
Pre production power point mediaPre production power point media
Pre production power point media
ecsmedia
 
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
Saeful Hakim
 
Css命名规范(英文命名)
Css命名规范(英文命名)Css命名规范(英文命名)
Css命名规范(英文命名)
ywt0803
 
popalicious presentation
popalicious presentationpopalicious presentation
popalicious presentation
Eclipsedestiny
 
Pintakilta kysymykset
Pintakilta kysymyksetPintakilta kysymykset
Pintakilta kysymykset
Hannu Kuusela
 
Media presentation
Media presentationMedia presentation
Media presentation
ecsmedia
 
Hardware Components
Hardware  ComponentsHardware  Components
Hardware Components
Vero Castro
 
Presentation1 updated1
Presentation1 updated1Presentation1 updated1
Presentation1 updated1
Anas Edreesi
 
118230 LEATHER BLOCKED BACKPACK
118230 LEATHER BLOCKED BACKPACK118230 LEATHER BLOCKED BACKPACK
118230 LEATHER BLOCKED BACKPACK
Jing Wu
 

En vedette (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
 

Similaire à Webservice performance testing with SoapUI

Alm qc 11_training
Alm qc 11_trainingAlm qc 11_training
Alm qc 11_training
jayant25
 
Performance testing jmeter
Performance testing jmeterPerformance testing jmeter
Performance testing jmeter
Bhojan Rajan
 

Similaire à 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
 

Plus de Phuoc Nguyen

Hiberbate Framework
Hiberbate FrameworkHiberbate Framework
Hiberbate Framework
Phuoc Nguyen
 
Introduction to Hibernate Framework
Introduction to Hibernate FrameworkIntroduction to Hibernate Framework
Introduction to Hibernate Framework
Phuoc 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-jUnit
Phuoc 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 Parsing
Phuoc 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 Multilanguage
Phuoc Nguyen
 

Plus 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)
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 

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