<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8434640777825964932</id><updated>2024-10-24T18:28:02.497-07:00</updated><title type='text'>OpenSTA - An Open Source Load Testing Tool</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://karthik-opensta.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8434640777825964932/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://karthik-opensta.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Karthik</name><uri>http://www.blogger.com/profile/09881031231865488601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8434640777825964932.post-7603304101957398819</id><published>2010-04-16T05:25:00.001-07:00</published><updated>2010-04-19T00:03:17.344-07:00</updated><title type='text'>OpenSTA - Getting Started</title><content type='html'>&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Hi, I&#39;ve created this blog for all those who are looking for OpenSTA references.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Open System Testing Architecture - OpenSTA is a distributed software testing architecture designed around CORBA. The current toolset has the capability of performing scripted Web (HTTP and HTTPS) heavy load tests with performance measurements from Win32 platforms. Scripts are recorded in a proprietary language called &quot;SCL&quot;. It is a fairly simple coding language that provides support for custom functions, variable scopes, and random or sequential lists.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Results and statistics are collected during test runs by a variety of automatic and user controlled mechanisms. These can include scripted timers, SNMP data, Windows Performance Monitor stats and HTTP results &amp;amp; timings. Much of the data logged can be monitored live during the test runs; once test runs are complete, logs can be viewed, graphed, filtered and exported for use by more sophisticated report generation software.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms; font-weight: bold;&quot;&gt;Errors &amp;amp; Work arounds &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms; font-weight: bold;&quot;&gt;ERROR 10048:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;(Only one usage of each socket address (protocol/network address/port) is normally permitted. )&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms; font-weight: bold;&quot;&gt;Reason:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;This error occurs when your injector cannot allocate new sockets. In Windows the default limitation is 5000. 5000 being the max user port available out of which the first 1024 open sockets which are reserved ports.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms; font-weight: bold;&quot;&gt;Workaround 1 :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/_81ec48QMBPo/S8v_m8Y5-kI/AAAAAAAAAAU/JsQ4Ljo6QFk/s1600/HKEY_LOCAL_MACHINE.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;231&quot; src=&quot;http://2.bp.blogspot.com/_81ec48QMBPo/S8v_m8Y5-kI/AAAAAAAAAAU/JsQ4Ljo6QFk/s400/HKEY_LOCAL_MACHINE.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: trebuchet ms; font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Increase the default maximum socket value in the registry:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Go To -&amp;gt; Regedit -&amp;gt; HKEY_LOCAL_MACHINE -&amp;gt; SYSTEM -&amp;gt; CurrentControlSet -&amp;gt; Services -&amp;gt; Tcpip -&amp;gt; Parameters -&amp;gt; create/edit DWord value &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_81ec48QMBPo/S8v6Kh0whdI/AAAAAAAAAAM/RhUF2fEOZZE/s1600/HKEY_LOCAL_MACHINE.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;
&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/_81ec48QMBPo/S8v_yS1NpxI/AAAAAAAAAAc/RILgIQMR7NI/s1600/HKEY_LOCAL_MACHINE_TcpIp.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;212&quot; src=&quot;http://4.bp.blogspot.com/_81ec48QMBPo/S8v_yS1NpxI/AAAAAAAAAAc/RILgIQMR7NI/s400/HKEY_LOCAL_MACHINE_TcpIp.JPG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;MaxUserPort&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Set the value as “fffe” (hexadecimal)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;TCPTimeWaitDelay&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Change the value to “1e” (hexadecimal)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms; font-weight: bold;&quot;&gt;Workaround 2:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Another workaround for the above ERROR 10048 is to add the following parameters in TExecuter_Web.ini configuration file:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;OpenSTA -&amp;gt; installed path -&amp;gt; engines -&amp;gt; TestExecuter_web -&amp;gt; Add the below parameters below the section [SOCKET] to obtain unique port (i.e. to handle the error code 10048):&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Linger=0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;ReuseAddr=1&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Timeout=360000&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Setting the Linger option to 0 (possible values are 0 or 1) means that the sockets will be closed immediately. Normally closed sockets stay in a TIME_WAIT state during the time specified by the &quot;TcpTimedWaitDelay&quot; value in the previously mentioned registry key. The reason to do this is that closed sockets are cleaned immediately and their resources are made available to open new sockets.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Setting the ReuseAddr option to 1 (possible values are 0 or 1) means that (from MSDN docs): &quot;By default, a socket cannot be bound (see bind) to a local address that is already in use. On occasion, however, it can be necessary to reuse an address in this way. Since every connection is uniquely identified by the combination of local and remote addresses, there is no problem with having two sockets bound to the same local address as long as the remote addresses are different. To inform the Windows Sockets provider that a bind on a socket should not be disallowed because the desired address is already in use by another socket, the application should set the SO_REUSEADDR socket option for the socket before issuing the bind.&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms; font-weight: bold;&quot;&gt;Error 64:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;(The specified network name is no longer available. ).&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms; font-weight: bold;&quot;&gt;Reason:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;    * If multiple users try to access Microsoft Office documents on the server, the &quot;File is locked for editing&quot; message does not always appear when the second user opens the file.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;    * A network trace indicates a 30-second to 40-second delay between an SMB Service client command and a response from the file server.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;    * The users are intermittently disconnected from network resources, and they cannot reconnect to the network resources on the file server. However, you can ping the server, and you can use a Terminal Services session to connect to the server.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms; font-weight: bold;&quot;&gt;Workaround:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Maximize the throughput for File Sharing and Network Applications.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;HKEY_LOCAL_MACHINE -&amp;gt; SYSTEM -&amp;gt; CurrentControlSet -&amp;gt; Services -&amp;gt; lanmanserver -&amp;gt; parameters -&amp;gt; size&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Enter the value ‘3’.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;3 = Maximize Throughput for File Sharing and Maximize Throughput for Network Applications.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;Ignore the following errors as they are already known:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;   1. Error 10060 (A connection attempt failed because the connected party did not properly respond after a period of time).&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;   2. No data available for connection id( )&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: trebuchet ms;&quot;&gt;You can find the list ok known bugs in OpenSTA in the below link: &lt;a href=&quot;http://portal.opensta.org/modules.php?op=modload&amp;amp;name=phpWiki&amp;amp;file=index&amp;amp;pagename=KnownBugs&quot;&gt;http://portal.opensta.org/modules.php?op=modload&amp;amp;name=phpWiki&amp;amp;file=index&amp;amp;pagename=KnownBugs&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://karthik-opensta.blogspot.com/feeds/7603304101957398819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://karthik-opensta.blogspot.com/2010/04/opensta.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8434640777825964932/posts/default/7603304101957398819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8434640777825964932/posts/default/7603304101957398819'/><link rel='alternate' type='text/html' href='http://karthik-opensta.blogspot.com/2010/04/opensta.html' title='OpenSTA - Getting Started'/><author><name>Karthik</name><uri>http://www.blogger.com/profile/09881031231865488601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_81ec48QMBPo/S8v_m8Y5-kI/AAAAAAAAAAU/JsQ4Ljo6QFk/s72-c/HKEY_LOCAL_MACHINE.JPG" height="72" width="72"/><thr:total>1</thr:total></entry></feed>