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

7 posts, 0 answers
  1. Dustin
    Dustin avatar
    4 posts
    Member since:
    Jan 2011

    Posted 14 Apr 2011 Link to this post

    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!
  2. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 19 Apr 2011 Link to this post

    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
  3. Dustin
    Dustin avatar
    4 posts
    Member since:
    Jan 2011

    Posted 20 Apr 2011 Link to this post

    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.
  4. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 21 Apr 2011 Link to this post

    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
  5. Dustin
    Dustin avatar
    4 posts
    Member since:
    Jan 2011

    Posted 02 May 2011 Link to this post

    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.
  6. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 03 May 2011 Link to this post

    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!
  7. Dustin
    Dustin avatar
    4 posts
    Member since:
    Jan 2011

    Posted 03 May 2011 Link to this post

    Hello Anthony,

    Thanks for the update!

    Dustin.
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!