Awesome video. Loved the editing and easy explanations. You missed the type of testing that I do though, which is "no testing". Hasn't worked well for me so far...
I'll make sure to cover the highly regarded "no testing" pattern; thanks for the suggestion 🤣 Jokes aside, thank you for being an amazing inspiration and taking the time to leave such a nice comment.
Now this is exactly what I wish these videos to be like. Interesting and important topic, explained so easily that my dad could understand it by usign graps and no fancy words without explaining them and showing code examples. 10/10 video!
Thank you for the kind words 💜 I started beginning of this year, I'm still new to this. Comments like yours are giving me the motivation to keep going, really glad I can help
I've just got into using k6 and this is a great video that explains the topic very clearly! Nice one! I've actually just been assigned a performance testing work item so this was a nice refresher!
@TechVisionExplained more Test Automation videos please - am an aspiring Junior QA automation tester looking for an Internship opportunity it will be great honestly to learn from what you know as a senior Dev. I love the way you give detailed explaination thanks also for k6 the tool has been amazing for me
This vidéo come exactly at the right time, I've been looking for tools for testing the API of current project, really good content and well explained thanks
thank you for this video! i've been working on an auth project i plan to put on my portfolio and i wanted to know what things i could learn about performance testing along the way. i love your channel's content. please keep up the good work!
@@hameeeed5992 Because depending on how much business logic you actually have in your APIs, it may primarily just function as a liaison for data retrieval or insertion. In my experience, the API might not actually do too much and the real heavy lifting might be the quantity of data or specificity of the data you're retrieving , or perhaps some server application running the large majority of the business logic and preparing it in the database for retrieval at the client application's request.
Excellent video. Many never talk about this, even that it's a VERY important thing to consider. Especially for an already established application or an enterprise application. I think running it from the cloud using Grafana is probably the most realistic thing you can get to real users. But I might cost a bit. I don't know the pricing, I'll check it.
Great simple video. I have used mostly Artillery in the past along with parallel Batch tasks to simulate many users and overcome the system's rate and IP limiting securities. K6 looks very nice, though, I may try it soon. I have an API that is a refactor of a different architecture that will release to the public soon, and it requires some load and maybe soak testing.
A best teacher is the one who identifies people's struggle and solve their problems. You are simple, eloquent and sufficient for even experienced developers. May I know your name?
This is really good explanation on how to test parts of your application. It will still be very important to come up with the MAX request number in a correct way. I have seen folks normally under test the applications when it comes to load. Does K6 generate load using new sessions all the time?
I wish these type of videos were at more of the forefront when designing SAAS and learning how to program. The concepts I wish people went over is making sure payments are going through, your database generating and logging certain order info for a transaction, having emails sent to users reliably such as when a purchase is made from your SAAS and having a notification system externally via sms or emailing. I know this is backend but when I hear about hype of making SAAS they never really show how it should look when many users are using it and how in the end its a business where users are customers.
"Great video! It’s very informative. I’m curious-are you testing the complete flow, or just the product and listing pages? How do you test the payment functionality in a real-world scenario?"
How do the results take into account your infrastructure and database and/or any other integration? Ideally these tests should run on prod equivalent resources. How do you handle the costs associated? Also how do you account for any external integrations?
There are cases where load testing is more valuable than others. For example if you have a user flow that is critical to your product for example a checkout or on boarding flow those might be great canditate for load testing. But on other hand things like checking user profile or settings might not be critical to your product and you could ignore the endpoints related to those operations. As the saying goes "100% coverage on what matters". If it doesn't matter then ignore and focus on what's important/ I hope this was helpful
Hey bro, it is obvious through your videos you are very knowledgable about these topics and have experience working in a production environment. I would love to see some videos related to deploying to production. How to set up CI/CD pipeline which handles testing, migrations and deployment. Creating that vercel like developer experience where I can simply push the code and it handles the necessary steps for deployment. Lately I've been tinkering with setting up separate environments e.g. dev, staging & prod. I'm trying to use github actions & AWS ECS for this to deploy my Nest.js app. I feel like there is a gap on youtube for quality content on these topics and would love to see some videos from you on this.
Hi, @sunnysetia! Since you've spotted a need, can I recommend that you fill it as well? 👀 Hehe! Just kidding. Did you find a solution for this? I reckon that I might be able to pull of creating such video. PS: I have no prior experience making videos for YT, but it's something I've done in the past
@@dan_le_brown Dan totally you should make a video on this if you have the experience!! Gotta start somewhere. I haven’t been able to find a thorough solution to this and feel overwhelmed when it comes to AWS. Please come back and reply to this comment if you end up making a video!! I think it will be helpful for many people
Been running a SaaS platform that deals a large volume of requests for a couple of months now, now I had a specific use case when certain users would come online and would load specific charts of data through the API it would start leaking memory was looking at this for hours before I found out it was an API issue Wished I saw this video before!
Please add more context to your video title I was searching for this videos since 10 days Api testing, load testing, rate limiting or more keywords would help reached more people
so when testing your api. do u have to just eat the costs that come with such high usage of your server. lets say you have deployed it in aws and now you want to run these tests to see how it performs and see the limits of it, this will obviously make the cost go up pretty high so do you just have to eat that cost or how does that work?
Hey @CodeZakk, K6 is completelly independent from your API. You just define where you want the request to be sent and that's it. In the case of a NestJS app, you run your app, and in a separate terminal you run the load test. That's exactly what I'm doing in that video, I'm running a nest js on localhost:3000. Hope that makes sense
You can point your k6 tests at any endpoint. It doesn't matter how the API is implemented could be Go, Java, Python. As long as you can send a request to an endpoint, you can test the performace of that request using K6. By the way K6 uses Go under the hood even if the test are written in JavaScript they are actually executed using Go 😉
Glad you enjoyed it 🙏 I'm actually working on putting together a course. Still a lot of work to do but working hard on it to bring the most value as possible 💪
Hey great video ❤ but I have some questions what about an api with interacts a database, How do you test that? (I’m not using JavaScript for backend, I’m using go gin)
You can load test any API (or even website) with K6. You just need to point your test to the endpoint you want to test. It doesn't matter if your API is codde in Java, Python, JavaScript... I hope that makes sense
I am a newbie to software, i had worked with K6 a while back to load test API flows in a server, Can anyone experienced in this tell me what is the appropriate industry standard method to load test APIs that have OAUTH 2.0 authorization involved.
I have never used the Postman perf testing, and in general I don't use Postman for testing APIs. If you find out the info I would be curious to know as well
Awesome video. Loved the editing and easy explanations.
You missed the type of testing that I do though, which is "no testing". Hasn't worked well for me so far...
I'll make sure to cover the highly regarded "no testing" pattern; thanks for the suggestion 🤣
Jokes aside, thank you for being an amazing inspiration and taking the time to leave such a nice comment.
"Production testing" for the win. The only true testing that will catch those pesky problems.
It'd be great for all junior devs to have someone like him to show them the ropes, to apprentice.
If you don’t where you work, your company isn’t serious about building software or building engineers.
Junior dev here and having content like this online really helps. You don't always get support so these videos help so much for growing purposes
Subscribed immediately. Finally some channels that teaches more than some random JS frameworks but actual tools for production.
By far the best channel for nestjs and overall backend tech.
Thank you so much for the kind words 🙏
Now this is exactly what I wish these videos to be like. Interesting and important topic, explained so easily that my dad could understand it by usign graps and no fancy words without explaining them and showing code examples.
10/10 video!
One of the best video I saw related to API dev.
Your thumbnail is fire!!!!!! Got me interested. And I've learnt something new too. Subscribed!
Bruva just came and upload a video on a topic I never knew I needed. wow, just wow.
Thanks a lot (you just earn a subscriber).
Glad I could hepl and thank you for the support 💜
As a test engineer, I really enjoyed it. And k6 seems easier to get started with compared with Gatling and JMeter.
Very clear, concise and to the point. Great job on the video! Keep it up.
How long have you been on UA-cam that I haven't fallen on your videos but only now, I like how well explained the topic is. Thank you 🙏🏽
Thank you for the kind words 💜
I started beginning of this year, I'm still new to this. Comments like yours are giving me the motivation to keep going, really glad I can help
A quality video!! hope to receive much more quality content from this channel.
I love the concepts taught on this video. Thanks man
This is such a beautiful and insightful content. How you explained made it easy to understand! 🚀
Thanks for sharing such valuable information.
I've just got into using k6 and this is a great video that explains the topic very clearly! Nice one! I've actually just been assigned a performance testing work item so this was a nice refresher!
@TechVisionExplained more Test Automation videos please - am an aspiring Junior QA automation tester looking for an Internship opportunity it will be great honestly to learn from what you know as a senior Dev. I love the way you give detailed explaination thanks also for k6 the tool has been amazing for me
Perfect timing.. I was thinking about writing tests for for my projects's API performance..
clear, direct, simple, alot of information.
u r a underestimated legend
Thanks bro, that's lot of information how to test API under certain conditions. Keep doing awesome videos :)
such a great way to explain performance testing, this helped me a lot thank you
Very short and informative video. Wonderfully explained!
This vidéo come exactly at the right time, I've been looking for tools for testing the API of current project, really good content and well explained thanks
Thanks for such a nice feedback 💜
Important concept and i barely forget to learn it. Thank u😊
I really like the way you presented it was clear abd crisp !!!
you just earned a new subscriber, Hope you keep it up
Great overview. As a long time front end developer this is the kind of video I appreciate to get an understanding of effective API testing.
thank you for this video! i've been working on an auth project i plan to put on my portfolio and i wanted to know what things i could learn about performance testing along the way. i love your channel's content. please keep up the good work!
Thank you for the kind words, I'm really glad I could help 💜
What a great video! Greetings from Colombia!
🇨🇴
Usually the bottleneck in my service's performance isn't the API, but the database's performance
Why is this?
@@hameeeed5992 Because depending on how much business logic you actually have in your APIs, it may primarily just function as a liaison for data retrieval or insertion. In my experience, the API might not actually do too much and the real heavy lifting might be the quantity of data or specificity of the data you're retrieving , or perhaps some server application running the large majority of the business logic and preparing it in the database for retrieval at the client application's request.
will use this over apache bench from now on
Well explained. I liked how you made it visually so its more understandable. LIKE
Amazing video bro. Subscribed❤
Immediately you said "you can run it on windows"...I smiled 😊.
Thank you
your channel is so underrated!
Clear explanation.
You got a new subscriber.
Welcome on board, thanks for supporting the channel 💜
Awesome as always. I'm definitely going to stress all my APIs with k6.
Hey @israeltechint, great to see you back on the channel 💜
Excellent video.
Many never talk about this, even that it's a VERY important thing to consider. Especially for an already established application or an enterprise application.
I think running it from the cloud using Grafana is probably the most realistic thing you can get to real users. But I might cost a bit. I don't know the pricing, I'll check it.
Great explanation sir❤
This is pretty cool. Nice video!
Great simple video. I have used mostly Artillery in the past along with parallel Batch tasks to simulate many users and overcome the system's rate and IP limiting securities. K6 looks very nice, though, I may try it soon. I have an API that is a refactor of a different architecture that will release to the public soon, and it requires some load and maybe soak testing.
loved the video. please bring more.
Really great content and explanations, keep up the good work! 🤓
Awesome, I'll look for K6 right now!
Always great to see you comming back to the channel 🙏
Don't hesitate to let me know if have any questions
A best teacher is the one who identifies people's struggle and solve their problems. You are simple, eloquent and sufficient for even experienced developers. May I know your name?
Awesome, love it. Thank you for share this ☺
Thank you. your explanation simple and straight forward. You earned my subscription. Keep up the good work.
Welcome to the channel 🤜🤛
This is really good explanation on how to test parts of your application. It will still be very important to come up with the MAX request number in a correct way. I have seen folks normally under test the applications when it comes to load.
Does K6 generate load using new sessions all the time?
thank you so much for this valuable info, will soon implement this in office
Great video as always! Keep it up
Hey @sunnysetia, thank you 🤩 👋
This is good. Thanks for sharing.
Can these tests or rather K6 be used for server test (performance and response) too?
thanks for all information. will be useful for my current project launching soon and tight deadline
Good luck on your project, really glad I could help 💜
what an awesome video man, thanks
wow important topic explained very well❤...
Great explanation 👍
Great video. Clear and consise. Thank you. Subscribed.
Thanks for the support 💜
I wish these type of videos were at more of the forefront when designing SAAS and learning how to program. The concepts I wish people went over is making sure payments are going through, your database generating and logging certain order info for a transaction, having emails sent to users reliably such as when a purchase is made from your SAAS and having a notification system externally via sms or emailing. I know this is backend but when I hear about hype of making SAAS they never really show how it should look when many users are using it and how in the end its a business where users are customers.
Good video.I learnt so many things from your video. Thank you so much
"Great video! It’s very informative. I’m curious-are you testing the complete flow, or just the product and listing pages? How do you test the payment functionality in a real-world scenario?"
How do the results take into account your infrastructure and database and/or any other integration? Ideally these tests should run on prod equivalent resources. How do you handle the costs associated? Also how do you account for any external integrations?
Very informative! Thanks, subscribed!
Insightful. Hands down. Earned a new sub and bells.
Thank you for the support and, welcome onboard 💜
make more such videos it's a great help
Thank you sir. Really very useful 👌
Very very nice video sir 🙏🙏🙏
Thanks to UA-cam recommendation I found this channel 😊
Really glad you're enjoying the conent on the channel and thank you for taking the time to leave such a nice comment 💜
Thank you for such a good explanation! It was very interesting video!
Glad you enjoyed it, and really appriciate that you took time to write such a nice feedback 💜
Thank you so much Sir 🫡🤌 you’re producing quality content. ❤
awesome..And the test have to be applied to all endpoints or just the more used?(when we are testing apis)
There are cases where load testing is more valuable than others. For example if you have a user flow that is critical to your product for example a checkout or on boarding flow those might be great canditate for load testing. But on other hand things like checking user profile or settings might not be critical to your product and you could ignore the endpoints related to those operations.
As the saying goes "100% coverage on what matters". If it doesn't matter then ignore and focus on what's important/
I hope this was helpful
Greate video mate
Awesome tutorial !
Useful video! Thank you!
Very well explained. God job
Great video!!
Wow very enlightening. Thank You
great insight, Thanks!
Amazing video
best information got in 2024 so far.
Hey bro, it is obvious through your videos you are very knowledgable about these topics and have experience working in a production environment. I would love to see some videos related to deploying to production. How to set up CI/CD pipeline which handles testing, migrations and deployment. Creating that vercel like developer experience where I can simply push the code and it handles the necessary steps for deployment. Lately I've been tinkering with setting up separate environments e.g. dev, staging & prod. I'm trying to use github actions & AWS ECS for this to deploy my Nest.js app. I feel like there is a gap on youtube for quality content on these topics and would love to see some videos from you on this.
Hi, @sunnysetia! Since you've spotted a need, can I recommend that you fill it as well? 👀
Hehe! Just kidding.
Did you find a solution for this? I reckon that I might be able to pull of creating such video.
PS: I have no prior experience making videos for YT, but it's something I've done in the past
@@dan_le_brown Dan totally you should make a video on this if you have the experience!! Gotta start somewhere. I haven’t been able to find a thorough solution to this and feel overwhelmed when it comes to AWS. Please come back and reply to this comment if you end up making a video!! I think it will be helpful for many people
@@sunnysetia alright, cool. I guess I'm about to have my first subscriber!! 😄
Bro you cooking, sharing usefull things
Been running a SaaS platform that deals a large volume of requests for a couple of months now, now I had a specific use case when certain users would come online and would load specific charts of data through the API it would start leaking memory was looking at this for hours before I found out it was an API issue
Wished I saw this video before!
Please add more context to your video title
I was searching for this videos since 10 days
Api testing, load testing, rate limiting or more keywords would help reached more people
Thank you for the video. Can you make a video on Nestjs dynamic modules ? I get confused with terms like useFactory useClass etc
Added to the ideas list 😉👍
thx brother for the knowledge
Really helpful
so when testing your api. do u have to just eat the costs that come with such high usage of your server. lets say you have deployed it in aws and now you want to run these tests to see how it performs and see the limits of it, this will obviously make the cost go up pretty high so do you just have to eat that cost or how does that work?
Show us how to implement this in nestjs thank you!!🎉🎉
Hey @CodeZakk, K6 is completelly independent from your API. You just define where you want the request to be sent and that's it. In the case of a NestJS app, you run your app, and in a separate terminal you run the load test. That's exactly what I'm doing in that video, I'm running a nest js on localhost:3000.
Hope that makes sense
This is really helpful. I use golang for backend task. K6 can work on there too?
You can point your k6 tests at any endpoint. It doesn't matter how the API is implemented could be Go, Java, Python. As long as you can send a request to an endpoint, you can test the performace of that request using K6.
By the way K6 uses Go under the hood even if the test are written in JavaScript they are actually executed using Go 😉
French are the best devs i met in my long career
Great content. Can please also make how to implement in real products by doing code. And thanks for these types of video s.
great video.please do you have a course on udemy that develops a backend project with this testing? i am interested to learn more.
Glad you enjoyed it 🙏
I'm actually working on putting together a course. Still a lot of work to do but working hard on it to bring the most value as possible 💪
@@TechVisionExplained thank you so much.i will be expecting.Much respect
Bro you should make more tutorials about k6
cool ... thank you
Man, you have good smile. 😄
Hey great video ❤ but I have some questions what about an api with interacts a database, How do you test that? (I’m not using JavaScript for backend, I’m using go gin)
You can load test any API (or even website) with K6. You just need to point your test to the endpoint you want to test. It doesn't matter if your API is codde in Java, Python, JavaScript...
I hope that makes sense
@@TechVisionExplained Yes, absolutely, thanks for the reply 👍
Hey, cool stuff, thanks for this infomation
My pleasure, thank you for supporting the channel 💜
can we please get a long form video on how to implement bob c. martin's clean architecture in nestjs??? pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Bro help me reverse engineer "dhru" api
Awesome!
I am a newbie to software, i had worked with K6 a while back to load test API flows in a server, Can anyone experienced in this tell me what is the appropriate industry standard method to load test APIs that have OAUTH 2.0 authorization involved.
Postman has a performance testing feature, is it as good as K8?
I have never used the Postman perf testing, and in general I don't use Postman for testing APIs.
If you find out the info I would be curious to know as well
It’s K6 not K8, K8 is Kubernetes.