IxLoadUtils.log("Repository loaded.")

    IxLoadUtils.log("Clearing chassis list...")
    IxLoadUtils.clearChassisList(connection, sessionUrl)
    IxLoadUtils.log("Chassis list cleared.")

    IxLoadUtils.log("Adding chassis %s..." % (testSettings.chassisList))
    IxLoadUtils.addChassisList(connection, sessionUrl, testSettings.chassisList)
    IxLoadUtils.log("Chassis added.")

    IxLoadUtils.log("Assigning new ports...")
    IxLoadUtils.assignPorts(connection, sessionUrl, testSettings.portListPerCommunity)
    IxLoadUtils.log("Ports assigned.")

    IxLoadUtils.log("Updating activity options...")
    IxLoadUtils.changeActivityOptions(connection, sessionUrl, kActivityOptionsToChange)
    IxLoadUtils.log("Updated activity options.")

    IxLoadUtils.log("Saving repository %s..." % (IxLoadUtils.getRxfName(connection,location)))
    IxLoadUtils.saveRxf(connection, sessionUrl, IxLoadUtils.getRxfName(connection,location))
    IxLoadUtils.log("Repository saved.")

    IxLoadUtils.log("Starting the test...")
    IxLoadUtils.runTest(connection, sessionUrl)
    IxLoadUtils.log("Test started.")

    IxLoadUtils.log("Polling values for stats %s..." % (kStatsToDisplayDict))
    IxLoadUtils.pollStats(connection, sessionUrl, kStatsToDisplayDict)

    IxLoadUtils.log("Test finished.")
    ftpCommandOptions = {
        'commandType': '{Put}',
        'destination': 'Traffic2_FTPServer1:21',
        'arguments': '/#262144'
    }
    IxLoadUtils.FtpUtils.addFtpCommand(connection, sessionUrl,
                                       'Traffic1@Network1', 'FTPClient1',
                                       ftpCommandOptions)
    IxLoadUtils.log('Command added to FTP client.')

    IxLoadUtils.log('Change FTP client objective...')
    optionsToChange = {
        "userObjectiveType": "concurrentSessions",
        "userObjectiveValue": 200
    }
    IxLoadUtils.changeActivityOptions(connection, sessionUrl,
                                      {'FTPClient1': optionsToChange})
    IxLoadUtils.log('FTP client objective changed.')

    IxLoadUtils.log("Clearing chassis list...")
    IxLoadUtils.clearChassisList(connection, sessionUrl)
    IxLoadUtils.log("Chassis list cleared.")

    IxLoadUtils.log("Adding chassis %s..." % (testSettings.chassisList))
    IxLoadUtils.addChassisList(connection, sessionUrl,
                               testSettings.chassisList)
    IxLoadUtils.log("Chassis added.")

    IxLoadUtils.log("Assigning new ports...")
    IxLoadUtils.assignPorts(connection, sessionUrl,
                            testSettings.portListPerCommunity)
    IxLoadUtils.log("Ports assigned.")