i am really new to Python with Locust load testing. I Created the below Python script but its running into infinite loop. I have used Number of total users to simulate = 1 Spawn rate = 1
Please let me know where i am going wrong.
from locust import HttpUser, task, between, TaskSet
class Behaviour(TaskSet):
@task
def first_task(self):
self.client.get('/LoginHome.aspx')
class WebsiteTestUser(HttpUser):
tasks = [Behaviour]
wait_time = between(5, 15)
host = "http://DEV/LoadTesting"
Thanks.