You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, I see on_start is getting executed ever user. I just want on_start to be executed once for all hatches. Is there any solution ?
I donot see @task decorated API ("/application/restui/entity/search?searchText=tier 4") in statistics in locust UI. Please refer to the attached screenshot. But @task is getting executed as per log. Only Login API is seen which is written in on_start(self) method.
Its little urgent. Can someone help me ?
The text was updated successfully, but these errors were encountered:
At the first glance, the call you do in your task uses catch_response. This means you should mark the request either successful or failed which you don't. That's why it is not registered at all.
Probably too late, but may the answer may help somebody in the future.
Following is my locust file :
`
from locust import HttpLocust, TaskSet, task
import yaml
import os
import sys
sys.path.append(os.getcwd())
class EntitySearchLoadTask(TaskSet):
class EntitySearchUserLocust(HttpLocust):
task_set = EntitySearchLoadTask
min_wait = 1000
max_wait = 5000
`
Its little urgent. Can someone help me ?
The text was updated successfully, but these errors were encountered: