BuoyantIO / slow_cooker

A load tester focused on lifecycle issues and long-running tests
Apache License 2.0
327 stars 26 forks source link

[WIP] Possibility to get services hosts list from eurekaAPI #74

Closed sgaluzin closed 1 year ago

sgaluzin commented 1 year ago

This PR add possibility to use Eureka API for getting hosts list for testing. If you set -useEureka parameter in command prompt, then slow_cooker will try to get data from url argument(it should be url to EurekaAPI GET /eureka/v2/apps ) If you set -eurekaService parameter, slow cooker will filter instances list by app tag Example: ./slow_cooker -useEureka -eurekaService myservicename htttp://eurekahost.com/eureka/v2/apps