We have a major concern regarding the result of our load test using test studio. Why is it that we're getting huge number of Faulted users in the Analysis Screen (page with metric graphs) even though there are no HTTP Errors (refer to - Analysis Screen.png) reported after the load test execution. Looking at the page specific metrics, all the URL pages did not encounter any error (refer to - No Errors on Page Specific Metrics.png). Also, there are no completed users for the entire life of the test.
Here's what we're aiming to achieve on the application using load test.
1. The application has a page which we call the operator console, under the operator console are lists of tasks that we need to change the status (e.g. change status from In Progress to Initiated).
*Note: There are preceeding pages that the user needs to go first before the Operator Console page.
2. So we designed our webtest to select random page on the operator console. And then, change the status of the tasks loaded on that page by selecting all the task and changing their status. (refer to - Operator Console Page.png)
We are load testing the application to see if it can handle multiple concurrent users changing the task status under the operator. However after the execution there are no completed users, meaning none of the virtuals users completed their requests and there is a huge number of faulted virtual users. Why are we getting this behavior? Also upon checking the tasks on the operator console page manually, NONE of the tasks changed status.
BTW, we are using Windows Authentication for our application.
Thanks. Hope you could help us ASAP with this.
Thanks,
Cairo
ExecuteCommand failed!
InError set by the client. Client Error:
System.InvalidOperationException: Javascript call [
function
fireChanged(){
var
el=document.getElementsByTagName(\
'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: TypeError: Object doesn'
t support property or method
'createEvent'
at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:
'Action'
,Info:
'NotSet'
,Action:
'InvokeJsFunction'
,Target:
'ElementId (tagName: '
',occurrenceIndex: '
-1
')'
,Data:
'function fireChanged(){var el=document.getElementsByTagName(\'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()'
,ClientId:
'Client_344da513-6c50-4d7e-8c61-b129e4dee963'
,HasFrames:
'False'
,FramesInfo:
''
,TargetFrameIndex:
'-1'
,InError:
'True'
,Response:
'System.InvalidOperationException: Javascript call [function fireChanged(){var el=document.getElementsByTagName(\'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: TypeError: Object doesn'
t support property or method
'createEvent'
at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
Failure Information:
~~~~~~~~~~~~~~~
ExecuteCommand failed!
InError set by the client. Client Error:
System.InvalidOperationException: Javascript call [
function
fireChanged(){
var
el=document.getElementsByTagName(\
'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: TypeError: Object doesn'
t support property or method
'createEvent'
at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:
'Action'
,Info:
'NotSet'
,Action:
'InvokeJsFunction'
,Target:
'ElementId (tagName: '
',occurrenceIndex: '
-1
')'
,Data:
'function fireChanged(){var el=document.getElementsByTagName(\'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()'
,ClientId:
'Client_9e4e4fc8-fa84-485d-b8b7-1aefb61c62a7'
,HasFrames:
'False'
,FramesInfo:
''
,TargetFrameIndex:
'-1'
,InError:
'True'
,Response:
'System.InvalidOperationException: Javascript call [function fireChanged(){var el=document.getElementsByTagName(\'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: TypeError: Object doesn'
t support property or method
'createEvent'
at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.InvalidOperationException: Javascript call [
function
fireChanged(){
var
el=document.getElementsByTagName(\
'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: TypeError: Object doesn'
t support property or method
'createEvent'
at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:
'Action'
,Info:
'NotSet'
,Action:
'InvokeJsFunction'
,Target:
'ElementId (tagName: '
',occurrenceIndex: '
-1
')'
,Data:
'function fireChanged(){var el=document.getElementsByTagName(\'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()'
,ClientId:
'Client_9e4e4fc8-fa84-485d-b8b7-1aefb61c62a7'
,HasFrames:
'False'
,FramesInfo:
''
,TargetFrameIndex:
'-1'
,InError:
'True'
,Response:
'System.InvalidOperationException: Javascript call [function fireChanged(){var el=document.getElementsByTagName(\'select\')[0];var evt = document.createEvent(\'HTMLEvents\');evt.initEvent(\'change\',true,true);el.dispatchEvent(evt);}fireChanged()] failed! Please make sure the function exists and the call is using the correct prototype signature. Javascript error: TypeError: Object doesn'
t support property or method
'createEvent'
at ArtOfTest.InternetExplorer.IECommandProcessor.InvokeFunction(String functionCall, Boolean useEval, Boolean returnJSON)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
at ArtOfTest.WebAii.Core.Actions.InvokeScript(String script)
at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.InvokeScript(String script)
at ArtOfTest.WebAii.Controls.HtmlControls.HtmlSelect.InvokeOnChange()
at ArtOfTest.WebAii.Controls.HtmlControls.HtmlSelect.SelectByText(String text, Boolean invokeOnChangeEvent)
at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.SelectDropDownActionDescriptor.Execute(Browser browser)
at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)