Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Using the results of writeable Datasources in REST request payloads

Options
BrianQuantum
BrianQuantum Posts: 23

I am storing part of a result of a rest query in a writeable datasource. In the XML databank, I am extracting the parent (/:elementList/element[]/coordinate[1]/child::node() ) and storing the 6 children in a datasource column ("coord"). In a subsequent rest request, I want to use the values from the datasource column. However, the rest request's payload is structured like:








In the rest request payload view, using Form XML, when I select the parameterized option for the value and select the drop down, of course, just the datasource column is available. Is there a way to specify the column name and then the row?

Best Answer

Answers

  • BrianQuantum
    BrianQuantum Posts: 23
    Options

    The structure did not get included. It is
    coordinate:
    f:
    r:
    s:
    c:
    ro:
    t:
    coordinate
    Where f, r, s, c, ro, t are children of coordinate.