我需要attr。价值componentId
和interactionstate
从HTML通过JMeter,我尝试与XPath提取器,但我不能这样做。如何从JMeter中的XPath提取器的响应中提取属性?
<html>
<body>
...
<form ...>
<form class="UIForm" id="UINavigationComposer" action="/portal/intranet/home?portal:componentId=d934d0f3-d465-4c1d-880a-45f54b3c48e2&interactionstate=JBPNS_rO0ABXcwAAt1aWNvbXBvbmVudAAAAAEAFFVJTmF2aWdhdGlvbkNvbXBvc2VyAAdfX0VPRl9f&portal:type=action" method="post">
<form ...>
...
</body>
</html>
我尝试使用XPath查询:
/html/body/[email protected][id=UINavigationComposer]/@action
但得到的错误:
Assertion failure message: /html/body/[email protected][id=UINavigationComposer]; => The reference to entity "portal:action" must end with the ';' delimiter.