【发布时间】:2017-02-13 19:34:28
【问题描述】:
Jmeter 新手。还在学习。任何帮助将不胜感激。
以上是我从之前的响应中获得的 wa、trealm、wctx、wct、wauth 的值的发布请求。 对于上述发布请求,我得到以下响应,其中包含一个隐藏变量“wresult”
<html><head>
<title>Working...</title>
</head>
<body>
<html><head><title>Working...</title></head><body>
<form method="POST" name="hiddenform" action="https://exe.example.com/">
<input type="hidden" name="wa" value="esignin1.0" />
<input type="hidden" name="wresult" value="<t:RequestSecurityTokenResponse xmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust"><t:Lifetim….…….../trust/Issue</t:RequestType><t:KeyType>http://schemas.xmlsoap.org/ws/2005/05/identity/NoProofKey</t:KeyType></t:RequestSecurityTokenResponse>" />
<input type="hidden" name="rctx" value="rm=1&id=f71cbbfb-c9f6-4255-bb38-f9ec81f1d4aa&ru=https%3a%2f%2fexample.com%2fdefault.aspx" />
<noscript><p>Script is disabled. Click Submit to continue.<input type="submit" value="Submit" /></noscript></form><script language="javascript">window.setTimeout('document.forms[0].submit()', 0);</script></body></html>
我必须在下一个请求中发送 wrestle 值。摔跤值应该如下所示。
<t:RequestSecurityTokenResponsexmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust<t:Lifetim……………entity/NoProofKey</t:KeyType></t:RequestSecurityTokenResponse>
但是 wresult 值被发送为
<t:RequestSecurityTokenResponse xmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust"><t:Lifetim….….……entity/NoProofKey</t:KeyType></t:RequestSecurityTokenResponse>" />
在浏览器中,我猜想某些东西将 "&lt;" 替换为 "<”没有被替换
jmeter中的“
谁能告诉我如何解决这个问题?
【问题讨论】: