Forum Discussion

nkasemsan's avatar
nkasemsan
Occasional Contributor
8 years ago

Property Transfer Test Step adding extra bracket in the value

Hi,   I'm new to SOAPUI and am currently using the OpenSource version 5.3.0.  I have a Property Transfer Test step that retrieves an attribute in an element from the previous step.  This Property T...
  • PaulMS's avatar
    8 years ago

     

    To get the first item use the expression $.ItemList[0].Id

     

    The response was an array because [:1] notation will include all items from index 0 (inclusive) until index 1 (exclusive)

    https://github.com/json-path/JsonPath