Telerik Forums
Test Studio Forum
1 answer
97 views

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 ?

Elena
Telerik team
 answered on 23 Jul 2018
3 answers
114 views

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.

Elena
Telerik team
 answered on 19 Jul 2018
3 answers
48 views

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!

 

 

 

Elena
Telerik team
 answered on 19 Jul 2018
3 answers
67 views
When I navigate to 'http://www.naver.com' by Internet Explorer. 

When measured by Fiddler it takes 0.1 sec. 

Because it does not include client processing time(Screen logic+rendering time).

When measured by Test Studio it takes 5 sec. 

Does Test Studio include client processing time(Screen logic+rendering time)?

ref)
Performance metrics supplement your existing functional UI tests to include such data as server processing time, network latency and client rendering time.
http://www.telerik.com/teststudio/performance-testing


ref) webpagetest also include client processing time(Screen logic+rendering time)
https://www.webpagetest.org/
Elena
Telerik team
 answered on 19 Jul 2018
8 answers
151 views

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


Elena
Telerik team
 answered on 18 Jul 2018
3 answers
42 views

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

Vera
Telerik team
 answered on 18 Jul 2018
2 answers
32 views

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

Elena
Telerik team
 answered on 17 Jul 2018
3 answers
300 views
Hi Telerik team,

When I want to deal with one srting, just like split it or get the length of it, I use the function like 'Mid', 'Split' and 'Len'. But these cannot work.
Following is the error message that displays in the Log:
(BC30451) 'Mid' is not declared. It may be inaccessible due to its protection level.

So, how to deal with this issue?
Elena
Telerik team
 answered on 17 Jul 2018
3 answers
58 views

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?

Vera
Telerik team
 answered on 17 Jul 2018
1 answer
61 views

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

Elena
Telerik team
 answered on 17 Jul 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?