I am trying to load test a HTTP URL(Dynamic) using Locust.io. I already have the python scripts that will make a GET call to the URL. The challenge i am facing is, the urls and the number of users are dynamic and are read from a CSV file.
For example, Here is how the input of the load testing will look like:
Input.csv:
============
URLs No of users to simulate
=============================================
URL 1 1000
URL 2 5000
URL 3 2000
URL 4 1000
Each url in the CSV is unique and the number of users to simulate change for every url. i would like to use the locust load testing in distributed mode.
For example, Locust master will read URL 1 and send it to Slave 1 to simulate 1000 users. and then pick URL2 and send it to Slave 2 to simulate 5000 users.
how do i achieve this using locust? can someone throw some light?