For example, creating a number of threads to generate load can be done trivially with Apache Bench (ab), I'm looking for a scenario builder with lots of traffic data. I'm referring to the "needle in the haystack" scenario builder.
I started with some ideas on how to create multiple "stubs" in a thread pool so that I can force concurrent payloads to hit a service to test. Using the Spring Framework and Spring Boot, this task became super simple. I ended up with the following:
and the following TaskExecutor bean:
Of course, this is only a start with the following potential test:
- "Transaction boundaries" defined in my code.
- Verify the "concurrency" setup.
- Create a set of scenarios (the needle in the haystack)
I'll update more on this journey as I add more to the data generator project I have been creating.