Using CA Application Test › Using the Workstation and Console with CA Application Test › Building Test Cases › Assets › Runtime Scope
Runtime Scope
The runtime scope specifies the minimum level at which an open asset instance is cached and reused at runtime.
Each asset has a runtime scope. In addition, an operation in a test step can have a runtime scope.
The valid values are:
- Step: An open asset instance is cached and reused during the step in which it is accessed. When the step is finished, the asset instance is closed.
- Model: An open asset instance is cached and reused during the model execution in which it is accessed. When the model execution is finished, the asset instance is closed.
- Staged: An open asset instance is cached for all instances of the model in which it is accessed to reuse. When all instances of the staged model are finished, the asset instance is closed.
- Global: An open asset instance is cached for all clients in the current JVM to reuse globally. When an asset instance has been idle for a short time, the asset instance is closed. This scope is the largest possible scope.
- Default: An open asset instance is assigned to the smallest scope available.
If an asset is used in an operation, the runtime scopes for the asset and the operation can differ. DevTest evaluates the runtime scopes and determines the proper one to use.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|