Search code examples
javatestingjmeterweblogicperformance-testing

Why JMeter HTTP Proxy server is not recording my local WebApp


I am working with Jmeter 3.1 version and trying to record my local web page. I use a recording template with the default configuration:

File-->Templates-->Recording-->Create

After this, i changued the browser (iexplore) LAN settings:

Internet options --> Connections --> LAN settings 

enter image description here

finally, i started the Test Script Recorder using the default configuration created by the template:

enter image description here

enter image description here

The issue is Jmeter is not recording anything for my localhost page [HTTP]:

http://localhost:7001/MyPage

recording result:

enter image description here

but it does for my server deployed app [HTTPS]:

https://168.12.4.20/System/MyPage

Recording result:

enter image description here

When I follow the instructions in the official manual, the same thing happens

What am I doing wrong? Any recommendation ?

Thank's in advance!


Solution

  • First of all try disabling automatic proxy configuration

    IE Auto Proxy Config

    JMeter should not "feel" the difference between local and remote deployments, it captures HTTP Requests which are being made by the web browser through its proxy. If JMeter isn't able to "see" the request it normally indicates one of the following:

    1. The request doesn't go into the proxy
    2. JMeter isn't able to "understand" the request (it is not HTTP/HTTPS protocol, JMeter's certificate is not installed in browser, etc.)

    You can try out JMeter Chrome Extension as an alternative way of recording a JMeter script, in this case you won't have to worry about proxies and certificates.