DescartesResearch / TeaStore

A micro-service reference test application for model extraction, cloud management, energy efficiency, power prediction, single- and multi-tier auto-scaling
https://se.informatik.uni-wuerzburg.de
Apache License 2.0
118 stars 136 forks source link

Add locust and jmeter rps-baed loadtest profiles #218

Closed Angi2412 closed 2 years ago

Angi2412 commented 2 years ago

This PR adds two new load test profiles for the Teastore:

  1. Jmeter: a load test profile that is rps-based (open workload)
  2. Locust: a browse and buy profile

The profiles follow the following scheme:

Bildschirmfoto 2022-07-15 um 10 24 00

I used these profiles in my master thesis and to be published paper (Euro-Par 2022). The citation will follow once it's published.

SimonEismann commented 2 years ago

Hi @Angi2412, this looks pretty useful. Extending the number of load generators we support has been a longstanding issue. I'm also pretty sure that nobody is really using the existing JMeter configuration with a closed workload, so the open workload script would be quite the improvement.

I'll test the load profiles either later today or early next week. At a first glance, they look pretty good :)

Some minor improvements that might be useful:

Angi2412 commented 2 years ago

@SimonEismann I added more comments to the locust profile and an instruction section.

SimonEismann commented 2 years ago

@Angi2412 I finally got around to testing the load profiles, and they work great! Thanks also for providing the documentation on how to use locust, I think this will be quite helpful. After having a look, it seems like the load profiles already had solid comments.

I've merged the changes and they should be ready to use now :)