Forum Discussion

dev16's avatar
dev16
Contributor
8 years ago

get the dynamic property value in json post request

Hi  I m run the Below groovy script where currently i am facing one issue  i have created test case level property and created excel sheet header name over there dynamically  e.g. in excel sheet  ...
  • PaulMS's avatar
    PaulMS
    8 years ago

    Are you using property expansion like

     

    {
    "caseId":"${PropertiesInfo#caseId}",
    "onsetDate":"${PropertiesInfo#onsetDate}",
    "visitDate":"${PropertiesInfo#visitDate}",
    "doctorAssociationId":"${PropertiesInfo#AssociationId}"
    }