public static void saveCloudTest(JSlider numberOfUsersSlider,
                                     JSpinner durationSpinner,
                                     JSpinner iterationsSpinner,
                                     JSpinner rampupSpinner) {
        BmTestManager bmTestManager = BmTestManager.getInstance();
        Users users = bmTestManager.getUsers();
        int numberOfUsers = numberOfUsersSlider.getValue();
        EnginesParameters enginesParameters = EnginesParameters.getEnginesParameters(users, numberOfUsers);

        int userPerEngine = enginesParameters.getUserPerEngine();


        TestInfo testInfo = BmTestManager.getInstance().getTestInfo();
        if (testInfo != null) {
            if (userPerEngine == 0) {
                JMeterUtils.reportErrorToUser("Can't set up test with 0 users. " +
                        " '1' will be saved");
                userPerEngine = 1;
                Overrides overrides = testInfo.getOverrides();
                if (overrides != null) {
                    testInfo.getOverrides().setThreads(userPerEngine);
                } else {
                    overrides = new Overrides((Integer) durationSpinner.getValue(),
                            (Integer) iterationsSpinner.getValue(),
                            (Integer) rampupSpinner.getValue(),
                            userPerEngine);
                    testInfo.setOverrides(overrides);
                }
                testInfo.setNumberOfUsers(Integer.valueOf(userPerEngine));
            }
            /*
            BPC-207
             */
            PropertyPanel propertyPanel = (PropertyPanel) TestPanel.getTestPanel().getAdvancedPropertiesPane().getjMeterPropertyPanel();
            Properties jmeterProperties = propertyPanel.getData();
            testInfo.setJmeterProperties(jmeterProperties);
            /*
            BPC-207
             */
            testInfo = bmTestManager.updateTestSettings(bmTestManager.getUserKey(),
                    bmTestManager.getTestInfo());
            bmTestManager.setTestInfo(testInfo);

        } else {
            JMeterUtils.reportErrorToUser("Please, select test", "Test is not selected");
        }
    }