A workflow profile for performance testing should contain the exact actions that a client would perform to exercise the repository under test. Sections that should be timed to performance should be clearly marked.
Workflow profiles should be combined with Setup profiles to form a coherent test scenario. The concrete actions taken during the workflow will vary, depending on the nature of the Setup source data.
For example:
Indicates a timed section.
- Repeat 1000 times:
- Retrieve one object randomly selected
- Retrieve one datastream from that object.
- Replace that datastream with a sequence of random bytes of the same length.
- Retrieve fixity information for that datastream.
- Repeat 100 times:
- Delete one object randomly selected.
- Delete one object randomly selected.