This is a migrated thread and some comments may be shown as answers.

Slow to load tests for Test As Step (and other things)

6 Answers 79 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dustin
Top achievements
Rank 1
Dustin asked on 14 Apr 2011, 07:08 PM
Hello!

I currently have nearly two thousand tests (most are quite small).  When I click "Test As Step" (or when I go to create a new test list or when I firstly open up the solution - that's all I can think of right now, but there might be other places as well), it takes a long time (45+ seconds) to display the next form to me.  I watch my CPU get pegged at 100% for the entire time as well, even though HDD access is minimal/low.

Is there something that I'm doing wrong?  What can I do to make it so that it loads these forms faster?  (Most of the time, I know what I'm looking for, so I don't need to pysically see all of the tests listed out in front of me.  I can understand and accept the initial load taking it's time - when I'm opening up the solution, I'm not going to worry about that one - but for the "Test As Step" function, I don't think it should take very long at all, not nearly as long as it usually does.)

Thanks for you time and help!

6 Answers, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 19 Apr 2011, 09:57 PM
Hello Dustin,

Unfortunately I cannot replicate your issue. I loaded a project with 2000 tests (with and without coded steps) and did not experience a form load delay when creating a "Test as Step" or a Test List.

You are correct; there is a significant delay when initially loading. It seems we both expected that for a project of this size. But the delay in the other areas is strange. Can you offer more details about your project? Are the tests sorted and structured in subfolders? Do most of your tests contain code behind files? If the file size is reasonable, can you send us the project to test? And finally, have you seen these delays on another machine running the same project or one of similiar magnitude?

Thanks,
Anthony
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Dustin
Top achievements
Rank 1
answered on 20 Apr 2011, 06:02 AM
Hello Anthony!

I sure can!
First, the folder size is 1.52GB, and there are now 5,930 files in there (so nearing about 3000 tests now, I guess).
The folder structure is fairly shallow - the deepest part is 4 layers, but there's only a total of 3 folders out of 107 that are on the 4th layer, and out of the rest, 2 and 3 is very common (to mirror what is available in the application, and pretty close to a 50/50 split, favoring the 2nd layer).
Half of the files are AII files, and the other half are RESX files - we haven't done anything with code-behind (directly) yet.  When we have accidentally done that, we've either deleted the step or the entire test.
All of the files are in TFS, but on my machine, for whatever reason, the TFS plugin doesn't work, so I have to check everything in and out through Visual Studio, and the vast majority of the files (98%?) are checked-in (and thus, read-only).
I have seen this issue on two other machines (one was a VM on a server which was on the physical network where TFS was located, and the other machine was another desktop where the TFS plugin was working - but most of the files would have been checked-in and read-only at that point as well).
We also have a couple of dynamic test lists built (one of them was a test to see if we could "test everything", so it excludes no tests) as well, I don't know if that makes a difference.
Is there any other information that I may be able to provide for you?  I might be able to set up a session at some time where you can take a look at my machine to poke around and see what's going on, if you think that might help.

Thanks a bunch!
Dustin.

PS: One of the other times where it is slow is when I attempt to delete a test.  Right-click on the test, then click delete and wait a good 30 seconds for the "permanently delete" prompt.  I can't quite figure that one out either.
0
Anthony
Telerik team
answered on 21 Apr 2011, 04:21 PM
Hello Dustin,

I just shared a Dropbox folder with you, named after the ticket ID. You should receive an email invitation to it shortly. Please upload the project to it at your earliest convenience.

We will load the project here and attempt to reproduce your scenario. If we still cannot see the delays, we will resort to a GoToMeeting and view your setup directly.

Kind regards,
Anthony
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Dustin
Top achievements
Rank 1
answered on 02 May 2011, 06:42 PM
Hi Anthony,

I have uploaded one big RAR file (177mb - 91% compression rate!) to the dropbox for you to investigate with.
I hope this helps us get to the bottom of this issue!

Thanks,
Dustin.
0
Anthony
Telerik team
answered on 03 May 2011, 11:29 PM
Hello Dustin,

I have good news. I was able to reproduce your delays when loading your project locally. I have logged a bug report for this and will update you when more information becomes available. I spoke to one of our lead developers about this yesterday so he is apprised of the issue.

Regards,
Anthony
the Telerik team
Do you think you know all the new features coming out in Test Studio R1 2011? Think again - we have some surprises and will share them with you in the What's New in Test Studio R1 2011 Webinar on May 12th.
Register Today!
0
Dustin
Top achievements
Rank 1
answered on 03 May 2011, 11:34 PM
Hello Anthony,

Thanks for the update!

Dustin.
Tags
General Discussions
Asked by
Dustin
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Dustin
Top achievements
Rank 1
Share this question
or