IBM E02HMLL-I Implementation Guide - Page 211
Comparing, business, object, instances
![]() |
View all IBM E02HMLL-I manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 211 highlights
map or collaboration logic that responds differently depending on the exact values in the business object. Do the following to set the values of business object attributes : 1. Select the business object instance in the "BO Request List" pane. 2. Select Request > Edit Response from the menu bar. 3. Do the following to edit the attributes of the business object: v Use one of the techniques described in "Setting values for business object attributes" on page 196 to modify the values of the business object attributes. v Click Reset BO to default to set the values of the business object attributes to their default values as specified in the business object definition. v Click Clear BO values to clear the values of all the attributes in the business object. v Click Load BO to populate the attributes of the business object with test data from a file. The ability to load saved data into a business object request is very useful in situations where you have to populate a response business object with data before sending it as a reply. Instead of manually typing a value for each attribute that requires response data, you can type the values once, save the business object (as described in "Saving a business object" on page 197), and then load the saved data on subsequent tests. Sending a response business object After you accept a request business object, edit the business object, if needed, and send it back as a reply. Table 23 lists Test Connector's reply options and shows their corresponding connector return codes for both C++ and Java connectors. Table 23. Test Connector reply types and connector return codes. Test Connector reply type Success Fail Multiple Hits Retrieve By Content Fail Not Found Value Duplicate C++ connector return code BON_SUCCESS BON_FAIL BON_MULTIPLE_HITS BON_FAIL_RETRIEVE_BY_CONTENT BON_BO_DOES_NOT_EXIST BON_VALDUPES Java connector return code SUCCESS FAIL MULTIPLE_HITS RETRIEVEBYCONTENT_FAILED BO_DOES_NOT_EXIST VALDUPES To reply to a request business object, do the following: 1. Select the business object in the "BO Request List" pane. 2. From the menu bar, select Request > Reply. 3. Select an item from the Reply submenu. Comparing business object instances Test Connector can compare two business objects of the same type and display the attributes that differ in value. You can use this function to view changes to a business object at different points in the execution of a transaction (for instance, you could compare a business object that has been sent to the integration broker with the same business object after the integration broker has updated it). To compare two business objects, do the following: Chapter 11. Using Test Connector 199
![](/manual_guide/products/ibm-e02hmlli-implementation-guide-69bfebe/211.png)