user28
user28

Reputation: 259

Recording Microsoft Edge using JMeter

I am trying to record my company intranet site using Edge browser through JMeter 5.1.1. JMeter seems to be working fine with Firefox and Chrome, but not with Edge.

I am getting "Go to proxy settings" error message when I try to access the home page. It's working fine in my personal laptop, but not in my company machine. Is there anything do with firewall to record https traffic in Edge?

Please help me to resolve this.

Thanks in Advance

Upvotes: 1

Views: 4371

Answers (2)

Dmitri T
Dmitri T

Reputation: 168092

It might be the case your company uses a corporate proxy so you need to make JMeter aware of this proxy

Also given you can record using any other browser you can make JMeter to "pretend" being Edge by manipulating User-Agent header using HTTP Header Manager

The relevant User-Agent string for Microsoft Edge 44.17763.831.0 would be

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763

You can get your own Edge User-Agent string from Edge developer tools

enter image description here

Upvotes: 1

Zhi Lv
Zhi Lv

Reputation: 21441

Which version of Edge browser are you using? From this article and this blog, it seems that when using JMeter to recording, you have to configure your browser to use the JMeter Proxy.

To set up a proxy in the Legacy version of Edge browser, please check the following steps:

  1. Launch Edge from your Start menu, desktop or taskbar.

  2. Click the More button in the top-right corner of the window. (It looks like three dots.)

  3. Click Settings.

  4. Click Advanced settings. You might have to scroll down a bit to find it.

  5. Click Open proxy settings.

  6. Click the switch beneath Use a proxy server to turn it on.

  7. Type the IP address of the proxy server you're using, which should be provided to you by the proxy service.
    Type the port number. Again, this number should be provided to you by the proxy service.

    enter image description here

  8. Click Save.

To set up a proxy in the New Microsoft Edge, you could use the following steps:

  1. Launch Edge from your Start menu, desktop or taskbar.

  2. Click the More button in the top-right corner of the window. (It looks like three dots.)

  3. Click Settings.

  4. Click the System, and then click the Open your computer's proxy settings.

    enter image description here

  5. Click the switch beneath Use a proxy server to turn it on.

  6. Type the IP address of the proxy server you're using, which should be provided to you by the proxy service.
    Type the port number. Again, this number should be provided to you by the proxy service.

  7. Click Save button

Upvotes: 0

Related Questions