I have a list of api urls to do locust test as input, this list is configurable and changes with user input
API_URLS= [
"/api/v2/product",
"/api/v2/order",
"/api/v2/cart",
"/api/v2/users",
.....
]
Is there a way I can create locust tasks dynamically/programmatically for above api urls and add them to the tasks
attribute of HTTPUser or TaskSet before the test runs ?