As part of our ongoing mission to make performance testing as easy as possible, we've added a "host configurator" to both LoadUIWeb and LoadUIWeb Pro. The host configurator enables a tester to accomplish three things very quickly and easily:
- Change a host globally within a scenario.
- Change port number for a specific host within a scenario.
- Turn a host or hosts on or off within a scenario.
In case the advantage of having this tool is not immediately clear, I can highlight a couple of use cases where this feature will save you time and effort in your daily routine.
USE CASE #1: Third-Party Hosts
As we all know, websites these days make calls to numerous third-party hosts. The home pages of retail sites can, in some cases, reference more than 100 different hosts. These hosts serve a wide variety of different purposes and some may not fit in with your performance testing goals.
With the host configurator, a list of all recorded hosts is displayed beneath your scenario. These hosts will represent calls to:
- Your Site
- Image Servers
- Analytics Services
- Ad Servers
- Social Media
Although this list is far from complete, you get the idea.
In prior versions for LoadUIWeb, if you decided that you did not want to test analytics you had two options:
- Filter those hosts to ensure they were not recorded
- Delete the requests to those hosts from your scenario
In both cases, the decision was irreversible. If you later decided that you wanted to test WITH those hosts included, you would have had to re-record your scenario.
With the host configurator, you can simply uncheck the host and all calls to that host will not be simulated. If you then re-check the box, your test will once again include those hosts. It just takes a few moments to add or remove a host!
USE CASE #2: Testing in a New Environment
Many times, testers will develop and initially run their tests in either the development or staging environment. Most of the time, these environments are different from production in a number of significant ways, including scale.
At some point, the application that you have been testing will move to production. Rather than re-record your scenario in your production environment, you can make a simple change in the configurator. After that, every place that the original host was used will now point to the new scenario.
We received requests to implement something that would cut the time necessary to re-map all of the requests to have them point to the new environment, and I think the solution is even better than what was requested!
(Note: Ports can also be changed, as sometimes a port number is the only difference.)
If you want the new configurator, just download version 2.9 - click the following link if you are a user of the free version of LoadUIWeb, and if you are an owner of LoadUIWeb Pro download it from your account. After you've tried out the configurator, we would be interested in your feedback.