Create Test Definition
1. Navigate and log in to the Oracle AIA Console (e.g., http://oradev:8001/AIA).
2. Select the Validation System tab.
3. Click the Definitions link.
4. Click Create Test.
5. Enter the Required Values on the Create Test page:
a. Id: unique key identifier that is assigned to the test definition
b. Name: HelloWorld
c. Type: Test
d. Service Type: Select the business service pattern of the web service (Synchronous, Notify, Asynchronous)
e. Service Name: HelloWorld
f. Service Version: Enter the web service you want to test using the test definition.Version of web service.
g. Process Name: Enter the name of the process that includes the web service you want to use.
h. PIP Name: Enter the name of PIP that includes the web service you want to test using the test definition.
i. Endpoint URL: Enter the URL of the web service you want to test using the test definition.
j. Get Operations: Click to display the list of operations supported by WSDL associated with the Endpoint.
k.SOAP Action: If you clicked Get Operations to select an operation in the Select WSDL operations.
l. Get Messages: Click to generate a request stub message for operation specified in the SOAP Action field.
Test Messages (Use group box to enter request and response XML message text)
1. Request Message: Entering request message XML text for a test definition is required, whether the Service Type field value is set to Synchronous, Notify, or Asynchronous.
* If you are manually entering your request message, the “Paste your SOAP Message Content here” text in the stub message indicates where you should paste your actual request message text. This request message should mimic the XML message text sent by the service that normally initiates the service.
2. Response Message: The ability to enter response message XML text is available
when the Service Type field value is set to Synchronous or Asynchronous.
* If you are manually entering your request message, the “Paste your SOAP Message Content here” text in the stub message indicates where you should paste your actual response message text. Enter a response message that is the expected response message XML.
Create Simulator Definition
2. Select the Validation System tab.
3. Click the Definitions link.
4. Click Create Simulator
a. Id: unique key identifier that is assigned to the simulator definition.
b. Name: HelloWorld
c. Type: Simulator
d. Service Type: Select the business service pattern of the web service (Synchronous, Notify, Asynchronous)
e. Service Name: HelloWorld
f. Service Version: Enter the web service you want to test using the test definition.Version of web service.
g. Process name: Enter the name of the process that includes the web service you want to use.
h. PIP Name: Enter the name of PIP that includes the web service you want to test using the simulator definition.
1. Request Message: Entering request message XML text for a simulator definition is required, whether the Service Type field value is set to Synchronous, Notify, or Asynchronous.
2. Response Message: The ability to enter response message XML text is available* If you are manually entering your request message, the “Paste your SOAP Message Content here” text in the stub message indicates where you should paste your actual request message text. This request message should mimic the XML message text sent by the service that normally initiates the service.
when the Service Type field value is set to Synchronous or Asynchronous.
* If you are manually entering your request message, the “Paste your SOAP Message Content here” text in the stub message indicates where you should paste your actual response message text. Enter a response message that is the expected response message XML.
No comments:
Post a Comment