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.

Parameterizing option to send attribute as empty

Parasofttoudaya
Parasofttoudaya Posts: 232 ✭✭

Hi Team,

I had a requirement where all the json values are parameterized. In which need an option to send the attributes based on the excel input.

If excel input is empty, i don't required send that element.

Regards
Udaya

Comments

  • benken_parasoft
    benken_parasoft Posts: 1,228 ✭✭✭
    edited November 2017

    From the "Form Input View Options" section of the SOAtest User's Guide, which applies to Form JSON view as well:

    To have values stored in a data source dictate whether a value is sent for an optional element:
    1. Right-click the element’s tree node.
    2. Choose Use Data Source> Exclude Element with Empty String.
    3. In the tool configuration panel, ensure that the appropriate data source column is selected under Use data source: Exclude with empty string.