Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SOAVIRT_9.10.5_CTP_3.1.1

Manually creating a data source for parameterizing large, complex messages can be time-consuming and tedious.For a fast way to accomplish this, have SOAtest  You can automatically generate a CSV data source template templates based on the structure of the request or response message that you want to parameterize.To generate and use a data source template:

  1. If the Form Input view does not display all of the elements that you want the generated data source to reference, manually add them or automatically populate the form as described in Populating a Set of Elements with Automatically-Generated Values. Automated population will add nodes for optional elements.
  2. Choose Form Input from the Views drop-down menu

    Conditional ContentProduct: (SOAtest)Product: (SOAtest)sv-attr:0A010204015A9054C88481D043445E2F0A010204015A9054C886C0AC137B8C01for

    menufor the appropriate messaging tool (SOAP Client, Message Stub, Messaging Client)

    .

  3. Right-click the root tree element and choose Generate CSV Data Source.

    Conditional ContentProduct: (SOAVirt, SOAtest)

    Image Added

    Image Added

    Product: (SOAVirt, SOAtest)sv-attr:0A010204015A9054C88481D043445E2F0A010204015CF6008A11EEF43AC91334 0A010204015A9054C886C0AC137B8C01

    Image Removed

    Conditional ContentProduct: (SOAtest, Virtualize)Product: (SOAtest, Virtualize)sv-attr:0A010204015A9054C88481D043445E2F0A010204015A9054C886C0AC137B8C01 0A010204015A9054C88802B9600247DFImage Removed

  4. In the dialog that opens, specify the following settings.
    • File Name: The name of the CSV file that will be generated.
    • CSV File Destination: The workspace location where you want to save the generated file.
    • File separator: The delimiter for the CSV file.
  5. Click OK. A data source will be added to the test suite and each message element will be parameterized with a column from the data source.
  6. Open the generated data source template and add values as needed. These values will be passed to the associated elements during test execution.

...