简体   繁体   中英

Issues With JMeter Proxy Recording

I am having some issues with JMeter recording proxy issues.

I am a Java Developer. I am performing load testing for an application using JMeter.

I have developed one application in JSP with Struts which contains two pages.

The First page contains Login Page which contains fields like username & password with Submit button.

On entering the URL in IE8.0 ie as login.jsp , this action is recording by jmeter correctly.After entering username & password and clicking the submit button it landed at the second page, but this event is not recorded by JMeter proxy server. But when I click on Logout Link at Second page, that event that is clicking the logout link is recording properly.

The major problem which I am facing is when I perform any action on buttons JMeter is not performing recording but when I am clicking any link that action has been recorded by the JMeter properly. Please help me on this.

Do I need to add any thing for Submit button recording?

You need to set the proxy in your browser settings.

One good way you can try if this works, set the proxy settings, turn off the JMeter Proxy, and try to load your page. This should not work. Then turn the JMeter Proxy on, and reload your page. It should load and your Recording Controller should capture the requests.

This worked best for me in Firefox, IE did somehow not use the JMeter Proxy even if I set it. I did not look further into that, as with Firefox it worked fine.

Here is a step-by-step instruction on running the proxy: Link

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM