You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Philipp Theyssen a283d4be46 Refine example scenario for eshop 1 year ago
..
operations Refine example scenario for eshop 1 year ago
transactions Refine example scenario for eshop 1 year ago
README.md Start working on scenario files for workload generation 1 year ago

README.md

Scenario Definition for EshopOnContainers

To use the simulation framework for microservices you have to specify a scenario/workload using json (configuration) files.

The configuration files consist of:

  • operations: a HTTP request
  • transactions: multiple operations sequentially chained together
  • scenario: specifies which transactions are run and other workload configuration like distribution, arguments the transaction should use etc.

The scenario should simulate a workload the microservice application would experience during a given timespan in production.

Scenario for eshopOnContainers

Arguments and Dynamic Variables for Transactions:

  • userId
  • productId

Transactions:

  • Customer reads items, adds item to basket, checkouts basket
  • Customer adds item to basket, removes again, logs out
  • Price update transaction
  • Stock replenished for catalog item
  • Catalog item is removed
  • create Order draft
  • Order cancel

Workload configuration:

  • dataskew on catalog items (distribution of which items are accessed/bought)
  • distribution between different transactions
  • how many concurrent transactions
  • how many total transactions to be executed