SIMULATOR_USER rename warning
If the old 'USER' is found in Simulator properties, a big fat error should be given
diff --git a/simulator/src/main/java/com/hazelcast/simulator/common/SimulatorProperties.java b/simulator/src/main/java/com/hazelcast/simulator/common/SimulatorProperties.java
index 902a72d0e..7e4331681 100644
--- a/simulator/src/main/java/com/hazelcast/simulator/common/SimulatorProperties.java
+++ b/simulator/src/main/java/com/hazelcast/simulator/common/SimulatorProperties.java
@@ -119,6 +119,7 @@ public class SimulatorProperties {
 
             for (Map.Entry entry : p.entrySet()) {
                 String key = (String) entry.getKey();
+
                 String value = (String) entry.getValue();
                 properties.put(key, new Value(isDefault, value));
             }
@@ -126,6 +127,10 @@ public class SimulatorProperties {
             if (containsKey("HAZELCAST_VERSION_SPEC")) {
                 throw new IOException("'HAZELCAST_VERSION_SPEC' property is deprecated, Use 'VERSION_SPEC' instead.");
             }
+
+            if (containsKey("USER")) {
+                throw new IOException("'USER' property is deprecated, Use 'SIMULATOR_USER' instead.");
+            }
         } catch (IOException e) {
             throw rethrow(e);
         } finally {
diff --git a/simulator/src/test/java/com/hazelcast/simulator/common/SimulatorPropertiesTest.java b/simulator/src/test/java/com/hazelcast/simulator/common/SimulatorPropertiesTest.java
index d7bc54506..efdf35de0 100644
--- a/simulator/src/test/java/com/hazelcast/simulator/common/SimulatorPropertiesTest.java
+++ b/simulator/src/test/java/com/hazelcast/simulator/common/SimulatorPropertiesTest.java
@@ -6,6 +6,7 @@ import org.junit.Before;
 import org.junit.Test;
 
 import java.io.File;
+import java.io.IOException;
 
 import static com.hazelcast.simulator.TestEnvironmentUtils.setupFakeEnvironment;
 import static com.hazelcast.simulator.TestEnvironmentUtils.tearDownFakeEnvironment;
@@ -238,6 +239,14 @@ public class SimulatorPropertiesTest {
         assertEquals("testIdentity", simulatorProperties.getCloudCredential());
     }
 
+    @Test(expected = CommandLineExitException.class)
+    public void test_USER() {
+        File workingDirProperties = new File(simulatorHome, "simulator.properties");
+        appendText("USER=foobar", workingDirProperties);
+
+        simulatorProperties.load(workingDirProperties);
+    }
+
     private void initProperty(File file, String key, String value) {
         System.out.println("writing value: " + value);
         appendText(format("%s=%s", key, value), file);
['simulator/src/test/java/com/hazelcast/simulator/common/SimulatorPropertiesTest.java', 'simulator/src/main/java/com/hazelcast/simulator/common/SimulatorProperties.java']