Which two statements are true about test definitions and simulator definitions?
A.
“Simulator definition” is a synonym for “test definition”. Therefore, both terms are used
interchangeably.
B.
Simulator and test definitions can be used together.
C.
Both simulator and test definitions are typically defined using a command-line utility.
D.
Test definitions and simulator definitions can be introduced at several points in a flow
Explanation:
The CAVS framework operates using the following key components:
* Test definition* Simulator definition
Test Definition
The CAVS test initiator reads test data and feeds it to the web service being tested. You create the
test data as a part of a test definition. The test definition is a configuration of the test initiator and
contains test execution instructions.
The CAVS user creates a definition using the CAVS user interface (UI) to define the service
endpoint URL that needs to be invoked, as well as the request message that will be passed along
with metadata about the test definition itself.
The test initiator is a logical unit that executes test definitions to call the endpoint URL defined and
creates test instances. This call is no different from any other request initiated by other clients. If
the test definition Service Type value is set to Synchronous or Asynchronous two-way, the actual
response can be verified against predefined response data to validate the accuracy of the
response.
Simulator Definition
The CAVS simulator is used to simulate a web service. Simulators typically contain predefined
responses for a specific request. CAVS users create several simulator definitions, each for a
specific set of input.
At run time, the CAVS simulator framework receives data from the service being tested. Upon
receiving the request, CAVS locates the appropriate simulator definition, validates the input
against predefined request values, and then returns predefined response data so that the web
service being tested can continue processing.
Reference: Oracle Fusion Middleware Concepts and Technologies Guide for Oracle Application
Integration Architecture Foundation Pack:
Introduction to the Composite Application Validation System
Creating and Modifying Test Definition
Creating and Modifying Simulator Definitions