1

I am able to record my test cases via Http(S) Test Script Recorder but when I run those test cases, they all are failing. Before started recording, I was getting 'No Internet' message on my browser. But once I clicked on "Start' to record and refreshed my site,It started recording. After I am done with recording, Site is again not accessible with the same message 'No Internet' and failing my run. How can I make my site available again? I am using chrome browser. Please help.

Thanks in advance!

2
  • sounds like you have a proxy running for your recorder that's not stopping when you stop recording. Might want to check your settings Jan 22 '20 at 20:34
  • How many Threads are created and what is the ramp-up period?
    – Meet
    Jan 27 '20 at 12:18
0

JMeter's HTTP Test Script Recorder is basically a proxy server which intercepts the requests from the browser to the application under test and records them in form of HTTP Request samplers.

When you stop the HTTP(S) Test Script Recorder the proxy server gets stopped as well therefore the browser cannot access the Internet, you need to go into your browser proxy settings and configure it to not to use JMeter as the proxy

enter image description here

More information: How to set a proxy server in Chrome, Firefox, Internet Explorer, Microsoft Edge and Opera

You might also want to consider using JMeter Chrome Extension, in this case you won't have to worry about proxies and certificates.

0

If I'm understanding it right, your scenario is,

You set up Http(S) Test Script Recorder in Jmeter. This is a proxy recorder.

Hence, you would have configured the necessary proxy configuration in your browser.

You recorded your script and stopped the Http(S) Test Script Recorder.

But, you didn't reset the proxy configuration in your browser.

This would be the reason for the failures and the website not opening in the browser.

Reset the proxy configuration in your browser to default/no proxy and check whether the website opens or not.

Also to avoid all the hazel use Blazemeter's Chrome Extension.

With this you can record your test script from the Chrome browser with any problem. It will also manage the cookies, sessions and certificates related stuff.

Once you've recorded your script you can download the JMX file. You can open this in Jmeter to make changes and run your tests.

To download JMX you may need to register and sign in with a free Blazemeter account. I had listed the steps for recording and downloading the JMX file with Blazemeter here. It may be helpful to you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.