Forum Discussion
M_McDonald
15 years agoSuper Contributor
Sure. The following code in the event:
results in this reponse:
[tt:2xxc5tjj]
${#TestCase#Value}
[/tt:2xxc5tjj]
I know I can wrap this in a context.expand(), but I would think that the value would have already been expanded for the request to be submitted.
def value = request.getProperty("Value").value
xmlResult = """<resultset>
<property name="Value">${value}</property>
</resultset>"""
context.httpResponse.responseContent = xmlResult
results in this reponse:
[tt:2xxc5tjj]
I know I can wrap this in a context.expand(), but I would think that the value would have already been expanded for the request to be submitted.
Related Content
Recent Discussions
- 11 hours agoLukaszK