diff --git a/QA/QA_Service/bin/qa_webservice b/QA/QA_Service/bin/qa_webservice
index bda70603104b2bf7efda230b8b4104f01e4ac7a0..f77133affea1d27dbe2a27d58b8913eb10cb7457 100755
--- a/QA/QA_Service/bin/qa_webservice
+++ b/QA/QA_Service/bin/qa_webservice
@@ -22,7 +22,7 @@ from subprocess import call
 import socket
 import logging
 import signal
-
+from lofar.common import isProductionEnvironment, isTestEnvironment
 logger = logging.getLogger(__name__)
 
 def kill_zombies():
@@ -36,9 +36,12 @@ def kill_zombies():
 if __name__ == '__main__':
     logging.basicConfig(format='%(asctime)s %(levelname)s %(message)s', level=logging.INFO)
 
-    if 'scu001' not in socket.getfqdn():
-        logger.warning("qa_webservice is designed to run only on scu001 (and then start a docker image on head01")
+    if isProductionEnvironment() and 'scu001' not in socket.getfqdn():
+        logger.warning("qa_webservice is designed to run only on scu001 (and then start a docker image on head01)")
         exit(1)
+    elif isTestEnvironment() and 'scu199' in socket.getfqdn():
+        logger.warning("qa_webservice is designed to run only on scu001 (and then start a docker image on head01). No further need to run this service on scu199. Exiting with code 0.")
+        exit(0)
 
     kill_zombies()