Using the SDK › Testing Integrated Components › Integration Assertions › Check Integrator Response
Check Integrator Response
The Check Integrator Response assertion specifies a test case to execute if the server-side component returns specific values. Attributes include:
- Trans Build Status: The server-side component has set the build status on the TransInfo to a specific value. This field takes one or more build status code letters. For example, to define an assertion that executes if the build status is set to any terminating status, enter the value IEF.
- Trans Build Message Expression: The server-side component has supplied a string as the message parameter to the setBuildStatus method of the TransInfo that matches the specified regular expression.
- Component Name Match:The server-side component created a subcomponent with a name that matches the value of this field. Possible values for the field include:
- empty: Do not evaluate, meaning that there is never a match.
- *: Match anything except a null.
- anything else: Evaluated as a regular expression.
- Component Build Status: the server-side component has set the build status on the CompInfo to a specific value. This field takes one or more build status code letters. For example, to define an assertion that executes if the build status is set to any terminating status, enter the value IEF.
- Component Build Message Expression: the server-side component has supplied a String as the message parameter to the setBuildStatus method of the TransInfo that matches the specified regular expression.
- Exception Type Match:The server-side component threw and exception with a type that matches the value of this field. Possible values for the field include:
- empty: Do not evaluate, meaning that there is never a match.
- *: Match anything except a null.
- anything else: Evaluated as a regular expression.
- Max Build Time (millis): The time to execute the server-side component took less than the number of milliseconds specified.
For more information about assertions, see Using CA Application Test.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|