We have a deployment target called “Web Server”. It has multiple load balanced servers defined.
We have another deployment target called “Test Machine” that has one Test VM defined.
We deploy the web apps to the web server and the selenium tests to the Test VM.
The deployment to the web server is a rolling deployment and contains multiple steps. It will run once for each server defined in the “Web Server” .
Here is my problem. I would like to execute the selenium test on the Test VM inside the deployment for the web applications. i.e. i want to test if everything is OK before i add the server back to the load balancer.
When i move the test step into the web deployment i get a warning
“This step previously targeted a different set of roles than the step you are moving it to. This means the step is now likely to run on a different set of machines. Are you sure you wish to move the step?”
When i go ahead of course my test fails because my tests cannot be found on the web servers.
Any ideas on how i can mix deployment targets within one deployment ?
So far we do not want to install software on our production web servers to run the tests. Also the octopus tentacle has to run as an interactive process and not as a service in order for the selenium tests to succeed. it also seems i have to be logged on the the test server as the user who is executing the tests. All no-nos for a production web server.