# Not able to record the Script using Jmeter getting below mentioned error message

Not able to record the script using Jmeter ,getting below mentioned error message.

• Hi Vinayak, welcome to SQA. There's not much we can do with a screenshot - are you able to paste the code in to your question please?. Also, what have you tried already to fix the error? – trashpanda Aug 23 '18 at 10:06

The error means that JMeter is not able to resolve http://newtours.demoaut.com/ address, the reasons could be in:

1. Your machine is not connected to the Internet. If this is the case - contact your network administrator or try recording local intranet resources
2. Your machine is accessing the Internet via corporate proxy. If this is the case you need to configure JMeter to use the same proxy server as your operating system uses to go to the Internet. This can be done in 2 ways:

• via command-line arguments like

jmeter -H my.proxy.server -P 8000 -u username -a password -N localhost

• via system.properties file like:

http.proxyHost=my.proxy.server
http.proxyPort=8000
https.proxyHost=my.proxy.server
https.proxyPort=8000


JMeter restart will be required to pick the changes up