Forum Discussion

richie's avatar
richie
Community Hero
7 years ago

Capture Header Value For Property Transfer

Hi,   I need to transfer the value of a custom header from a response to pass onto a subsequent GET request.   I found the following (which is very helpful) but I'm a little stuck   My test hie...
  • PaulMS's avatar
    7 years ago

    Remove the dot before [0]  and toString() is probably not necessary as the property value will always be set as string.

     

     

    groovyUtils.setPropertyValue("Properties", "originalFilename", value[0])