Creating a stub populated with data
You can create a stub based on the structure of the schema that is defined for the operation and the have the response payload populated with data.
You must have completed the following tasks:
- Defined a service component and an operation under a service component. See Creating a service component and Creating an operation.
- Edited the operation for the MEP settings. See Editing an operation.
- Opened the project in the Test Factory view.
You can create a stub in an operation that uses the message exchange pattern (MEP) either at the time of synchronizing resources or after you have created and bound the physical resource with the logical one in an operation.
When you create a stub you can opt to select the type and value for the objects. You can also opt to include the optional fields in the generated stub.
You have created a stub based on the structure of the schema that is defined for the operation.
You can run the stub. See Publishing and running stubs.
