def runTest(connection, sessionUrl): ''' This method is used to start the currently loaded test. After starting the 'Start Test' action, wait for the action to complete. Args: - connection is the connection object that manages the HTTP data transfers between the client and the REST API - sessionUrl is the address of the session that should run the test. ''' startRunUrl = "%s/ixload/test/operations/runTest" % (sessionUrl) data = {} performGenericOperation(connection, startRunUrl, data)