IIS 7 and Above
Application Request Routing (ARR)
ARR to do split A/B testing using pages, not servers
Last post Oct 17, 2016 10:58 AM by stevencarragher82
Aug 17, 2009 12:25 PM|robh71|LINK
I have an SSL enabled web site and I would like to do split A/B testing for evenly distributed testing across two pages.
I want half of the users to see:
and the other half to see:
I am running IIS7 on Windows 2008 Web Edition with UrlRewrite installed.
I looked at the load balancing howto and it was working with 4 servers, I only have one, but I believe that this should be possible using ARR.
Aug 17, 2009 01:51 PM|anilr|LINK
ARR can do load-balancing between servers, not urls within the same server. You will have to write your own code to randomly choose one of the two urls to redirect/rewrite the client and also issue them a cookie to remember where they were sent for future
Aug 17, 2009 02:42 PM|robh71|LINK
The question was how, not if. I'm positive it can be done. I was just curious how. I'll figure it out and post my results.
Aug 17, 2009 04:26 PM|robh71|LINK
I added 2 ip addresses to my server and set them up in a server farm.
I set the server farm to load balance evenly between my 2 "servers".
I set the main site to rewrite all requests to the server farm.
I set up the web sites for the 2 ip addresses to be my two versions of the site.
After testing (and testing more), all appears to be working as desired.
Aug 24, 2009 10:19 AM|anilr|LINK
That works - I assumed that you wanted both pages to be on the same site.
Oct 17, 2016 10:58 AM|stevencarragher82|LINK
So basically the
AB test is done on two different ip-s?