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 container randomly selected
- Retrieve one nonRdfSourceDescription from that container.
- Replace that nonRdfSourceDescription's binary with a sequence of random bytes of the same length.
- Retrieve fixity information for that binary.
- Repeat 100 times:
- Delete one container randomly selected.