Tuesday, August 27, 2013

Loadrunner Analysis parsing error, unable to analyse results and generate analysis report.

When we run a test for longer duration of time the number of samples in the result set will also be more.  The total number of samples generated can easily be calculated using the below formula:
Number of Samples = Total Duration of Run / Frequency sampling

Suppose, we want to calculate total samples for a test run for 1 hour and frequency of sampling is 10 seconds. Using the formula we have
Number of samples = 1 hour/ 10 seconds = 60*60 seconds/10 seconds = 360 samples.

Now these samples contribute to the size of result set, so more number of samples will make a very big result set and this creates issues (sometimes).
While analysing the big result set the Analysis throws below error.

Getting Parsing error with large result sets (less than 2 GB).: Parse Command line error: Unable to cast COM object of type ‘System._ComObject’ to interface type ‘Borland.Vcl.Fields’. This operation failed because the QueryInterface call on the COM component with IID ‘{XXXXXXXXXXXX}’ failed due to the following error: No such interface supported. (Exception from HRESULT XXXXXXXXX (E_NOINTERFACE)).

Click here to know more

This issue is resolved by changing the Data Source setting in the Result Collection tab of LR Analysis. 
Go to Tools > Options > Result Collection tab
The default value is Generate Complete data only and we need to change this to Display Summary while generating complete data as shown in the below image.


Stay Tuned for more Analysis stuff!!! Happy Learning and Loadrunning!!!

No comments:

Post a Comment