You are here: Foswiki>Main Web>TestBed (11 Dec 2012, DustinFox)EditAttach

TestBed

The Test Bed is a simple HTML page that allows you to post any XML string directly to the XmlEngine or SmartXchange Proxy as a request, displays the response XML, and provides many sample requests that expedite the creation of a new request.

Test Bed is most often used to simulate request/response workflows during the design phase of a new SmartIntegrator service or to provide analysis on the behavior of an existing service.

SITestBed.jpg

Setup

  1. Right-click and download "testbed.html.txt" file to your local machine. It is at the bottom of this webpage.
  2. Remove the .txt extension so the file is now called "testbed.html."
  3. Testbed.html can now be treated as the TestBed utility. Save it in your working directory and run locally in your browser when need.

Instructions

  1. Select to either post a request through SmartIntegrator or SmartXchange.
  2. Enter your credential for the request.
    1. If connecting through SmartIntegrator, these will be the Office Name, User Name, and Password of some SmartOffice User Account.
    2. If connecting through SmartXchange, these will be the Adapter Name, User Name, and Password of your partner credentials.
  3. Enter the XML of the request you would like to post. Alternately, you can select one of the sample request links to populate XML and then alter it to suit your needs.
  4. Click the Submit button.
  5. Read the Response XML from SmartOffice.



-- Main.dustin - 24 Oct 2012
Topic attachments
I Attachment Action Size Date Who Comment
testbed.html.txttxt testbed.html.txt manage 80.8 K 07 Dec 2012 - 21:53 DustinFox Testbed utility. Save locally, and remove the .txt extension of this file so it ends in .html. Run locally on your browser.
Topic revision: 11 Dec 2012, DustinFox
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback