Mason
15 years agoFrequent Contributor
[RESOLVED] Property Expansion in RequestFilter.filterRequest script
I was wondering if the Groovy script written for these events in the Events tab support Property expansion?
For example:
Reason I ask is, the Soap log is indicating compiler error, complaining about the '#' symbol. I've tried escaping the characters, I've tried it without quotes, still getting compiler errors.
Any advice?
Thanks,
Mason
UPDATE: 09-25-2009 - 4:22 PM (EST) - I have since figured out that I need to use the getProperty method from the CONTEXT scope but I found another issue. (New post)
For example:
def NTT_id_header = context.getProperty("PostMethod")
NTT_id_header.setRequestHeader("NTT_id", "${#TestSuite#subscriber.NTT}");
Reason I ask is, the Soap log is indicating compiler error, complaining about the '#' symbol. I've tried escaping the characters, I've tried it without quotes, still getting compiler errors.
Any advice?
Thanks,
Mason
UPDATE: 09-25-2009 - 4:22 PM (EST) - I have since figured out that I need to use the getProperty method from the CONTEXT scope but I found another issue. (New post)