From the course: Google Cloud Professional Cloud Architect Cert Prep (2025)
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Demo: Performing load testing in GCP
From the course: Google Cloud Professional Cloud Architect Cert Prep (2025)
Demo: Performing load testing in GCP
- [Instructor] All right, let's get into load testing. An important way to make sure that your application is going to do what you think it's going to do when you put it into production, you want to simulate what's happening, look at the resources involved, maybe test autoscaling. So we're going to take a look at this tool called Locust here. And to get started, we can just select documentation. And the first place to get into this is to look at installation here. And notice we just do a PIP install. So if I go over to this environment here, I notice I have a virtual environment sourced and I just go through here and I say PIP install and install Locust. It's already installed here. In fact, we can double check. We can say which Locust. And you can see it's actually in this environment. The only other thing we need to do is actually go to writing a Locust file and put something together where we actually map out the client.git post or whatever it is you're doing into the actual route.…