Getting as Network Error while recording via JMeter

36 views Asked by At

While recording the Application using Jmeter after entering the credentials and clicking on login button getting as Network Error.

Not able to login into the application but while browsing the application no issue observed. Only when recording via Jmeter this Network Error is getting.

enter image description here

1

There are 1 answers

0
Dmitri T On

It's something specific for your application, we cannot state what is the root cause by looking into the screenshot.

Things to check:

  1. Console and Network tabs of your browser developer tools
  2. jmeter.log file

Potential reasons I can think of:

  • You haven't imported JMeter's certificate into your browser/operating system. Refer to HTTPS recording and certificates chapter of HTTP(S) Test Script Recorder JMeter User Manual entry for more details
  • You're behind a corporate proxy. In this case you need to make JMeter aware of this upstream proxy so it would be able to access the Internet

Also be aware of an alternative way of recording a JMeter test: JMeter Chrome Extension, in this case you won't have to worry about proxies and certificates and will be able to just record your test using your browser with possibility to export recorded requests in form of JMeter .jmx test script afterwards