Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Click a html button in JMeter

Tags:

html

jmeter

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>
like image 348
Virendra Joshi Avatar asked Oct 04 '22 03:10

Virendra Joshi


1 Answers

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

like image 69
Manish Sapariya Avatar answered Oct 13 '22 12:10

Manish Sapariya