有人可以向我提供用于从以下响应中检索 sessionId 值的 xml 查询:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:createUserResponse xmlns:ns2="http://www.musicthp.com"
isNewUser="false"
profileId="32109"
sessionId="ryIlb+E5yj7FReA2w96uag=="
success="true">
<duration>316</duration>
</ns2:createUserResponse>
我尝试使用 /ns2:createUserResponse/@sessionId 并且似乎没有返回任何内容。我想在 jmeter 的 XPATH 提取器中使用这个查询。我的要求:我需要使用 xpath 提取器检索 sessionId 值并在后续请求中使用该值。
提前感谢您的帮助