如何访问 属性 在请求参数中使用 SOAPUI 中的上下文设置

How to access property set up using Context in SOAPUI in request parameters

我正在从响应中获取 ID,并且设置为 context.id 参数。我无法在后续请求中使用 ${id} 或 {context.id}

访问相同内容
//Set the id property using context
context.id = jsonSlurper.data.id

context 是 属性 扩展的特例。

在您的关注请求中,您可以使用关注符号来访问 属性:

${=context.id}