Stand-Alone Network Emulation and CodePlex

In my post “Creating a Stand-Alone Network Emulator using VS2010 – Beta 1, I showed you how to create a stand alone network emulator using the network emulation functionality introduced in the Beta 1 release of VS2010.  Since then, the API for Network Emulation has gone through several changes and long story short, the API for Beta 1 will not work for RC or RTM.  To make things a bit easier, I have created a new “Stand-Alone” Network Emulator UI (NEUI) that will allow you to take advantage of the Network Emulation features in VS2010 without having to fire up VS2010 and start a unit or load test.  I have posted the source for this project on CodePlex for everyone to enjoy :).  For now, it is in the project “Web and Load Test Plugins for Visual Studio Team Test”, but my hope is that it will gain enough community support and involvement that it will warrant going through the process of creating and maintaining it as a separate project. 

Currently, the NEUI project is a simple UI that:

  • uses WPF
  • allows the user to select one Network Profile to emulate a specific network.
  • when minimized, displays in the system tray
  • when in the system tray, allows for the starting, stopping of network emulation and the selection of the network profile.

Please feel free to download and use the emulator.  Also, if you feel strongly enough, feel free to suggest or contribute new features.

blogs.msdn.com Tags: VSTS2010, Visual Studio 2010, Network Emulation, NEWT, Load Test, Unit Test, Testing, Team System

Comments

  • Anonymous
    April 27, 2010
    Hi Lonny, First I want to thank you for this great post. I think you are the first one who started this cool API discussion. I am using VS2010 RC. And trying to automate my network simulation part by using this API. I have created a console application and have written this piece of code. IntPtr m_emulatorHandle = IntPtr.Zero;            NetworkEmulationApi.LoadProfile(m_emulatorHandle, @"C:Profiles300KB_150ms_Latency.network");       NetworkEmulationApi.StartEmulation(m_emulatorHandle); Could you please let me know how can I verify whether the emulator started with my profile or not. It looks like the emulator does not started with above code. Please help. Thanks, Pritam

  • Anonymous
    July 19, 2010
    Hi, I cann't find the project in codeplex, can you tell me why?

  • Anonymous
    October 22, 2010
    teamtestplugins.codeplex.com/.../changesets Just click download. I couldn't find it for a while either.

  • Anonymous
    July 29, 2012
    The comment has been removed

  • Anonymous
    August 29, 2012
    Hi Lonny, can you please consult me on "Microsoft VSTS Network Emulation NDIS6 Driver" behaviour? I configured test lab with Win2k8R2SP1 Standard and 2032 IPs per server (aliases to simulate unique clients). Test tool - JMeter. When I enable Network Emulation (with any profile) it starts drop packets at about 700-800 RPS (and I need 2000 RPS - HW can handle it freely without Network Emulation). I believe the issue is Queue Management related - but still cannot figure it out.

  • Anonymous
    October 07, 2012
    Hello, Is it possible to find the "Microsoft VSTS Network Emulation NDISx Driver" install file? I have visual studio 2010 pro but these features are not availabe. Many thanks in advance!

  • Anonymous
    March 11, 2013
    Hi Lonny, the network emulation tool is great!!! Thank you. At the moment, I am trying to figure out if it's possible to limit the traffic only on certain ports, protocols (http) or target addresses. What is the <FilterList> node in the network profiles good for?  Could you explain this element? I could not find anything about it in the Inet..... Thanx in advance!