{"id":1431,"date":"2010-09-22T18:02:37","date_gmt":"2010-09-22T22:02:37","guid":{"rendered":"http:\/\/www.webperformanceinc.com\/load_testing\/blog\/?p=1431"},"modified":"2014-07-17T17:11:28","modified_gmt":"2014-07-17T21:11:28","slug":"recording_local_host_server","status":"publish","type":"post","link":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2010\/09\/recording_local_host_server\/","title":{"rendered":"How-To: Recording Local Host Server"},"content":{"rendered":"<p>Recently we have been getting a lot of questions regarding how to use Load Tester to record against local host.\u00a0 While it is possible to record a local server, and may be useful for testcase development, it is however not recommended to run a load test on the same machines as the local server.\u00a0 Running a load test on the server can produce confusing and misleading results as well as cause resource issues.\u00a0 In order to get useful results, Load Tester and the web server need to be on separate machines.<\/p>\n<p>In order to record against the local host; use the LAN IP address of your work station as the URL, instead of 127.0.0.1 or http:\/\/localhost.\u00a0 Load Tester configures the browser to use Load Tester&#8217;s internal testcase recorder as a proxy server, in order to record the traffic between the browser and the server.\u00a0 When Internet Explorer sees that you are browsing to a site on the local machine (using either 127.0.0.1 or local host,) it assumes that you don&#8217;t really want to use a proxy server, thus ignoring the configuration change made by Load Tester and bypassing the recording proxy.\u00a0 Using the LAN IP address gives you a work around the issue.<\/p>\n<p>If using the LAN IP address does not work, you may need to manually configure the proxy settings on the browser you are using.\u00a0 Below I have the steps on how to manually configure Mozilla Firefox 3.6 and Internet Explorer 8.<\/p>\n<p><strong>Mozilla Firefox 3.6<\/strong><br \/>\nOpen up an instance of Firefox and click on <strong>Tools<\/strong>-&gt;<strong>Options<\/strong>-&gt;<strong>Advanced<\/strong><em>.<\/em> Select the <strong>Network<\/strong> tab and click on the <strong>Settings<\/strong> button.\u00a0 The following window will pop up:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1444\" title=\"mozilla\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2010\/09\/mozilla.jpg\" alt=\"mozilla\" width=\"359\" height=\"383\" \/><\/p>\n<p>Select the &#8220;Manual Proxy Configuration&#8221; radio button and enter the HTTP proxy and port.\u00a0 Make sure to clear the &#8220;No proxy for:&#8221; field if it has anything in it.\u00a0 Click the <strong>ok<\/strong> button and you are done!<\/p>\n<p><strong>Internet Explorer 8<\/strong><br \/>\nOpen up an instance of IE and click on <strong>Tools<\/strong>-&gt;<strong>Internet Options<\/strong>-&gt;<strong>Connections. <\/strong>Click on the <strong>LAN Settings<\/strong> button and the following window will pop up:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1452\" title=\"LANSettings\" src=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-content\/uploads\/2010\/09\/LANSettings.jpg\" alt=\"LANSettings\" width=\"354\" height=\"310\" \/><\/p>\n<p>Select the &#8220;Use a proxy server for your LAN&#8230;&#8221; check box and type in the address and port number.\u00a0 make sure the &#8220;Bypass proxy server&#8230;&#8221; option is unchecked.\u00a0 Click on the <strong>Advanced<\/strong> button and make sure that the &#8220;Exceptions&#8221; field is empty.<\/p>\n<p>With all the proper configurations in place you should now be able to record your local site.\u00a0 As a reminder, please be advised that running a load test on the same machine that your local server is hosted on will yield unfavorable results and is generally NOT recommended.<\/p>\n<p>-Margaret<br \/>\nEngineer at Web Performance<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently we have been getting a lot of questions regarding how to use Load Tester to record against local host.\u00a0 While it is possible to record a local server, and may be useful for testcase development, it is however not recommended to run a load test on the same machines as the local server.\u00a0 Running a load test on the server can produce confusing and misleading results as well as cause resource issues.\u00a0 In order to get useful results, Load Tester and the web server need to be on separate machines.<br \/>\nIn order to record against the local host; use the &hellip; <a href=\"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/2010\/09\/recording_local_host_server\/\">Continue reading &raquo;<\/a><\/p>\n","protected":false},"author":49,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-1431","post","type-post","status-publish","format-standard","hentry","category-load-testing"],"_links":{"self":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/1431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/users\/49"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/comments?post=1431"}],"version-history":[{"count":32,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/1431\/revisions"}],"predecessor-version":[{"id":4945,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/posts\/1431\/revisions\/4945"}],"wp:attachment":[{"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/media?parent=1431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/categories?post=1431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webperformance.com\/load-testing-tools\/blog\/wp-json\/wp\/v2\/tags?post=1431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}