<?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: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-1435151413336779457</id><updated>2011-11-27T19:46:09.174-05:00</updated><category term='loadrunner'/><category term='performance'/><category term='Microsoft.Net Protocol'/><category term='Grid'/><category term='Correlation'/><category term='automation'/><category term='COM/DCOM protocol'/><category term='vugen'/><category term='vuser'/><category term='QTP'/><category term='Testing'/><title type='text'>espkumar</title><subtitle type='html'>In my blog you can find Performance and automation related stuff.some general things once in a while.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://espavankumar.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1435151413336779457/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://espavankumar.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>espkumar</name><uri>http://www.blogger.com/profile/12306914158270752657</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hNEl8p92zPs/SV-G2LvFMdI/AAAAAAAAAIM/pt5ZEcXu7pY/S220/DSC05654.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1435151413336779457.post-3739204376274095162</id><published>2009-01-03T09:44:00.005-05:00</published><updated>2009-01-03T09:50:49.381-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='COM/DCOM protocol'/><category scheme='http://www.blogger.com/atom/ns#' term='Correlation'/><category scheme='http://www.blogger.com/atom/ns#' term='Microsoft.Net Protocol'/><category scheme='http://www.blogger.com/atom/ns#' term='vugen'/><category scheme='http://www.blogger.com/atom/ns#' term='Grid'/><title type='text'>Com\DCOM, .NET Protocol Grid Lines/Data Table</title><content type='html'>If the data value returned by Database is very long, only part of it is shown in the grid. please note that this truncation only occurs in the displayed grid and has no impact on the data.&lt;br /&gt;The grid columns are adjustable in width. You can scroll up to 200 rows&lt;br /&gt;using the scroll bar. To change this value, open the vugen.ini file on your&lt;br /&gt;machine’s Operating System folder (e.g. C:\WINDOWS) and add the&lt;br /&gt;following entry:&lt;br /&gt;[general]&lt;br /&gt;max_line_at_grid=200&lt;br /&gt;if you want to correlate a value or save the data to a file, click in a cell and use the right click menu options, Create Correlation or Save To File.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1435151413336779457-3739204376274095162?l=espavankumar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://espavankumar.blogspot.com/feeds/3739204376274095162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://espavankumar.blogspot.com/2009/01/comdcom-net-protocol-grid-linesdata.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1435151413336779457/posts/default/3739204376274095162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1435151413336779457/posts/default/3739204376274095162'/><link rel='alternate' type='text/html' href='http://espavankumar.blogspot.com/2009/01/comdcom-net-protocol-grid-linesdata.html' title='Com\DCOM, .NET Protocol Grid Lines/Data Table'/><author><name>espkumar</name><uri>http://www.blogger.com/profile/12306914158270752657</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hNEl8p92zPs/SV-G2LvFMdI/AAAAAAAAAIM/pt5ZEcXu7pY/S220/DSC05654.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1435151413336779457.post-8766909933239449585</id><published>2008-10-17T11:14:00.004-04:00</published><updated>2008-10-18T03:26:11.737-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='COM/DCOM protocol'/><category scheme='http://www.blogger.com/atom/ns#' term='vugen'/><category scheme='http://www.blogger.com/atom/ns#' term='loadrunner'/><title type='text'>LR Error List COM|DCOM</title><content type='html'>These are some of the errors you might encounter in a COM\DCOM protocol&lt;br /&gt;Protocol: COM/DCOM&lt;br /&gt; Error: Vuser failed to initialize extension vbascriptext.dll.&lt;br /&gt; Reasons: VBA not installed on the Controller or Vugen Machine&lt;br /&gt; Solution: Install the VBA Setup from the start-&gt;All Programs-&gt; Load Runner -&gt; Tools -&gt; VBA Setup&lt;br /&gt; &lt;br /&gt;&lt;br /&gt; Error: 3021 - Either BOF or EOF is True, or the current record has been deleted.&lt;br /&gt;                    Requested operation requires a current record&lt;br /&gt; Reasons: While recording, LoadRunner saves the content of a recordset into a file using the save function from ADO::Recordset.&lt;br /&gt;              To implement this, LoadRunner will move the pointer to the EOF. If the application cannot detect the pointer position,&lt;br /&gt;              and tries to move the pointer that is already at the EOF, it will cause a problem or crash.&lt;br /&gt;&lt;br /&gt; Solution: Turn off the "Save recordset content" options in Recording Options&lt;br /&gt;             Turn off the "Save recordset content" option in Recording Options. This will allow the application to move on, but it will&lt;br /&gt;             also lose the Grids.&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Error: VBA Script Error: Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record.&lt;br /&gt;          Source: ADODB.Field&lt;br /&gt;           wCode: 0 (0x00000000)&lt;br /&gt;           sCode: -2146825267 (0x800a0bcd)&lt;br /&gt;    Help Context: C:\WINDOWS\HELP\ADO270.CHM (1240645)&lt;br /&gt;Reasons: If the record you are looking for does not exist in the current context.&lt;br /&gt;Solution: Stage data properly&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Error: 0x800a0006 Buffer Overflow&lt;br /&gt;Reasons:  Type Conversion problem. trying to convert a value larger than 32767 into an integer. (error occured when OrderNumber is greater than 32767)&lt;br /&gt;Solution: try using clng instead of cint.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Error : 0x800A000D Type mismatch&lt;br /&gt; Reasons: wrong Type for the sending argument&lt;br /&gt; Solution: clng,cbool,cint,cstr etc.&lt;br /&gt;&lt;br /&gt;Error: 0x800A005B Object variable or with block variable not set&lt;br /&gt;Reasons: permissions&lt;br /&gt;Solution: give the user  complete folder permissions&lt;br /&gt; &lt;br /&gt;Error: Run-time error 383. 'Text' property is readonly&lt;br /&gt;Reasons:&lt;br /&gt;Private Sub Form_Load()&lt;br /&gt;    With Combo1 'Style = 2 Dropdown list&lt;br /&gt;        .AddItem "One"&lt;br /&gt;        .AddItem "Two"&lt;br /&gt;        .AddItem "Three"&lt;br /&gt;    End With&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Command1_Click()&lt;br /&gt;    'No error&lt;br /&gt;    Combo1.Text = "Two"&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;Private Sub Command2_Click()&lt;br /&gt;    '383 error&lt;br /&gt;    Combo1.Text = "Four"&lt;br /&gt;End Sub&lt;br /&gt;Solution:&lt;br /&gt;     Pass the correct value for the drop down boxes&lt;br /&gt;&lt;br /&gt;&lt;br /&gt; Error : ADODB.Recordset (0x800A0E78)&lt;br /&gt; Reason:&lt;br /&gt;&lt;br /&gt;set dbs = Server.CreateObject("ADODB.Connection")&lt;br /&gt;&lt;br /&gt;dbs.Open strODBC&lt;br /&gt;set rst = dbs.Execute(strSQL)&lt;br /&gt;&lt;br /&gt;Do not use a recordset to execute a query that does not return records. in&lt;br /&gt;fact, tell ADO not to bother constructing an expensive recordset object:&lt;br /&gt;&lt;br /&gt;dbs.Execute strSQL,,129&lt;br /&gt;&lt;br /&gt;The 129 is a combination of 1 (adCmdText) and 128 (adExecuteNoRecords). If&lt;br /&gt;you have a metadata tag referencing the ADO type library dbs.Execute strSQL,, adCmdText + adExecuteNoRecords&lt;br /&gt;&lt;br /&gt;Solution: use simple queries to update or insert.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1435151413336779457-8766909933239449585?l=espavankumar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://espavankumar.blogspot.com/feeds/8766909933239449585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://espavankumar.blogspot.com/2008/10/lr-error-list-comdcom.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1435151413336779457/posts/default/8766909933239449585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1435151413336779457/posts/default/8766909933239449585'/><link rel='alternate' type='text/html' href='http://espavankumar.blogspot.com/2008/10/lr-error-list-comdcom.html' title='LR Error List COM|DCOM'/><author><name>espkumar</name><uri>http://www.blogger.com/profile/12306914158270752657</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hNEl8p92zPs/SV-G2LvFMdI/AAAAAAAAAIM/pt5ZEcXu7pY/S220/DSC05654.JPG'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1435151413336779457.post-3636010131521277623</id><published>2008-09-29T08:28:00.000-04:00</published><updated>2008-09-29T08:31:59.356-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='performance'/><category scheme='http://www.blogger.com/atom/ns#' term='Testing'/><category scheme='http://www.blogger.com/atom/ns#' term='QTP'/><category scheme='http://www.blogger.com/atom/ns#' term='automation'/><category scheme='http://www.blogger.com/atom/ns#' term='vuser'/><category scheme='http://www.blogger.com/atom/ns#' term='loadrunner'/><title type='text'>one more caution..</title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CPavan%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;Vuser scripting for web.&lt;/p&gt;    &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;One more caution…&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Ok now you got an application to performance test, you have recorded vuser scripts correlated it perfectly. And the scripts run perfectly in the controller with multiple users. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;You have designed the required scenario, you also get response times. Great. Now you will assume that scripts ran successfully and response times are correct. NO. there is a catch. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;Moving on….&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Say you have an application where you enter the shipping number and date and submit.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;So you will be directed to a page where you no longer be able to edit the information according to a business rule for a particular order.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;You record the script and replay it. If you succeed you are missing something. Are you verifying whether the DML statements are getting executed on the database server, if not then chances are that you are not applying load to the database server. When you submit a request, your web server passes on the information to database. Two things happen here DML statements for inserts, updates and DDL statements to read and display the results on the webpage. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;According to business rule you cannot enter shipping number and shipping date twice. Its disabled from UI.Since vuser is not UI based. If you replay the script, the vuser will run successfully. It makes no difference to the webserver. But database will not execute the dml statements because a business logic rule is defined here. So it just executes READ and sends the data back to the user. So, this is how results may not be accurate.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;So how do you find out this… &lt;/p&gt;  &lt;p class="MsoNormal"&gt;REDgate SQL log rescue. Or Apex log reader sql tools will read the logs on the sql server. You can see if any transactions happened. These tools were also useful to know how many of data tables are you hitting by using your virtual users. One more advantage was you can rollback the transactions you did. This implies less data staging. Now once we get to the tabular level of detail, there are numerous ways you can find out what kind of deadlocks or blocking will occur. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1435151413336779457-3636010131521277623?l=espavankumar.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://espavankumar.blogspot.com/feeds/3636010131521277623/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://espavankumar.blogspot.com/2008/09/one-more-caution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1435151413336779457/posts/default/3636010131521277623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1435151413336779457/posts/default/3636010131521277623'/><link rel='alternate' type='text/html' href='http://espavankumar.blogspot.com/2008/09/one-more-caution.html' title='one more caution..'/><author><name>espkumar</name><uri>http://www.blogger.com/profile/12306914158270752657</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_hNEl8p92zPs/SV-G2LvFMdI/AAAAAAAAAIM/pt5ZEcXu7pY/S220/DSC05654.JPG'/></author><thr:total>0</thr:total></entry></feed>
