From the course: Google Cloud Professional Cloud Architect Cert Prep: 4 Analyzing and Optimizing Technical and Business Processes
Unlock this course with a free trial
Join today to access over 24,200 courses taught by industry experts.
Demo: Performing load testing in GCP - Google Cloud Tutorial
From the course: Google Cloud Professional Cloud Architect Cert Prep: 4 Analyzing and Optimizing Technical and Business Processes
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 auto-scaling. 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 source, 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…