Tuesday, October 9, 2012

Working with VSTS 2010 for performance test


+ Make sure time on controller, agents, and server where it runs test are in sync. If not you may get
Results from agent 'Server1,Server2' were not received in time to be included in the overall results for a sampling interval. To avoid this error, increase the sample rate, or decrease the load on this agent

+ After run a big load, you should try to delete all temporary files in controller and agents. You can do that in Visual Studio 2010. And usually you need to log in agent server to restart agent server “Visual Studio Test Agent” in windows services to make sure they are reset.

+ If I don’t restart agent services, my requests’ response time goes up. And it is not accurate. May be because we use FluorineFx in serialize/deserialize our AMF requests that are why it uses a lot of agents’ memory.

+ After record 1 long test
Ex: Login, select location, double-clicks to see all appointments in that location, logout.
We should try to break it out into small tests like
  • Login
  • Select location
  • Go to see all appointments in selected location
  • Logout.

With this break out, we will have more flexibility to create scenarios in load test.

No comments:

Post a Comment