public static void createUser(int totalUser, int totalGridlet,
                             int[] glLength, double[] baudRate, int testNum)
    {
        try
        {
            double bandwidth = 0;
            double delay = 0.0;

            for (int i = 0; i < totalUser; i++)
            {
                String name = "User_" + i;
                if (i % 2 == 0) {
                    bandwidth = baudRate[0];
                    delay = 5.0;
                }
                else {
                    bandwidth = baudRate[1];
                }

                // creates a Grid user
                createTestCase(name, bandwidth, delay, totalGridlet, glLength,
                               testNum);
            }
        }
        catch (Exception e) {
            // ... ignore
        }
    }