Forum Discussion

darraghor's avatar
darraghor
New Contributor
10 years ago

Project Event and request content with evaluated properties

Hey,   I'm trying to run a Groovy script in the project level events (requestfilter.FilterRequests) and I need the fully evaluated content/body of my request to calculate a hash on the content. The...
  • darraghor's avatar
    10 years ago

    I found out that to evaluate the properties in the request you have to call context.expand on it

     

    so the correct answer is... context.expand(request.requestContent)