Hi, We are running a cluster test automation for an AS cluster to test the Dep Sync functionality. In AS cluster we have a manger node and two worker nodes fronted by an Nginx load balancer.
When testing the web app undeployment, we are following the below steps. 1. Undeploy the webapp from the manager node; webapp removed from svn repo and cluster message is sent. 2. Worker node receive the cluster message and undeploy the web app with an svn update. 3. At this point, we are sending an HTTP request to the webapp in a worker node to see whether the undeployment has taken place as expected in worker nodes. 4. We are expecting an HTTP 404 (Not Found) response from the worker node. This test was passing initially and now got failed the reason being that worker node response sending the HTTP 302 (Moved Temporarily) response instead of HTTP 404. What should be the correct behaviour? After undeploying the webapp and further HTTP requests are received to the removed webapp, what should be the node response; HTTP 302 or HTTP 404? Thanks, Suhan -- Suhan Dharmasuriya Software Engineer - Test Automation *WSO2, Inc. * lean . enterprise . middleware Tel: +94 112 145345 Mob: +94 779 869138 Blog: http://suhan-opensource.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
