Completed
Last Updated: 12 Feb 2014 21:55 by ADMIN
ADMIN
Mario
Created on: 11 Oct 2013 17:10
Type: Bug Report
0
Test Studio crashes trying to import .SAZ file
Test Studio crashes when you try to import this specific .SAZ file in order to create a User Profile for a load test. The crash report reads:
 
ERROR: System.ArgumentException Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
Source array was not long enough. Check srcIndex and length, and the array's lower bounds.
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) at ArtOfTest.WebAii.Messaging.Http.HttpResponse.Initialize(Boolean connectionClosed) at ArtOfTest.WebAii.Messaging.Http.HttpRequestResponsePair.d__0.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Telerik.TestingFramework.Extensions.ListExtensions.AsList[T](IEnumerable`1 source) at Telerik.TestStudio.Load.LoadImportUserScenarioViewModel.BuildScenarioFromFiddlerLog(String strLogPath) at Telerik.TestStudio.Load.LoadImportUserScenarioViewModel.ImportScenarioFromFiddlerLog(String fiddlerTraceFilename) at Telerik.TestStudio.Load.LoadImportUserScenarioView.BrowseOtherLocations_Click(Object sender, RoutedEventArgs e) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at Telerik.Windows.Controls.RadButton.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
ERROR LOG: 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] ActivityLog.WriteErrorLine() : EQAT: Not Connected! 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] ActivityLog.WriteErrorLine() : EQAT: Track feature start failed! 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\Program Files (x86)\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Load.dll" to find ILoadPlugin_UI implementers... 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] Utils.EnumPluginTypes() : Duplicate assemblies encountered while enumerating plugin types: Telerik.TestStudio.Load, Version=2012.2.1527.0, Culture=neutral, PublicKeyToken=85d0e578a53d02ec 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\Program Files (x86)\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Manual.dll" to find ILoadPlugin_UI implementers... 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] Utils.EnumPluginTypes() : Duplicate assemblies encountered while enumerating plugin types: Telerik.TestStudio.Manual, Version=2012.2.1527.0, Culture=neutral, PublicKeyToken=06f62486e897f63c 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\Program Files (x86)\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.OTA.Interop.dll" to find ILoadPlugin_UI implementers... 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] Utils.EnumPluginTypes() : Duplicate assemblies encountered while enumerating plugin types: Telerik.TestStudio.OTA.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=308294b5ce7f3552 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\Program Files (x86)\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Plugins.dll" to find ILoadPlugin_UI implementers... 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] Utils.EnumPluginTypes() : Duplicate assemblies encountered while enumerating plugin types: Telerik.TestStudio.Plugins, Version=2012.2.1527.0, Culture=neutral, PublicKeyToken=308294b5ce7f3552 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\Program Files (x86)\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Web.dll" to find ILoadPlugin_UI implementers... 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] Utils.EnumPluginTypes() : Duplicate assemblies encountered while enumerating plugin types: Telerik.TestStudio.Web, Version=2012.2.1527.0, Culture=neutral, PublicKeyToken=a481bc80aec6669c 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] Utils.EnumPluginTypes() : Loading "C:\Program Files (x86)\Telerik\Test Studio\Bin\Plugins\Telerik.TestStudio.Wpf.dll" to find ILoadPlugin_UI implementers... 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] Utils.EnumPluginTypes() : Duplicate assemblies encountered while enumerating plugin types: Telerik.TestStudio.Wpf, Version=2012.2.1527.0, Culture=neutral, PublicKeyToken=91731613e21d2b88 
[05/16 09:33:56,Telerik.TestStudio.exe(10624:1),TestStudio] Utils.EnumPluginTypes() : Finished loading ILoadPlugin_UI plugins. 
[05/16 09:34:13,Telerik.TestStudio.exe(10624:1),Load] LoadRunViewModel.get_ReadyToExecute() : ReadyToExecute evaluated 
[05/16 09:34:13,Telerik.TestStudio.exe(10624:1),Load] LoadRunViewModel.get_ReadyToExecute() : ReadyToExecute evaluated 
[05/16 09:34:13,Telerik.TestStudio.exe(10624:1),Load] LoadResultsView._resultsChart_SeriesMappingsChanged() : Rebinding performance counter graph... 
[05/16 09:34:13,Telerik.TestStudio.exe(10624:1),Load] LoadResultsView._resultsChart_SeriesMappingsChanged() : Rebinding complete. 
[05/16 09:34:42,Telerik.TestStudio.exe(10624:1),Error] App.LogUnhandledException() : EXCEPTION! (see below) Situation: Unhandled exception! Outer Exception Type: System.ArgumentException Message: Source array was not long enough. Check srcIndex and length, and the array's lower bounds. HRESULT: 0x80070057 (Official ID (if app.) = E_INVALIDARG, Error Bit = FAILED, Facility = FACILITY_WIN32, Code = ERROR_INVALID_PARAMETER) Call Stack: at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) at ArtOfTest.WebAii.Messaging.Http.HttpResponse.Initialize(Boolean connectionClosed) at ArtOfTest.WebAii.Messaging.Http.HttpRequestResponsePair.d__0.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at Telerik.TestingFramework.Extensions.ListExtensions.AsList[T](IEnumerable`1 source) at Telerik.TestStudio.Load.LoadImportUserScenarioViewModel.BuildScenarioFromFiddlerLog(String strLogPath) at Telerik.TestStudio.Load.LoadImportUserScenarioViewModel.ImportScenarioFromFiddlerLog(String fiddlerTraceFilename) at Telerik.TestStudio.Load.LoadImportUserScenarioView.BrowseOtherLocations_Click(Object sender, RoutedEventArgs e) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at Telerik.Windows.Controls.RadButton.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) 
 
1 comment
ADMIN
Jared Twing
Posted on: 06 Nov 2013 19:54
The workaround for this is to either capture with Store Binaries checked in Fiddler Cap, or to use Fiddler. Alternately, you can always create your own Load Tests using Test Studio's capture ability. We are also going to make this case not crash Test Studio.