Azure Functions: These are my new favorite squirrels.

[Note: I am actually Amazed that my old blog is still functioning, it certainly has been a long time] If you are new to the idea of Server-less Computing and Micro-services this is definitely worth some time to understand how these work and how they can benefit you. One quick benefit is that at the time of this writing your…

0

WebTestPlugin: AddDaysToCurrentDate

A simple WebTestPlugin that Adds specified number of days to the current date. [Description(“WebTestPlugin that adds a specified number of days to the current date and stores the new date in a Context Parameter that you specify. Overrides PreWebTest”)] public class AddDaysToCurrentDate : WebTestPlugin { public AddDaysToCurrentDate() { DaysToAdd = 1; ContextParameterName = “FutureDate”; }…

0

WebTest Plugin : SetMaxMinThinkTime

WebTest Plugin that dynamically Sets the Maximum or Minimum think time value for each request. Options to throw exception if it encounters a think time larger than your max value so it can help to track down tests that have requests with large think times. Overrides the PreRequest event    [Description(“WebTest Plugin that dynamically Sets the Maximum or Minimum think time value for each request. Overrides the PreRequest event”)]     public class SetMaxMinThinkTime : WebTestPlugin     {         public SetMaxMinThinkTime()         {…

0

WebTestPlugin: SetLoopTerminatingValue

WebTestPlugin – SetLoopTerminatingValue I created this Visual Studio 2010 webtestplugin which allows you to set the terminating value property of a conditional loop in a Declarative Web Test. As an example you might want to load the terminating value from a data source or other Context Parameter. Add a class to your test project and…

0

LoadTestPlugin: Add Scenario Name to TestContext in Unit Test

This load test plugin will add the Load Test Scenario name that the test is running in to the TestContext.Properties. In a unit test, your code would look like this to access the scenario name. With this you could implement some other logic or steps to take based on the load test scenario that this…

0

WebTestPlugin: AppendValueToContextParameter

Here is a plugin that allows you to append any context parameter value to any other context parameter. This plugin is a WebTestPlugin that overrides the PreWebTest event, so this will happen before the WebTest executes any requests. You can easily make a variation of this plugin as a WebTestRequestPlugin, and override the PreRequestDataBinding event…

0

WebTest Plugin: Random Number

Do you need a random number generated in a WebTest, just take the code below and add it to a class(.cs) file in your project, recompile once. Then just right click on your WebTest in the editor and choose Add WebTest Plugin picking this one and you should be good. Just use the curly brace…

0

Visual Studio 2010 Load Test Feature Pack – Provides Unlimited Virtual Users for Load Testing

This is such a huge thing, I felt like I had to mention it here: Unlimited Visual Studio 2010 SP1 Virtual Users with the Load Test Feature Pack now. Check this link for the details. http://www.microsoft.com/visualstudio/en-us/products/2010-editions/load-test-virtual-user-pack/overview.  This means where other load testing tools charge based on Virtual User licenses, Microsoft is providing these as an added benefit to…

0

Visual Studio WebTest Validation Rules – Built-in Response URL rule is case sensitive…

 The built in Validation Rule, called Response URL is case sensitive, and this rule is to help validate that a page that was redirected to another page during recording, also honors the same when playing back via a VS WebTest. The problem is that some web apps don’t always respond with urls that are same case as what was recorded, especially if…

2

Visual Studio WebTest Fails with error "Request failed: Received an unexpected EOF or 0 bytes from the transport stream"

Here is a solution to a problem that some folks have encountered running Visual Studio WebTests using HTTPS protocols. Some times there maybe a device (Load Balancer, Firewall, or Application Applicance) that does not support TLS (Transport Layer Security). Usually if this issue is present you will get an error message: Request Failed: Received an…

0