Rest API - API Testing and Monitoring
Identify the error in this Locust test code:
from locust import HttpUser, task
class MyUser(HttpUser):
def index(self):
self.client.get("/")