Who moved my "Unit Test Stubs"?

I am sure many Developers/Testers might have asked this question to themselves. Perhaps it may also have been frustrating at times to see such a nifty feature just disappear.. But there is some good news – The Visual Studio Ranger team has an Add-In that got this capability back in 2012 & 2013. You can get…


What to make of Cyclomatic Complexity

Often times when Development Team are looking to do Code Review, reading the numbers out of Cyclomatic Complexity is one of the Top Priorities. Cyclomatic Complexity is a formula for determining the varying logical paths that can be taken though a piece of code, thus determining a quantitative value for the code’s complexity. A higher…


Performance & Diagnostics enhancements in VS 2013

In VS 2013 we introduced the “Performance & Diagnostics Hub”. If you have not taken a look into it yet then I encourage you do. “Application Performance” is everyone’s business and who can deny that. Here is the link.  With VS2013 Update 2, we added two brand new tools:CPU Usage & Memory Usage We also…


SQL 2008 R2 on Windows 8 – Compatibility Warning?

What does the Compatibility Warning mean? If you see the warning you may ignore and move ahead with the install. It’s expected. The SQL Team says, they support minimum SP1 of SQL 2008 R2 and hence the warning. Once complete, apply at least SP1.  Refer http://support.microsoft.com/kb/2681562


FIDDLER Resources

Since we change between tools & technologies so often, at times I just wish I have all that information I need just at the click of a button. Couple of links I find worth keeping handy on FIDDLER & HTTP debugging:     http://www.west-wind.com/weblog/posts/2009/Jan/14/Monitoring-HTTP-Output-with-Fiddler-in-NET-HTTP-Clients-and-WCF-Proxies     Informative Writeup on using FIDDLER.     The following link talks about…


VS 2010 & 2012 on the same machine – VS2010 crashes

At one of my recent customer engagements, I came across this particular problem where VS2010 crashed on me each time I tried to record or replay a test that was developed earlier using VS2010. Further investigation into the causes of the crash revealed – UPDATE 1 for VS 2012 updates  the Microsoft.VisualStudio.QualityTools.WebTestFramework.dll in the GAC…


Machine Performance Counter Collection for Load Tests – Automating collection

In one of our Performance Labs we had a requirement to collect the Performance Counter Logs across more than 15 Application & DB Servers.. Doing them manually each time was not easy and often times error prone. I got the batch Files created which had the Logman commands that triggered the remote collection and then…


Working with NetMon & WireShark Traces

Wireshark can read Netmon trace files. Hence just before starting the test we started Netmon on all the machines and saved the CAP files generated with names identifying each of the machines High-level Objective We have the task to validate the following: Traffic going out from 10.52.1.106 is always going either to the 10.52.6.5 m/c…


Parsing JSON to extract values for further Parameterization & Correlation – Test Automation with Visual Studio

JSON (JavaScript Object Notation) is a light weight Data-Interchange in Text format completely Language independant. It is used as a alternative to using XML, though both are structured approaches to mark up data. JSON like XML, has a structure with nesting of Data Elements. Both are Text based and both use Unicode. But the subtle…


Debugging Webtests with Fiddler

I ran into a scenario where I had no clue why my Webtest was failing even though I did everything to make it work.. Like correlating all values that possibly needed correlation and getting all necessary plug-ins and rules in place. I would run that webtest again ‘n’ again and at the same time run…