Welcome to Team System Rocks Sign in | Join | Help
in
Home Blogs Forums Photos Tutorials Files Roller
Notion Solutions Main Site

Virtual Users - Make them run as a process not Thread

Last post 06-20-2008, 7:45 AM by shai_rai. 1 replies.
Sort Posts: Previous
  •  03-10-2008, 8:02 PM

    Virtual Users - Make them run as a process not Thread

    Hello every one,

    Is there a way to make a virtual user of a load test run in a separate process instead of running in a Thread?  It seems to me that virtual users are running in a threads spawned by the load process.  My test is using a Singleton Object.  It all works fine when I run the unit test.  However, when the test is part of a load test the system breaks because only one instance of the Object is allowed.

    Can anyone suggest a solution?

    Thanks
    Pepe
  •  06-20-2008, 7:45 AM

    Re: Virtual Users - Make them run as a process not Thread

    Hello,

    Try to change the property of the load test to run on ConnectionPerUser and not ConnectionPool.

    For more info on this subject you may enter :

    http://blogs.microsoft.co.il/blogs/shair/archive/2008/06/19/load-testing-features-of-visual-studio-team-system.aspx


    Developer & Senior Consultant
    http://blogs.microsoft.co.il/blogs/shair
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems