public TestInfo updateTestSettings(String userKey, TestInfo testInfo) {
        EnginesParameters enginesParameters = EnginesParameters.getEnginesParameters(this.users, testInfo.getNumberOfUsers());
        Overrides overrides = testInfo.getOverrides();
//        int engines = enginesParameters.getConsoles() + enginesParameters.getEngines();
        int engines = enginesParameters.getEngines();
        TestInfo ti = rpc.updateTestSettings(userKey,
                testInfo.getId(),
                testInfo.getLocation(),
                engines,
                enginesParameters.getEngineSize(),
                enginesParameters.getUserPerEngine(),
                overrides == null ? 0 : overrides.getIterations(),
                overrides == null ? 0 : overrides.getRampup(),
                overrides == null ? 0 : overrides.getDuration(),
                testInfo.getJmeterProperties()
        );
        return ti;
    }