Windows

This sub-subsection explains how to do a HTTP call to the electronic archive introduced in Introduction outside the Frank!Framework. This subsection gives the instructions Windows users need to follow.

Please do the following:

  1. Open the Frank!Framework by browsing to http://localhost.

  2. Open Ladybug by clicking “Testing” and then clicking “Ladybug”:

    ../../../_images/frankConsoleFindTestTools6.jpg
  3. Enable the report generator as shown:

    ../../../_images/ladybugEnableReportGenerator.jpg
  4. Start Postman.

  5. Go to File | Settings, select tab General.

  6. Ensure that “SSL certificate verification” is not checked, see figure below:

    ../../../_images/postmanSettings1.jpg
  7. Close this dialog.

  8. Select tab Params. Select method POST and type URL localhost/api/archive. See figure below:

    ../../../_images/postmanParams.jpg
  9. Go to tab “Headers”.

  10. Add header Content-Type with value application/xml and select it, as shown:

    ../../../_images/postmanHeaders1.jpg
  11. Go to tab “Body”.

  12. Select radio button “raw”. Then enter the following XML for the body:

    <document>This is the document</document>
    

    See the figure below:

    ../../../_images/postmanBody.jpg
  13. Press “Send”.

  14. To the bottom, you should see the following response:

    ../../../_images/postmanResponse1.jpg

    There are tabs that allow you to see different features of the response (number 1). The body tab is selected, so you see the body of the response (number 2). And you see that the HTTP status code is 200 (number 3), which indicates success.

  15. Switch back to Ladybug and press Refresh:

    ../../../_images/ladybugRefresh2.jpg
  16. You see a table in which your HTTP call appears (number 1):

    ../../../_images/ladybugReport.jpg
  17. Click the line corresponding to your call to the electronic archive (number 1). You see a tree view of the execution of this Frank adapter (number 2). To the right, you see information about the selected node (number 3). In this case, it is the XML message you passed through the body of your HTTP request.

Note

In the tree view you see the abbreviation SUT. This stands for System Under Test.