单击 JMeter 中的 html 按钮

Vir*_*shi 5 html jmeter

我需要单击一个添加按钮。我已经遍历到具有该按钮的页面,正如查看结果树中的响应数据所验证的那样。我尝试发出获取请求(发布按钮点击 URL),但这没有用。

下面是按钮的 HTML

<button 
    class="bigbutton ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
    onclick="var win = this.ownerDocument.defaultView || this.ownerDocument.parentWindow; if (win == window) { window.location.href='?x=KOGI5TeEN-U*JE6roI7oZMd-OfKSr5oQnRTh7tHdN*Bh66LwE2vEHDjxo9WFuOf7Ti2zcBh-IaE'; } ;return false" 
    style="float: right;" 
    role="button" 
    aria-disabled="false">
<span class="ui-button-text"> Add </span>
Run Code Online (Sandbox Code Playgroud)

Man*_*iya 4

您需要记录请求以准确了解您的应用程序生成了哪些类型的请求。

请按照本教程了解如何进行操作。

http://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.pdf