My team has been using Test Studio for a few months now for automated UI testing, and it has been great.
We would like to start using it for Load Testing, and I have been reading documentation and experimenting for a while with some luck. The thing I am looking for some insight on is the best way to go about doing load testing with an application that will only allow one login per user. Basically it looks like if we do 50 virtual users based on one login, it isn't doing much because it is constantly logging out each user. Does this mean I will have to make as many real accounts and record that many user profiles to create a realistic test ? Or is there a better way to do this ?
Hello,
We're trying to run a testlist on a remote server. We followed the following steps to realise this:
https://docs.telerik.com/teststudio/features/scheduling-test-runs/create-scheduling-server
We created a testlist with 3 different testcases. When we run it on our local machine it works perfectly (and fast), but when we try to run it on our remote Scheduling Server we get this error:
[07-13
10:57:04,Telerik.TestStudio.RemoteExecutor.exe(6840:11)] First trace message
from pool unnamed thread (managed ID = 11, native ID = 8196).
[07-13
10:57:04,Telerik.TestStudio.RemoteExecutor.exe(6840:11),Execution]
CloudStorageProjectOpener.DownloadAndSaveTestsAsync() : ------- Function End
-------
[07-13
10:57:04,Telerik.TestStudio.RemoteExecutor.exe(6840:8),Error]
TestPlatform.ExecuteAsync() : EXCEPTION! (see below)
Outer Exception Type: System.AggregateException
Message: One or more errors occurred.
HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit =
FAILED, Facility = FACILITY_URT, Code = 5376)
Call Stack:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean
includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout,
CancellationToken cancellationToken)
at Telerik.TestStudio.RemoteExecutor.TestBuilders.CloudRunnableGUITestBuilder.CreateLocalCache(IStorageDocument`1
projectDocument, DispatchableGUITest dispatchableTest)
at
Telerik.TestStudio.RemoteExecutor.TestBuilders.CloudRunnableGUITestBuilder.BuildTest()
at Telerik.TestStudio.RemoteExecutor.Executors.TestPlatform.EnsureReadyForRun()
at
Telerik.TestStudio.RemoteExecutor.Executors.TestPlatform.<ExecuteAsync>d__17.MoveNext()
Inner Exception Type: System.IO.PathTooLongException
Message: The specified path, file name, or both are too long. The fully
qualified file name must be less than 260 characters, and the directory name
must be less than 248 characters.
HRESULT: 0x800700CE (Official ID (if app.) = 2147942606, Error Bit = FAILED,
Facility = FACILITY_WIN32, Code = ERROR_FILENAME_EXCED_RANGE)
Call Stack:
at System.IO.Path.LegacyNormalizePath(String path, Boolean fullCheck, Int32
maxPathLength, Boolean expandShortPaths)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32
maxPathLength, Boolean expandShortPaths)
at System.IO.Path.InternalGetDirectoryName(String path)
at
Telerik.TestStudio.Shared.Storage.Local.FileReaderWriterSync.<SaveStreamToFileAsync>d__21.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ArtOfTest.WebAii.Design.Repository.CloudStorageProjectOpener.<SaveAttachmentsToFileAsync>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at
ArtOfTest.WebAii.Design.Repository.CloudStorageProjectOpener.<DownloadAndSaveTestsAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
ArtOfTest.WebAii.Design.Repository.CloudStorageProjectOpener.<SaveProjectLocallyAsync>d__24.MoveNext()
[07-13
10:57:04,Telerik.TestStudio.Scheduling.Client.exe(6576:22),Execution]
RemoteExecutorViewModel.GetProcessData() : EXCEPTION! (see below)
Situation: Unable to retrieve test history
Outer Exception Type: System.Net.Http.HttpRequestException
Message: Response status code does not indicate success: 500 (Internal Server
Error).
HRESULT: 0x80131500 (Official ID (if app.) = COR_E_EXCEPTION, Error Bit =
FAILED, Facility = FACILITY_URT, Code = 5376)
Call Stack:
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at
Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<HandleResponse>d__33.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<HandleResponse>d__34`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
Telerik.TestStudio.Shared.Communication.BaseCommunicationLayer.<Get>d__26`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at ArtOfTest.WebAii.Design.Execution.Communication.RemoteExecutorCommunicationLayer.<GetTestHistory>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task
task)
at
Telerik.TestStudio.Scheduling.ClientMachine.ViewModels.RemoteExecutorViewModel.<GetProcessData>d__8.MoveNext()
--
System.IO.PathTooLongException: we checked the path and filename of the (remote) testlist and it's not longer than 100 characters
How can we solve this?
Thanks in advance.
Hello,
I just downloaded progress test studio. Trying to do a POC on this. My objective is to be able to run our test suites in multiple browsers parallel .The Test list has 2 tests and I want to able to run both the test in Chrome and firefox in parallel. I read through your documentation, set up one Scheduling server (which is also an execution server and its my local machine). I have another machine in my VMWare which is the second execution server. I have a third machine in the same VmWare where I am kicking off my tests. I clicked on the status and both machines are Ready (Attached screenshot).
Now I go into Test Lists, Run Remotely select both machines to execute in Firefox. So seems like the test gets kicked off in one of my machines(this is my local machine), but nothing happens in my other executing machine . Also the test list report in my calendar is yellow and does not change to red or green. It seems like the tests are stuck but I don't know why its not able to kick off the test on one of the machine when its able to do in the other machine. Any help would be appreciated. This is one of the criteria I am evaluating the tool against and would like to know the result .
Thanks!
Hello - I am a new user - just got the trial version today. I am a QA manager, not a developer - so please be gentle :)
I have Test Studio version 2017.2.530.0, and was able to record a very simple test to just navigate to a website and clink a link. When I execute this test with Firefox or Chrome, it works perfectly. When I execute with IE (v 11.0.9600.17843), it fails every time with error as shown below. The IE browser is calibrated, has the browser extension "Launch Telerik Exploratory Testing" loaded and enabled. The IE browser launches to "about:blank" and just sits there until it times out. Never populates with the "Navigate to..." url.
------------------------------------------------------------
'6/8/2017 4:13:05 PM' - Executing test: 'WebTest(1)', path: 'WebTest(1).tstest.'
'6/8/2017 4:13:05 PM' - Using .Net Runtime version: '4.0.30319.34209' for test execution. Build version is '2017.2.530.0'.
'6/8/2017 4:13:05 PM' - Starting execution....
'6/8/2017 4:14:07 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'6/8/2017 4:14:07 PM' - System.TimeoutException: Wait for condition has timed out
at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'6/8/2017 4:14:07 PM' - Test completed!
Any assistance would be greatly appreciated. I am tasked with researching and implementing automated testing for our new product, and I'm very impressed with Test Studio.... if I can get it to work :)
Thank you,
Fran
Hi all,
We have a web-based platform which contains workflows. these workflows can be configured in different ways. Our main application is a Helth and safety software configured using those workflows. The application is developed using C#. we are starting to create automation testing using your tool. but before I start, I would love to get some suggestion from you as I am new to this software. please provide me with some information about the area like, how can I get most out of from your tool?, the best approach for our system using your tool?, how can I get better coverage with less scripting which places can reuse created scripts.. etc
we are to fully automate our H&S system so we can run it every night to confirm that it works as usual with all the builds.
you can log into our system using the link and have a sneak peek inside.
https://tst-lwa-phase4-tz.assurasoftware.co.nz
User Name:- TestStudio Password:- Password1
Thank you,
Kind Regards,
Purnima
I've wasted like 3 hours on this today and I can't figure it out....
https://www.screencast.com/t/fn11cTUl
This step of the test is to basically wait to see if the angular ajax call pulls in the users, if it does, count to make sure... but it's always 0
Doesn't matter if the Timeout is set to 10s, 20s... it always fails at this step.
Thoughts? Please help
Steve
I have a search box where I type some text in, hit enter and it redirects me.
The recorder though only records the text not the ENTER... what should I be doing?
Hi,
I´m executing tests on subscribe section on a website. It requires fields such as email and ID. As this test requires to be executed many times, it isn´t possible to create new profiles every test. So, I wanna run a procedure after the subscribe test that excludes the last subscription created. How can I bind the real dev database to the test and create a procedure to delete this last created profile?
Thank you,
Gabriel