This document discusses the importance of performance testing web applications and services. It explains that performance tests help locate issues before public release, define system limits, and find bottlenecks. The document then defines different types of performance tests, including load, stress, spike, and endurance tests. It provides examples of tools for performance testing, such as Apache JMeter, and how to analyze test results. Overall, the document makes a case for regularly performance testing software to ensure expected quality and response times.
My final talk on the Appium mobile grid and getting started.
- Benefits of parallelization.
- The pros and cons of both cloud services and local setup.
- Getting connected devices information.
- Setting up Grid and Appium servers.
- Getting critical metadata to insert into Allure.
- The benefits of distributed tests vs parallel and when best to use them.
- Setup examples for Android and iOS.
- Leveraging cloud services by sending only selected tests to the cloud.
- Reduce service costs.
- Expose your app to a greater amount of devices and os's.
- A demo of Wunderlist's local grid.
Guide To Effective Cross Browser TestingDaniel Herken
In this webinar you will learn how to plan and execute time effective cross browser tests.
More awesome webinars can be found here:
http://www.browseemall.com/Resources/Webinars
Practical Tips & Tricks for Selenium Test AutomationSauce Labs
Have unanswered Selenium questions? Want to learn how to use Selenium like a Pro? Join Dave Haeffner - author of The Selenium Guidebook - as he steps through the best and most useful tips & tricks from his weekly Selenium tip newsletter (Elemental Selenium).
My final talk on the Appium mobile grid and getting started.
- Benefits of parallelization.
- The pros and cons of both cloud services and local setup.
- Getting connected devices information.
- Setting up Grid and Appium servers.
- Getting critical metadata to insert into Allure.
- The benefits of distributed tests vs parallel and when best to use them.
- Setup examples for Android and iOS.
- Leveraging cloud services by sending only selected tests to the cloud.
- Reduce service costs.
- Expose your app to a greater amount of devices and os's.
- A demo of Wunderlist's local grid.
Guide To Effective Cross Browser TestingDaniel Herken
In this webinar you will learn how to plan and execute time effective cross browser tests.
More awesome webinars can be found here:
http://www.browseemall.com/Resources/Webinars
Practical Tips & Tricks for Selenium Test AutomationSauce Labs
Have unanswered Selenium questions? Want to learn how to use Selenium like a Pro? Join Dave Haeffner - author of The Selenium Guidebook - as he steps through the best and most useful tips & tricks from his weekly Selenium tip newsletter (Elemental Selenium).
Mastering Test Automation: How to Use Selenium Successfully Applitools
** WATCH FULL WEBINAR RECORDING HERE: https://youtu.be/06H-6hjyyvI **
What is Selenium? Why should you use it? And how do you use it successfully?
In this webinar, Automation expert Dave Haeffner answers these questions as he steps through the why, how, and what of Selenium.
Dave also discusses how to start from nothing and build out a well factored, maintainable, resilient, fast and scalable set of tests. These tests will not only work well, but across all of the browsers you care about, while exercising relevant functionality that matters to your business.
Watch this webinar and learn how to:
* Decompose an existing web application to identify what to test
* Pick the best language for you and your team
* Write maintainable and reusable Selenium tests that will be cross-browser compatible and performant
* Dramatically improve your test coverage with automated visual testing
* Build an integrated feedback loop to automate test runs and find issues fast
Main instruments used for Web UI test automation.
Drivers: Selenium WebDriver, Sikuli X.
Frameworks: PageFactory, TestNG.
Other tools: Apache Ant, Jenkins CI.
The OWASP Zed Attack Proxy (ZAP) is one of the world’s most popular free security tools and is actively maintained by hundreds of international volunteers. It can help you automatically find security vulnerabilities in your web applications while you are developing and testing your applications
Session on Selenium 4 : What’s coming our way? by Hitesh PrajapatiAgile Testing Alliance
Hitesh Prajapati delivered a session on "Selenium 4 : What’s coming our way?" at #SeleniumSummit21
With a strong academic history, Hitesh has been associated with the test automation industry for nearly 5 years. He has ascended the ladder of knowledge at a very faster pace within such a short span of time.
To know more about #SeleniumSummit21 please check : https://seleniumsummit21.agiletestingalliance.org/
A brief overview of the benefits and limitations of automated testing including a hands-on introduction to Selenium IDE Firefox add-on and Selenium WebDriver framework.
Presented at ISB Software's Christmas Seminar in December 2016 (http://www.isb.com.mt/)
Let's make this test suite run faster! SoftShake 2010David Gageot
The more the tests, the longer the build. And when the build gets longer, the bugs take longer to fix, the features take longer to deploy. Every build should be minutes long, all tests included.
Now lets say, our test suite takes much longer than that. How to reduce its duration? Where to start?
Making tests become useless, converting functional tests to unit tests, running tests in parallel, building projects in parallel, doing slow tasks only once, writing fast DBMS tests... Let's share dozens of tips to fasten you test suite A LOT.
Анна Горб — преподаватель Компьютерной школы Hillel, Scrum Master/Team Lead в Luxoft
Приобщилась к тестированию в 2007 году в Днепропетровской компании Aquasoft.
За 7 месяцев сделала головокружительную карьеру до QA Lead небольшой группы тестирования.
С 2010 года работает в компании Luxoft. На разных проектах, банковских и не очень.
С 2013 году аттестована как тренер. Любит делиться с людьми своими знаниями и опытом.
Ведет тренинги как по прикладному тестированию, так и по управлению тестированием.
С 2015 года сертифицированный Scrum Master.
Коллекционирует желтеньких резиновых уточек.
Mastering Test Automation: How to Use Selenium Successfully Applitools
** WATCH FULL WEBINAR RECORDING HERE: https://youtu.be/06H-6hjyyvI **
What is Selenium? Why should you use it? And how do you use it successfully?
In this webinar, Automation expert Dave Haeffner answers these questions as he steps through the why, how, and what of Selenium.
Dave also discusses how to start from nothing and build out a well factored, maintainable, resilient, fast and scalable set of tests. These tests will not only work well, but across all of the browsers you care about, while exercising relevant functionality that matters to your business.
Watch this webinar and learn how to:
* Decompose an existing web application to identify what to test
* Pick the best language for you and your team
* Write maintainable and reusable Selenium tests that will be cross-browser compatible and performant
* Dramatically improve your test coverage with automated visual testing
* Build an integrated feedback loop to automate test runs and find issues fast
Main instruments used for Web UI test automation.
Drivers: Selenium WebDriver, Sikuli X.
Frameworks: PageFactory, TestNG.
Other tools: Apache Ant, Jenkins CI.
The OWASP Zed Attack Proxy (ZAP) is one of the world’s most popular free security tools and is actively maintained by hundreds of international volunteers. It can help you automatically find security vulnerabilities in your web applications while you are developing and testing your applications
Session on Selenium 4 : What’s coming our way? by Hitesh PrajapatiAgile Testing Alliance
Hitesh Prajapati delivered a session on "Selenium 4 : What’s coming our way?" at #SeleniumSummit21
With a strong academic history, Hitesh has been associated with the test automation industry for nearly 5 years. He has ascended the ladder of knowledge at a very faster pace within such a short span of time.
To know more about #SeleniumSummit21 please check : https://seleniumsummit21.agiletestingalliance.org/
A brief overview of the benefits and limitations of automated testing including a hands-on introduction to Selenium IDE Firefox add-on and Selenium WebDriver framework.
Presented at ISB Software's Christmas Seminar in December 2016 (http://www.isb.com.mt/)
Let's make this test suite run faster! SoftShake 2010David Gageot
The more the tests, the longer the build. And when the build gets longer, the bugs take longer to fix, the features take longer to deploy. Every build should be minutes long, all tests included.
Now lets say, our test suite takes much longer than that. How to reduce its duration? Where to start?
Making tests become useless, converting functional tests to unit tests, running tests in parallel, building projects in parallel, doing slow tasks only once, writing fast DBMS tests... Let's share dozens of tips to fasten you test suite A LOT.
Анна Горб — преподаватель Компьютерной школы Hillel, Scrum Master/Team Lead в Luxoft
Приобщилась к тестированию в 2007 году в Днепропетровской компании Aquasoft.
За 7 месяцев сделала головокружительную карьеру до QA Lead небольшой группы тестирования.
С 2010 года работает в компании Luxoft. На разных проектах, банковских и не очень.
С 2013 году аттестована как тренер. Любит делиться с людьми своими знаниями и опытом.
Ведет тренинги как по прикладному тестированию, так и по управлению тестированием.
С 2015 года сертифицированный Scrum Master.
Коллекционирует желтеньких резиновых уточек.
Slides from my 4-hour workshop on Client-Side Performance Testing conducted at Phoenix, AZ in STPCon 2017 (March).
Workshop Takeaways:
Understand difference between is Performance Testing and Performance Engineering.
Hand’s on experience of some open-source tools to monitor, measure and automate Client-side Performance Testing.
Examples / code walk-through of some ways to automate Client-side Performance Testing.
See blog for more details - https://essenceoftesting.blogspot.com/2017/03/workshop-client-side-performance.html
Zagat.com Case Study (DrupalCon Denver 2012)Phase2
A look behind the scenes of the 2011 Drupal relaunch of Zagat.com. Includes interactive charting with RaphaelJS and multi-layered performance optimization techniques.
Presented by Steven Merrill and Brian McMurray.
Stating the obvious - 121 Test Automation Day, Dublin, 2018Giulio Vian
121 Test Automation Day
Dublin, May 23rd 2018
https://1point21gws.com/testingsummit/dublin/
Stating the obvious: adding performance and scalability tests to a Continuous Integration pipeline
Performance and scalability are core quality attributes of any system; unit testing, integration testing, UI testing, they all focus on functional requirements. Good performances mean happy users, less resource usage which translates to lower running costs (power, cloud bills) and customer retention.
In this session we will recall some basic concept of performance testing and demonstrate some of the many tools available in the cloud.
Continuous Profiling in Production: What, Why and HowSadiq Jaffer
Everyone wants to understand what their application is really doing in production, but this information is normally invisible to developers. Profilers tell you what code your application is running but few developers profile and mostly on their development environments. Thankfully production profiling is now a practical reality that can help you solve and avoid performance problems.
Profiling in development can be problematic because it’s rare that you have a realistic workload or performance test for your system. Even if you’ve got accurate performance tests maintaining these and validating that they represent production systems is hugely time consuming and hard. Not only that but often the hardware and operating system that you run in production are different from your development environment.
This pragmatic talk will help you understand the ins and outs of profiling in a production system. You’ll learn about different techniques and approaches that help you understand what’s really happening with your system. This helps you to solve new performance problems, regressions and undertake capacity planning exercises.
Find out how profiling in production can uncover performance bottlenecks, aid scalability and reduce your costs.
Slides from the workshop I conducted on "Client-side Performance Testing".
Abstract of the workshop:
In this workshop, we will see the different dimensions of Performance Testing and Performance Engineering, and focus on Client-side Performance Testing.
Before we get to doing some Client-side Performance Testing activities, we will first understand how to look at client-side performance, and putting that in the context of the product under test. We will see, using a case study, the impact of caching on performance, the good & the bad! We will then experiment with some tools like WebPageTest and Page Speed to understand how to measure client-side performance.
Lastly - just understanding the performance of the product is not sufficient. We will look at how to automate the testing for this activity - using WebPageTest (private instance setup), and experiment with yslow - as a low-cost, programatic alternative to WebPageTest.
It's a very basic introduction of Load Runner for beginners, i explored it at my own, prepared slides & shared it with my colleagues.
What is Load Runner & why we need Performance testing etc.
Enjoy :)
Obecnie jedną z najpopularniejszych metodyk zwinnych jest Scrum, który pozwala w sposób iteracyjny i przyrostowy tworzyć oprogramowanie. Na środowisko Scrumowe składają się trzy role – Development Team, Scrum Master oraz Product Owner. Gdzie w tym wszystkim znajduje się tester? Czy jest on nadal potrzebny, czy może stanowisko to jest już zbędne? Jak powinno wyglądać testowanie w Scrumie?
W swoim wystąpieniu Marcin postara się dać odpowiedź na powyższe pytania oraz bliżej zaprezentuje pracę w Scrumie z punktu widzenia testera oprogramowania. Przedstawione zostaną najlepsze praktyki, które pozwolą podnieść jakość produktów tworzonych w środowisku Scrumowym. Dowiecie się również, jakie błędy i pułapki czyhają na osoby pracujące w Scrumie.
During the presentation, I will walk you through popular tools that can help with starting testing API services. You will have the opportunity to see live testing of real application using GUI based and code based solutions.
Have you tried to test solutions created on platform like Salesforce Marketing Cloud? Do you know how hard is to combine end to end testing in the software like Adobe Campaign? We didn’t know and we want to share our pains which we encountered during creation of our tool.
Głównym wyzwaniem w walidacji oprogramowania jest zaprojektowanie testów, tak aby obejmowały one wszystkie wymagania. Prezentacja zawiera opis wypracowanych metod, które znacznie poprawiły proces projektowania testów w zespole walidacji, zmniejszając ilość pracy, a jednocześnie zwiększając wydajność i jakość zaprojektowanych testów.
Przejdziemy przez wizję testowania w tradycyjnych metodach wytwarzania oprogramowania przez pierwsze próby podejścia do testowania w metodach zwinnych i dojdziemy do tego jak to powinno wyglądać w idealnym świecie. Dowiecie się także jak to się dzieje, że testerzy potrafią lepiej połączyć części produktu ze sobą i w związku z tym wiedzą więcej. Na koniec, krótka opowieść jak wygląda codzienna praca w produkcie przeznaczonym do automatycznego testowania.
Przyjrzyjmy się w jaki sposób automatyzowane są webowe testy UI w produkcie Evolve Electronic Document Management. Przestawię strukturę frameworka testowego opartego o Selenium i zintegrowanego z Jenkinsem oraz TestRailem. Opowiem o trosce o stabilność testów, maksymalizowanie korzyści z nich płynących oraz o nietypowych problemach i sposobach ich rozwiązywania. Prezentacja zawierać będzie również konkretne przykłady.
Czy zastanawialiście się kiedyś dlaczego mimo włożonego w tworzenie automatyzacji wysiłku, testy są niestabilne i ciężkie w utrzymaniu? W mojej prezentacji postaram się odpowiedzieć na pytanie co i jak automatyzować, żeby wyciągnąć z testów jak najwięcej wartości dodanej. Opowiem o negatywnych i pozytywnych przykładach automatyzacji oraz zaprezentuje rozwiązanie funkcjonujące w projekcie Smart, zbudowane w oparciu o bibliotekę RestAssured.
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
Are you looking to streamline your workflows and boost your projects’ efficiency? Do you find yourself searching for ways to add flexibility and control over your FME workflows? If so, you’re in the right place.
Join us for an insightful dive into the world of FME parameters, a critical element in optimizing workflow efficiency. This webinar marks the beginning of our three-part “Essentials of Automation” series. This first webinar is designed to equip you with the knowledge and skills to utilize parameters effectively: enhancing the flexibility, maintainability, and user control of your FME projects.
Here’s what you’ll gain:
- Essentials of FME Parameters: Understand the pivotal role of parameters, including Reader/Writer, Transformer, User, and FME Flow categories. Discover how they are the key to unlocking automation and optimization within your workflows.
- Practical Applications in FME Form: Delve into key user parameter types including choice, connections, and file URLs. Allow users to control how a workflow runs, making your workflows more reusable. Learn to import values and deliver the best user experience for your workflows while enhancing accuracy.
- Optimization Strategies in FME Flow: Explore the creation and strategic deployment of parameters in FME Flow, including the use of deployment and geometry parameters, to maximize workflow efficiency.
- Pro Tips for Success: Gain insights on parameterizing connections and leveraging new features like Conditional Visibility for clarity and simplicity.
We’ll wrap up with a glimpse into future webinars, followed by a Q&A session to address your specific questions surrounding this topic.
Don’t miss this opportunity to elevate your FME expertise and drive your projects to new heights of efficiency.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualityInflectra
In this insightful webinar, Inflectra explores how artificial intelligence (AI) is transforming software development and testing. Discover how AI-powered tools are revolutionizing every stage of the software development lifecycle (SDLC), from design and prototyping to testing, deployment, and monitoring.
Learn about:
• The Future of Testing: How AI is shifting testing towards verification, analysis, and higher-level skills, while reducing repetitive tasks.
• Test Automation: How AI-powered test case generation, optimization, and self-healing tests are making testing more efficient and effective.
• Visual Testing: Explore the emerging capabilities of AI in visual testing and how it's set to revolutionize UI verification.
• Inflectra's AI Solutions: See demonstrations of Inflectra's cutting-edge AI tools like the ChatGPT plugin and Azure Open AI platform, designed to streamline your testing process.
Whether you're a developer, tester, or QA professional, this webinar will give you valuable insights into how AI is shaping the future of software delivery.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
Here is something new! In our next Connector Corner webinar, we will demonstrate how you can use a single workflow to:
Create a campaign using Mailchimp with merge tags/fields
Send an interactive Slack channel message (using buttons)
Have the message received by managers and peers along with a test email for review
But there’s more:
In a second workflow supporting the same use case, you’ll see:
Your campaign sent to target colleagues for approval
If the “Approve” button is clicked, a Jira/Zendesk ticket is created for the marketing design team
But—if the “Reject” button is pushed, colleagues will be alerted via Slack message
Join us to learn more about this new, human-in-the-loop capability, brought to you by Integration Service connectors.
And...
Speakers:
Akshay Agnihotri, Product Manager
Charlie Greenberg, Host
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
TGT#19 - 3 seconds or less - Piotr Liss
1. 3 SECONDS OR LESS…
PERFORMANCE TESTS INTRODUCTION
AUTHOR: PIOTR LISS
2. WHY TEST PERFORMANCE?
Why NOT to test
It will work without it
Why YES
Locate performance downgrade before release
Define the limits
Find our bottleneck before user will
On commercial sites – clients loss
On internal sites – users frustration
DDoS attack simulation
3. WHY TEST PERFORMANCE?
GOOGLE RANKING
Source: http://www.monitis.com/blog/website-performance-its-impact-on-google-ranking/
4. WHY TEST PERFORMANCE?
3 SECONDS OR LESS
Source: https://www.soasta.com/blog/google-mobile-web-performance-study/
6. WHY TEST PERFORMANCE?
INCREASING SIZE OF AVERAGE PAGE
Source: http://httparchive.org/trends.php?s=All&minlabel=Nov+15+2010&maxlabel=Feb+1+2018
7. WHAT ARE PERFORMANCE TESTS?
DEFINITION
Test which result generates measurable value
regarding efficiency of testing product.
response time
number of users
request per
second
bits per second
speed
stability
reliability
capacity
application
web page
service
database
8. WHAT ARE PERFORMANCE TESTS?
HOW TO TEST
Requirements – examples:
can handle 1000 request per hour
response time not bigger than 2000ms with 100 concurrent users
can handle 6 hours with active 50 concurrent users
after spike load application returns to previous state
Parameters:
number of active users (connections)
response time
capacity (maximum load)
requests per second
9. WHAT ARE PERFORMANCE TESTS?
LOAD TEST
How application behave with predictable and safe load (good candidate for Continuous Integration process
and response time measurement)
0
10
20
30
40
50
0:00 1:00 2:00 3:00 4:00 5:00 6:00 7:00 8:00 9:00 10:00 11:00 12:00 13:00 14:00 15:00
Users
Time
LOAD TEST
10. WHAT ARE PERFORMANCE TESTS?
STRESS TEST
Usable to define border values (good test to define capacity and how infrastructure behave after crash)
0
10
20
30
40
50
60
0:00 1:00 2:00 3:00 4:00 5:00 6:00 7:00 8:00 9:00 10:00
Users
Time
STRESS TEST
11. WHAT ARE PERFORMANCE TESTS?
SPIKE TEST
Short and extremely high load to verify do application return to its before test state
0
10
20
30
40
50
60
0:00 1:00 2:00 3:00 4:00 5:00
Users
Time
SPIKE TEST
12. WHAT ARE PERFORMANCE TESTS?
SOAK/ENDURANCE TEST
Few hours load tests to verify does application on stable load will not lose its usability from beginning
(Memory Leak)
0
10
20
30
40
50
0:01:00 0:30:00 0:59:00 1:28:00 1:57:00 2:26:00 2:55:00 3:24:00 3:53:00
Users
Time
ENDURANCE TEST
13. HOW TESTING TOOL WORKS?
Testing tool
emulates user
story scenario
repeating it X
times during
Y seconds.
14. HOW TESTING TOOL WORKS?
Eliminate any unrelated with tested product element:
no User Interface if it’s not generated on our application (e.g. no web browser)
eliminate external application on test environment (e.g. in place of external authorization proxy server make a
plug that will always emulate same result)
Make as real as possible:
Think time
Cache as a browser
Embedded resources
Stable increasing load
Cookies
Different load regions (if possible)
Environment “warm up”
Divide test to steps
15. TOOLS
APACHE JMETER
since: 1998
free license: for all (Apache License Version 2.0)
protocols: web, webservices (SOAP, REST), FTP, Mail, DB,
TCP, OS command line and many more
programming experience: minimal (groovy, beanshell)
requirements: any operating system that runs Java
support: accessible community, keen to help, many
tutorials, trainings, courses, forum topics and discussions
main advantages:
dozens of free useful plugins that extend functionalities (e.g.
additional protocols, visualizations, webdriver)
User-friendly interface
Easy scalability
16. TOOLS
VISUAL STUDIO LOAD TESTS
since: 2010
free license: very limited (requires most expensive VS
version)
protocols: web, webservices (SOAP, REST)
programming experience: minimum-medium (C#, VB)
requirements: any based on Windows
support: official forum and support group, not to many
online tutorials
main advantages:
C# code gives possibility of advance test expansion
Azure integration
easy debugging and recording
17. TOOLS
AZURE PERFORMANCE TESTS
since: 2014?
free license: limited
protocols: web
programming experience: none
requirements: web browser + Visual Studio Team
Services account
support: not needed
main advantages:
free 20000 user-minutes/month tests on on-demand test
machine from desired world region
test import from Visual Studio or JMeter (and partly
Fiddler)
possibility to use own Azure infrastructure (additional
cost)
18. TOOLS
HP LOADRUNNER
since: 1991
free license: community edition (non-commercial)
protocols: web, webservices (SOAP, REST), FTP, Mail, DB,
RDP, SAP and many more
programming experience: medium (ANSI C or few other)
requirements: Windows system with 8 cores and 16GB
memory
support: many tutorials, trainings, courses, forum topics and
discussions
main advantages:
rich reports
integration with many external software (including CI)
good recorder
19. TOOLS
GATLING
since: 2011
free license: almost all (Apache License Version 2.0)
protocols: web, DB, Mail, webservices (REST)
programming experience: medium (DSL)
requirements: any operating system that runs Java
support: many web helpers and forum topics
main advantages:
can generate more load from single machine than other
tools
simple and user-friendly reports
easy to write plugins
21. PERFORMANCE TEST REPORT ANALYSIS
Summary of all filtered test steps with errors,
response time and throughput statistics
APDEX index
APDEX is from 0 to 1 scale value that represents
how many request finished in given time
toleration threshold - our target time
frustration threshold - acceptable maximum time
Helpful to compare results
22. PERFORMANCE TEST REPORT ANALYSIS
Example charts:
Response times over time
Active threads
Bytes sent/receive over time
Hits per second
Latency vs request
Response time percentiles
23. APACHE JMETER
EXAMPLE USAGE - RECORDER
JMeter Recorder
Requires some basic adjustments and web
browser configuration
Recorded records have to verified because
might contains some not related traffic
Other methods:
SAML recorder on any web browser (usually as
plugin)
JMeter request/response analyzys
Fiddler traffic recorder
24. APACHE JMETER
EXAMPLE USAGE – ASSERTIONS
Text response (XPath response)
Site header response
Response time
(not necessary) code response
26. APACHE JMETER
EXAMPLE USAGE – TEST RUN
Verification process – GUI mode
Run test using listeners
Run process – non-GUI mode
Run test using command line
27. APACHE JMETER
EXAMPLE USAGE – IS THAT ALL?
Extraction rules - passing tokens and IDs between requests
External files - e.g. other credential for every iteration
Loops and IFs - e.g. requesting every few milliseconds until page will get certain content
Scripts - e.g. exactly decide in which moment start timer
Continuous Integration - e.g. integration with Jenkins
Distributed environment - slave machines from different regions to generate load
28. PERFORMANCE TESTS PROBLEMS
Asynchronous request and JavaScript code
Increase performance by better code or by environment improvement?
Do performance tester has enough work for full-time contract?
Test environment vs production environment
What to analyze after performance test run?
29. LINKS AND THANKS
Author: Piotr Liss (www.linkedin.com/in/piotrLiss)
Consultant: Darek Kozon (https://www.linkedin.com/in/dkozon/)
Link: Blazemeter (https://www.blazemeter.com/)