Travelfusions' XML Test Tool is available for you to send sample XML requests to Travelfusion and receive live responses, in order to help you during your application development, as well as any subsequent issues that you may encounter.
To login to the tool you will, need to use your Travelfusion username and password that you were given when you registered (Note: this is NOT your XmlLoginId). You can check what your username is in the Travelfusion Reports Portal in the 'Administration' section.
When logging in, you can choose whether to use the Production or the Mirror system. This is helpful for testing new XML functions that are released on the Mirror system before they are deployed on the Production system.
Sending a Request
Using the Request window at the top of the screen, you can type in a Travelfusion XML request, and press the 'Send Request' button to submit it to Travelfusion. Your response will appear in the Response window at the bottom of the screen.
Once you have logged in, you'll have access to a menu that contains a number of sample XML transactions that you can use. Simply click on one of the transactions and it will appear in the Request window. You can edit the request before you submit it using the 'Send Request' button.
Different views of the Response data
All XML Responses can be viewed as raw XML, which is the default view of the Response. If you click on the 'Pretty Print' button, the same XML will be displayed, but you can click on the + and - buttons to open and close parent elements.
If the 'Table' button is highlighted, then the XML can be viewed in tabular form. Typically this will be available only when there is a large amount of data within the Response, and it only displays only a limited amount of data from the XML Response, as it would be unreadable to display all the data. If the Table view of your data contains a 'Select' button, then by pressing it you will load the next step (see the next section) and will include the data that you have selected.
Load Next Step
When the 'Load Next Step' button is highlighted, then you can click it and the tool will take data from the Response, load the next logical step into the Request window including the data from the Response.
For example, if you submit a StartRouting Request, you will receive a unique RoutingId in the Response. You can then click the 'Load Next Step' button, which will create a CheckRouting Request in the Request window, and include the unique RoutingId that has just been returned. You will need to click the 'Submit Request' button in order to submit the CheckRouting Request that has been created.
If you are viewing Response data using the 'Table' button, then you may see 'Select' buttons. Pressing a 'Select' button will load the next step and include the data that you have selected within the Request. You will need to press 'Submit Request' as described above to execute the Request.
Your most recent transactions can be found in the History section in the menu. If you click on one of these items, the XML that you previously submitted will load in the window.
Saving a Request
Click on the 'Save Request' button (next to the Send Request button) and you can save the request that you are using. The tool will prompt you to enter a unique name.
All of your saved requests will be available in the transaction window. A saved request has a permanent url attached, which you can use in support requests. You can delete a saved request by clicking on the trash can next to the name of the saved request.