Yes, you are absolutely correct. Actually, I need to define the variable
var $http = require(‘request’);
I have a few questions :
After 180s – 3 min we have ‘Job Time out’ .Can we increase this time out session?
Scripted Browser monitor type and API monitor type, I am getting NetworkError: Monitor produced no traffic.
But the log is displayed correctly. That’s why I have used sripted Browser monitor and passing the URL in the $browser.get(URL) to overcome the issue of “Monitor produced no traffic.”
Is there another way to do that??
Question 3: most Important part
Am using the $http.get but i found that for one of the URL the page is displayed but still response.status return 404: Not found
Can you tell me why we have this 404??