Jmeter - 如何提取 JSON 响应数据并将其分配给 cookie?
Jmeter - How to extract JSON response data and assign those to cookie?
我想提取 json 响应数据并将它们分配给下一个请求 cookie。谁能帮我解决这个问题。
提前致谢。
- 您可以使用 JSON Extractor. See Jayway JsonPath - Getting Started 从 JSON 中提取所需的值以了解有关 JSONPath 的更多信息。
- 一旦您有 JMeter Variable holding the value you can use HTTP Cookie Manager 配置 JMeter 以发送额外的 cookie。
我想提取 json 响应数据并将它们分配给下一个请求 cookie。谁能帮我解决这个问题。
提前致谢。
- 您可以使用 JSON Extractor. See Jayway JsonPath - Getting Started 从 JSON 中提取所需的值以了解有关 JSONPath 的更多信息。
- 一旦您有 JMeter Variable holding the value you can use HTTP Cookie Manager 配置 JMeter 以发送额外的 cookie。