We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
How to do Performance Testing with k6
Summary
Description
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.
π Video Transcript: https://www.alexhyett.com/performance-testing/
π¨βπ» Code: https://code.alexhyett.com/alexhyett/performance-testing
π¨ Free Newsletter: https://www.alexhyett.com/newsletter/ β Join my free weekly newsletter for advice, technology and more
β€οΈ Support my channel: https://www.alexhyett.com/supporters/ β Say thanks by buying me a coffee or becoming a loyal supporter.
π Courses: https://www.alexhyett.com/courses/ β Like the way I teach? You might like my courses too!
π¨βπ» All Code: https://code.alexhyett.com/alexhyett/youtube-code βLinks to all the code for my YouTube videos can be found here.
β³ 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
π SOCIAL LINKS
π Mastodon β https://social.alexhyett.com/@alex
πΌ LinkedIn β https://www.linkedin.com/in/alexhyett/
βοΈ Bluesky β https://bsky.app/profile/alexhyett.com
π§βπ» 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.
#coding #programming #developer
Translated At: 2025-08-07T14:30:17Z