How to do Performance Testing with k6
Performance testing is an important part of getting your application production ready. You don't want to wait until you have a sudden spike in traffic to realise that your application can't handle the load. In this video I cover the difference types of performance testing and how to do them using k6.
☕️ I don’t accept paid sponsorships and I have turned off mid-video ads. You’re welcome! If you would like to support my channel see: https://ko-fi.com/alexhyett
? Join my free weekly newsletter for advice, technology and more: https://newsletter.alexhyett.com
? Video Transcript: https://www.alexhyett.com/performance-testing/
?️ Backend Developer Roadmap: https://www.alexhyett.com/backend-developer-roadmap/
Subscribe for more content: https://youtube.com/@alexhyettdev
⏳ CHAPTERS
00:00 - Introduction
00:55 - Installing k6
01:21 - Simple k6 test
02:30 - Test API
02:49 - Support me on Patreon
03:03 - Pick the right environment
03:48 - Load Test
06:41 - Stress Test
07:49 - Spike Test
08:35 - Soak Test
09:33 - Check out k6 docs
? MY KEY LINKS
? Blog - https://www.alexhyett.com/
? Mastodon - https://social.alexhyett.com/@alex
? LinkedIn - https://www.linkedin.com/in/alexhyett/
??‍? Dev.to - https://dev.to/alexhyettdev
?‍? WHO AM I
I’m Alex, a Software Developer and YouTube working in the UK. I make videos about software development to help developers with the skills they need to be senior developers. As well as this YouTube Channel, I also write articles on my website (https://alexhyett.com) as well as write a regular newsletter that contains some thoughts to help aspiring developers.
? RECOMMENDED COURSES (Use code FRIENDS10 for 10% off)
The Complete Web Developer Course - https://academy.zerotomastery.io/a/aff_r1613hhr/external?affcode=441520_ijj9itwx
The Complete Junior to Senior Web Developer Roadmap - https://academy.zerotomastery.io/a/aff_hpwn5xy9/external?affcode=441520_ijj9itwx
C#/.NET Bootcamp: The Fundamentals: https://academy.zerotomastery.io/a/aff_1478fv7q/external?affcode=441520_ijj9itwx
Complete SQL + Databases Bootcamp - https://academy.zerotomastery.io/a/aff_fd1vc7n6/external?affcode=441520_ijj9itwx
? RECOMMENDED BOOKS
Clean Code - https://geni.us/5AEwj2
Design Patterns - https://geni.us/5ncUt
Developer Hegemony - https://geni.us/lAXy
Pragmatic Programmer - https://geni.us/GfNj9
Data Structures and Algorithms Made Easy - https://geni.us/sqg6kJ
Refactoring - https://geni.us/ufAP0mE
Pragmatic Thinking and Learning - https://geni.us/x81A
‼️ DISCLAIMERS
Some of the links in this description are affiliate links, for which I get a small commission, at no extra cost to you ?. I appreciate you supporting my channel so I can continue providing you with free software development content!
#coding #programming #developer