Click a html button in JMeter

html, jmeter

Solution

You need to record the requests to see exactly what kind of requests are generated by your application.

Follow this tutorial to understand how to go about it.

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

Problem

I need to click an Add button.I have traversed to the page having the Button,as verified from Response data in View Results Tree. I tried making a get request (post button click URL)but that didn't work. Below is the HTML of the Button ``` <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> ```

Original source