Creating a Citrix ADC / NetScaler Test environment #2

last update: February 17th 2020

Citrix ADC/NetScaler Test environment by Johannes Norz
Almost two years ago I created a test website for Citrix NetScaler. The product is now called Citrix ADC. It had been a set of files, both, for both, Linux and Windows. It allowed you to create a test environment to test load-balancing solutions, content switching and more.

I am currently on the way to write a Citrix ADC cook-book and it needs a test website as well. So I decided to create a new test environment, completely hosted on my own environment, available to anyone on the internet. This will help you getting your test environment up and running within some minutes. The only thing you have to do, is pointing your services to my webserver.

The names of these services are:

My servers just support http and https. I had recently been rewarded with CTA certification, so DigiCert sponsored certificates for this website, so I could upgrade it to use SSL. The usual Let’s Encrypt certificates would have been a huge overhead to me as I would have had to update these certificates every three month.


Properties of my test environment

Files

My webserver host the following files:

  • default.htm (the start page, usually accessed via /)
  • red.htm (a red test page)
  • blue.htm (the blue test page)
  • green.htm (the green test page)
  • home.htm (the home page)
  • lb_test.htm (a more complex test page to dig deeper into the functionality of load-balancing)
  • styles.css (used with lb_test.htm only, seting the color of fonts)
  • /images/Apples.png (used with lb_test.htm only, a picture with a border in colour of the server)
  • /images/Locksmith.png (used with lb_test.htm only, a picture with a border in colour of the server)
  • /images/Market.png (used with lb_test.htm only, a picture with a border in colour of the server)
  • red_flower.jpg (used with red.htm)
  • blue_flower.jpg (used with blue.htm)
  • green_flower.jpg (used with green.htm)

Custom HTTP header in response

My web servers adds a custom HTML header to any response. This header will give you clear information about the host you connected too and the IP address it has. You may see it by pressing F12 in your browser (professional browsers like FireFox or Opera, even InternetExplorer, support this, some browsers unfortunately don’t)

<Citrix ADC/NetScaler Test environment by Johannes NorzThis may help you understanding load balancing.


Known issues

My webserver does not permit too many requests per second, so don’t set health monitoring to an insane rate. I would suggest, not to do more than 2 requests per second as a maximum.


I hope, you like my page. Nice comments make me happy. Please tell me if you see any issues. Thanks

Johannes

Leave a Reply

Your email address will not be published. Required fields are marked *