【问题标题】:I am not able to capture SRN value in jmeter using regular exp extractor我无法使用常规 exp 提取器在 jmeter 中捕获 SRN 值
【发布时间】:2017-06-28 13:24:07
【问题描述】:

enter image description here

即使响应中存在该值,调试采样器仍显示未找到。 我已经尝试过使用 cookie 管理器、授权管理器、标头管理器、放气、bean shell 预处理器。

该请求的响应断言也失败了。enter image description here

【问题讨论】:

  • 尝试 (.*) 代替 (.*?)

标签: regex jmeter performance-testing


【解决方案1】:

您可以改用 XPath Extractor,这样会更容易,这里是要使用的 XPath

//*[@name='SRN']/@value

请确保检查选项,在 XPath 提取器中使用整洁和安静

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-07-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-06-18
    • 1970-01-01
    相关资源
    最近更新 更多