SlideShare une entreprise Scribd logo
1  sur  39
Télécharger pour lire hors ligne
5ESSENTIAL TIPS
Load BeginnersTesting
FOR
We get it.
Software Development is no walk in the park...
It’s not as easy as pie.
Or a piece of cake...
Okay, we’re done with the clichés.Promise.
And adding load testing to the mix (which is highly
recommended to keep users happy with your application),
increases your difficulty level.
“Do I have to?”
Yes. You have to. Fight through the pain,
embrace the struggle...
and load test.
Load Testing:
The process of putting demand on a system or device and measuring
its response. Load Testing is performed to determine a system’s
behavior under both normal and anticipated peak load conditions.
You ready for those 5 essential tips?
Let’s Do It.
1 CALCULATE THE
NUMBER OF USERS
When you load test, you have to determine
the number of users you wish to simulate.
Don’t worry, you don’t have to guess!
Math nerds rejoice!
That’s right...
We’ve got a formula for you.
Number of pages viewed per hour (PPH) –
this figure can be extracted from your Web server’s log file
Number of pages viewed per user (PPU) –
that is to say the number of pages in a representative test case
User duration in minutes (UD)
The calculation we use requires three variables:
*
*
*
# of Virtual Users Required
((PPH/PPU)/60)*UD
The formula looks like this:
Keep in mind, this basic calculation assumes a constant
load over an hour meaning it does not take into account
things like load ramping or traffic spikes, so you’ll need
more virtual users when testing with these conditions.
It’s probably quite obvious that if
application performance is...
bad for a small
number of users,
then it’s no bueno for a
large number of users.
Run a small test first. Once the application performs well with a small number of users, add more!
2 GET OTHERS
INVOLVED
You’re going to need to collaborate and
communicate across three departments.
THE TESTING SIDE THE DEVELOPEMENT SIDE THE OPERATIONS SIDE
“WHAT,WHY?”
Testers may not know much about the application’s code, so a developer
will need to inform the testing team of any changes to the code before
the application undergoes testing. If a person from operations isn’t
involved from the beginning, then testers may not have the analytics of
the application from the production environment. 
Involving all three of these groups will
create a stronger team dynamic that
will result in an accurate depiction of
the application performance.
3 DETERMINE YOUR
TEST CASES
In order to
know what test
cases to implement,
you need to understand
the paths that users are
taking through your application.
Crack open your site analytics, your app analytics,
and the log files from your web server.
Study how users are traversing through the application –
as well as how many there are, where they are coming from
geographically, and the types of browsers and devices they use.
It’s important to put this data in the context of
your application architecture, so that you can
pinpoint bottlenecks and develop a
comprehensive set of tests to exercise them.
You will then be able
to see how your
application performs
under a somewhat
realistic load.
Once you
assemble this
information
together...
You can create a test plan that
simulates observed behavior using virtual
users on emulated and/or physical
devices and across geographic regions.
4 YOU CAN’T MAKE
ASSUMPTIONS WITH
AN INEXACT TESTING
ENVIRONMENT
Can I extrapolate results based on smaller number of users?
Can I extrapolate the results in the testing environment with a
smaller proportional number of servers to the production environment?
Can I assume the performance results from an inexact testing environment apply to my production environment?
There is a nonlinear relationship between the testing
environment and the production environment if the
testing environment is not an exact mirror of production.
However, mirroring production exactly with the same
infrastructure and configuration can be quite expensive.
So, what’s the solution?
The truth is that you want to make your tests as
realistic as possible, but no test will ever be perfect.
You can still find and fix
performance issues in an inexact
testing environment, and for those
who can get permission to do so,
testing in production on off hours
may provide even more accurate
results than a mirrored testing
environment.
Remember
that the goal of testing
is to minimize risks.
5 TAKE TIME
TO ANALYZE
YOUR RESULTS
Load and performance testing is typically one of the last steps
in most development cycles and is often rushed as a result.
This means that testers may
gather a heap of performance
metrics that may be overlooked
because of a looming deadline.
Results analysis is critical.
It allows you to pinpoint
smaller issues in your app
or the infrastructure itself.
Don’t cut out the analytics; take the time
get to the root cause of issues from build to
build before they snowball out of control.
But seriously...
Load test for the sake of your users.
If you have any questions,
contact out performance experts.
HAPPY TESTING!
Load testing is a necessary step to ensure
the performance of your application for end users.
Take the time to find the best tool for you.
HORROR STORIES:
PERFORMANCE TESTING
TALES FROM THE SCRIPT
You often hear horror stories about testers who get blamed for an application’s
crashing despite having to use poor testing conditions, or a performance
engineer who tested inside a firewall then saw an app fail in production. This all
happens with the spectre of time and resource pressures looming overhead.
As the former manager of a load and performance team, Brad Stoner has a
number of haunting stories from his days in the field that carry insightful lessons
learned about load and performance testing. Watch this webinar to learn:
- The first performance test you should run on your app
- How to use the results of a test run in a non-production environment
- How testing inside the firewall can come back to haunt you
- The most critical test to run
SEE THE FULL WEBINAR
__________________________________________________________
Performance Testing Horror Stories
Tales from the Script
Brad Stoner
Senior Performance Engineer
Neotys
ABOUT NEOTYS | www.neotys.com
Neotys is a leading innovator in load testing and performance monitoring solutions for Web and Mobile applications.
Neotys’ products NeoLoad and NeoSense enable Development, QA and IT Operations to quickly and efficiently test and monitor the
quality, reliability and performance of their applications. More than 1500 organizations globally have selected our solutions because
they are Agile, easy to use and support all RIA and Mobile technologies.
For more information about Neotys and NeoLoad visit: www.neotys.com or contact sales@neotys.com.
CONTACT US
US: Tel: +1.781.899.7200 | EMEA: Tel: +33.442.180.830
EMAIL: sales@neotys.com | LEARN MORE: www.neotys.com

Contenu connexe

Tendances

The complete guide for negative testing | David Tzemach
The complete guide for negative testing | David TzemachThe complete guide for negative testing | David Tzemach
The complete guide for negative testing | David TzemachDavid Tzemach
 
Sustainable Automation Frameworks by Kelsey Shannahan
Sustainable Automation Frameworks by Kelsey ShannahanSustainable Automation Frameworks by Kelsey Shannahan
Sustainable Automation Frameworks by Kelsey ShannahanQA or the Highway
 
Web and load testing with Visual Studio 2010 Ultimate
Web and load testing with Visual Studio 2010 UltimateWeb and load testing with Visual Studio 2010 Ultimate
Web and load testing with Visual Studio 2010 UltimateAbhimanyu Singhal
 
Performance Engineering - how to start!
Performance Engineering - how to start!Performance Engineering - how to start!
Performance Engineering - how to start!Yoav Weiss
 
An easy way to automate complex UI
An easy way to automate complex UIAn easy way to automate complex UI
An easy way to automate complex UIIvan Pashko
 
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
 
Gabriel carabat a healthy approach for test automation
Gabriel carabat   a healthy approach for test automationGabriel carabat   a healthy approach for test automation
Gabriel carabat a healthy approach for test automationRomania Testing
 
Performance Testing Terms
Performance Testing Terms Performance Testing Terms
Performance Testing Terms Apica
 
Testit Process
Testit ProcessTestit Process
Testit ProcessLeoShares
 
Real Devices or Emulators: Wen to use What for Automated Testing
Real Devices or Emulators: Wen to use What for Automated TestingReal Devices or Emulators: Wen to use What for Automated Testing
Real Devices or Emulators: Wen to use What for Automated TestingSauce Labs
 
How agile performance testing helps automate and scale test processes
How agile performance testing helps automate and scale test processesHow agile performance testing helps automate and scale test processes
How agile performance testing helps automate and scale test processesApica
 
Resilience and chaos engineering
Resilience and chaos engineeringResilience and chaos engineering
Resilience and chaos engineeringEric Wyles
 
The 3 Top Techniques for Web Security Testing Using a Proxy
The 3 Top Techniques for Web Security Testing Using a ProxyThe 3 Top Techniques for Web Security Testing Using a Proxy
The 3 Top Techniques for Web Security Testing Using a ProxyTEST Huddle
 
Role of Automation in Testing
Role of Automation in TestingRole of Automation in Testing
Role of Automation in TestingAnand Bagmar
 
Continuous everything
Continuous everythingContinuous everything
Continuous everythingTEST Huddle
 
Silk Performer Presentation v1
Silk Performer Presentation v1Silk Performer Presentation v1
Silk Performer Presentation v1Sun Technlogies
 

Tendances (20)

The complete guide for negative testing | David Tzemach
The complete guide for negative testing | David TzemachThe complete guide for negative testing | David Tzemach
The complete guide for negative testing | David Tzemach
 
Sustainable Automation Frameworks by Kelsey Shannahan
Sustainable Automation Frameworks by Kelsey ShannahanSustainable Automation Frameworks by Kelsey Shannahan
Sustainable Automation Frameworks by Kelsey Shannahan
 
Web and load testing with Visual Studio 2010 Ultimate
Web and load testing with Visual Studio 2010 UltimateWeb and load testing with Visual Studio 2010 Ultimate
Web and load testing with Visual Studio 2010 Ultimate
 
Neoload
Neoload Neoload
Neoload
 
Qa process
Qa processQa process
Qa process
 
Performance Engineering - how to start!
Performance Engineering - how to start!Performance Engineering - how to start!
Performance Engineering - how to start!
 
An easy way to automate complex UI
An easy way to automate complex UIAn easy way to automate complex UI
An easy way to automate complex UI
 
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
 
Gabriel carabat a healthy approach for test automation
Gabriel carabat   a healthy approach for test automationGabriel carabat   a healthy approach for test automation
Gabriel carabat a healthy approach for test automation
 
Performance Testing Terms
Performance Testing Terms Performance Testing Terms
Performance Testing Terms
 
Testit Process
Testit ProcessTestit Process
Testit Process
 
Qa process
Qa processQa process
Qa process
 
Real Devices or Emulators: Wen to use What for Automated Testing
Real Devices or Emulators: Wen to use What for Automated TestingReal Devices or Emulators: Wen to use What for Automated Testing
Real Devices or Emulators: Wen to use What for Automated Testing
 
How agile performance testing helps automate and scale test processes
How agile performance testing helps automate and scale test processesHow agile performance testing helps automate and scale test processes
How agile performance testing helps automate and scale test processes
 
How to start performance testing project
How to start performance testing projectHow to start performance testing project
How to start performance testing project
 
Resilience and chaos engineering
Resilience and chaos engineeringResilience and chaos engineering
Resilience and chaos engineering
 
The 3 Top Techniques for Web Security Testing Using a Proxy
The 3 Top Techniques for Web Security Testing Using a ProxyThe 3 Top Techniques for Web Security Testing Using a Proxy
The 3 Top Techniques for Web Security Testing Using a Proxy
 
Role of Automation in Testing
Role of Automation in TestingRole of Automation in Testing
Role of Automation in Testing
 
Continuous everything
Continuous everythingContinuous everything
Continuous everything
 
Silk Performer Presentation v1
Silk Performer Presentation v1Silk Performer Presentation v1
Silk Performer Presentation v1
 

Similaire à 5 Essential Tips for Load Testing Beginners

Software Testing Interview Questions For Experienced
Software Testing Interview Questions For ExperiencedSoftware Testing Interview Questions For Experienced
Software Testing Interview Questions For Experiencedzynofustechnology
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingSiti Rubayati
 
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptx
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptxSOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptx
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptxFinancial Services Innovators
 
Presentasi fundamental of testing
Presentasi fundamental of testingPresentasi fundamental of testing
Presentasi fundamental of testingEgi Ilham Elnusa
 
12 considerations for mobile testing (march 2017)
12 considerations for mobile testing (march 2017)12 considerations for mobile testing (march 2017)
12 considerations for mobile testing (march 2017)Antoine Aymer
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingTaufik hidayat
 
7 QA Tests You Should Be Running
7 QA Tests You Should Be Running7 QA Tests You Should Be Running
7 QA Tests You Should Be RunningRainforest QA
 
Software Testing Principles
Software Testing PrinciplesSoftware Testing Principles
Software Testing PrinciplesKanoah
 
Effective Testing fo Startups
Effective Testing fo StartupsEffective Testing fo Startups
Effective Testing fo StartupsTestnetic
 
Software_testing Unit 1 bca V.pdf
Software_testing Unit 1 bca V.pdfSoftware_testing Unit 1 bca V.pdf
Software_testing Unit 1 bca V.pdfAnupmaMunshi
 
Performance Testing
Performance TestingPerformance Testing
Performance TestingSelin Gungor
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testingYusran5
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testingTricia Karina
 
5 Ways to make load testing work for you
5 Ways to make load testing work for you5 Ways to make load testing work for you
5 Ways to make load testing work for youIsrael Rogoza
 
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...Applitools
 
The Relevance of Web Application Performance Testing
The Relevance of Web Application Performance TestingThe Relevance of Web Application Performance Testing
The Relevance of Web Application Performance TestingMindfire LLC
 

Similaire à 5 Essential Tips for Load Testing Beginners (20)

Bab 1
Bab 1Bab 1
Bab 1
 
2.fundamental of testing
2.fundamental of testing2.fundamental of testing
2.fundamental of testing
 
Software Testing Interview Questions For Experienced
Software Testing Interview Questions For ExperiencedSoftware Testing Interview Questions For Experienced
Software Testing Interview Questions For Experienced
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
bug-advocacy
bug-advocacybug-advocacy
bug-advocacy
 
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptx
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptxSOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptx
SOFTWARE TESTING TRAFUNDAMENTALS OF SOFTWARE TESTING.pptx
 
Presentasi fundamental of testing
Presentasi fundamental of testingPresentasi fundamental of testing
Presentasi fundamental of testing
 
12 considerations for mobile testing (march 2017)
12 considerations for mobile testing (march 2017)12 considerations for mobile testing (march 2017)
12 considerations for mobile testing (march 2017)
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
7 QA Tests You Should Be Running
7 QA Tests You Should Be Running7 QA Tests You Should Be Running
7 QA Tests You Should Be Running
 
Software Testing Principles
Software Testing PrinciplesSoftware Testing Principles
Software Testing Principles
 
Effective Testing fo Startups
Effective Testing fo StartupsEffective Testing fo Startups
Effective Testing fo Startups
 
Software_testing Unit 1 bca V.pdf
Software_testing Unit 1 bca V.pdfSoftware_testing Unit 1 bca V.pdf
Software_testing Unit 1 bca V.pdf
 
Performance Testing
Performance TestingPerformance Testing
Performance Testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
 
software testing
software testingsoftware testing
software testing
 
5 Ways to make load testing work for you
5 Ways to make load testing work for you5 Ways to make load testing work for you
5 Ways to make load testing work for you
 
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
 
The Relevance of Web Application Performance Testing
The Relevance of Web Application Performance TestingThe Relevance of Web Application Performance Testing
The Relevance of Web Application Performance Testing
 

Dernier

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 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
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
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Dernier (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 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
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
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
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
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
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
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

5 Essential Tips for Load Testing Beginners

  • 3. Software Development is no walk in the park...
  • 4. It’s not as easy as pie. Or a piece of cake...
  • 5. Okay, we’re done with the clichés.Promise.
  • 6. And adding load testing to the mix (which is highly recommended to keep users happy with your application), increases your difficulty level.
  • 7. “Do I have to?” Yes. You have to. Fight through the pain, embrace the struggle... and load test.
  • 8. Load Testing: The process of putting demand on a system or device and measuring its response. Load Testing is performed to determine a system’s behavior under both normal and anticipated peak load conditions. You ready for those 5 essential tips? Let’s Do It.
  • 10. When you load test, you have to determine the number of users you wish to simulate.
  • 11. Don’t worry, you don’t have to guess! Math nerds rejoice! That’s right... We’ve got a formula for you.
  • 12. Number of pages viewed per hour (PPH) – this figure can be extracted from your Web server’s log file Number of pages viewed per user (PPU) – that is to say the number of pages in a representative test case User duration in minutes (UD) The calculation we use requires three variables: * * *
  • 13. # of Virtual Users Required ((PPH/PPU)/60)*UD The formula looks like this:
  • 14. Keep in mind, this basic calculation assumes a constant load over an hour meaning it does not take into account things like load ramping or traffic spikes, so you’ll need more virtual users when testing with these conditions.
  • 15. It’s probably quite obvious that if application performance is... bad for a small number of users, then it’s no bueno for a large number of users. Run a small test first. Once the application performs well with a small number of users, add more!
  • 17. You’re going to need to collaborate and communicate across three departments. THE TESTING SIDE THE DEVELOPEMENT SIDE THE OPERATIONS SIDE
  • 18. “WHAT,WHY?” Testers may not know much about the application’s code, so a developer will need to inform the testing team of any changes to the code before the application undergoes testing. If a person from operations isn’t involved from the beginning, then testers may not have the analytics of the application from the production environment. 
  • 19. Involving all three of these groups will create a stronger team dynamic that will result in an accurate depiction of the application performance.
  • 21. In order to know what test cases to implement, you need to understand the paths that users are taking through your application.
  • 22. Crack open your site analytics, your app analytics, and the log files from your web server. Study how users are traversing through the application – as well as how many there are, where they are coming from geographically, and the types of browsers and devices they use.
  • 23. It’s important to put this data in the context of your application architecture, so that you can pinpoint bottlenecks and develop a comprehensive set of tests to exercise them.
  • 24. You will then be able to see how your application performs under a somewhat realistic load. Once you assemble this information together... You can create a test plan that simulates observed behavior using virtual users on emulated and/or physical devices and across geographic regions.
  • 25. 4 YOU CAN’T MAKE ASSUMPTIONS WITH AN INEXACT TESTING ENVIRONMENT
  • 26. Can I extrapolate results based on smaller number of users? Can I extrapolate the results in the testing environment with a smaller proportional number of servers to the production environment? Can I assume the performance results from an inexact testing environment apply to my production environment?
  • 27.
  • 28. There is a nonlinear relationship between the testing environment and the production environment if the testing environment is not an exact mirror of production. However, mirroring production exactly with the same infrastructure and configuration can be quite expensive.
  • 29. So, what’s the solution?
  • 30. The truth is that you want to make your tests as realistic as possible, but no test will ever be perfect.
  • 31. You can still find and fix performance issues in an inexact testing environment, and for those who can get permission to do so, testing in production on off hours may provide even more accurate results than a mirrored testing environment. Remember that the goal of testing is to minimize risks.
  • 32. 5 TAKE TIME TO ANALYZE YOUR RESULTS
  • 33. Load and performance testing is typically one of the last steps in most development cycles and is often rushed as a result. This means that testers may gather a heap of performance metrics that may be overlooked because of a looming deadline.
  • 34. Results analysis is critical. It allows you to pinpoint smaller issues in your app or the infrastructure itself. Don’t cut out the analytics; take the time get to the root cause of issues from build to build before they snowball out of control.
  • 36. Load test for the sake of your users.
  • 37. If you have any questions, contact out performance experts. HAPPY TESTING! Load testing is a necessary step to ensure the performance of your application for end users. Take the time to find the best tool for you.
  • 38. HORROR STORIES: PERFORMANCE TESTING TALES FROM THE SCRIPT You often hear horror stories about testers who get blamed for an application’s crashing despite having to use poor testing conditions, or a performance engineer who tested inside a firewall then saw an app fail in production. This all happens with the spectre of time and resource pressures looming overhead. As the former manager of a load and performance team, Brad Stoner has a number of haunting stories from his days in the field that carry insightful lessons learned about load and performance testing. Watch this webinar to learn: - The first performance test you should run on your app - How to use the results of a test run in a non-production environment - How testing inside the firewall can come back to haunt you - The most critical test to run SEE THE FULL WEBINAR __________________________________________________________ Performance Testing Horror Stories Tales from the Script Brad Stoner Senior Performance Engineer Neotys
  • 39. ABOUT NEOTYS | www.neotys.com Neotys is a leading innovator in load testing and performance monitoring solutions for Web and Mobile applications. Neotys’ products NeoLoad and NeoSense enable Development, QA and IT Operations to quickly and efficiently test and monitor the quality, reliability and performance of their applications. More than 1500 organizations globally have selected our solutions because they are Agile, easy to use and support all RIA and Mobile technologies. For more information about Neotys and NeoLoad visit: www.neotys.com or contact sales@neotys.com. CONTACT US US: Tel: +1.781.899.7200 | EMEA: Tel: +33.442.180.830 EMAIL: sales@neotys.com | LEARN MORE: www.neotys.com