예제 #1
0
 def make_request(self, command, args={}, isasync=False):
     response, error = monkeyrequest(command, args, isasync,
                                     self.asyncblock, logger, self.host,
                                     self.port, self.apikey, self.secretkey,
                                     self.timeout, self.protocol, self.path)
     if error is not None:
         self.monkeyprint(error)
     return response
예제 #2
0
 def make_request(self, command, args={}, isasync=False):
     response, error = monkeyrequest(command, args, isasync,
                                     self.asyncblock, logger,
                                     self.url, self.credentials,
                                     self.timeout, self.expires)
     if error is not None:
         self.monkeyprint("Error " + error)
     return response
예제 #3
0
 def make_request(self, command, args={}, isasync=False):
     response, error = monkeyrequest(command, args, isasync,
                                     self.asyncblock, logger,
                                     self.host, self.port,
                                     self.apikey, self.secretkey,
                                     self.timeout, self.protocol, self.path)
     if error is not None:
         self.monkeyprint(error)
     return response
예제 #4
0
 def make_request(self, command, args={}, isasync=False):
     self.error_on_last_command = False
     response, error = monkeyrequest(command, args, isasync,
                                     self.asyncblock, logger, self.url,
                                     self.credentials, self.timeout,
                                     self.expires,
                                     self.verifysslcert == 'true')
     if error:
         self.monkeyprint(u"Error {0}".format(error))
         self.error_on_last_command = True
     return response
예제 #5
0
 def make_request(self, command, args={}, isasync=False):
     self.error_on_last_command = False
     response, error = monkeyrequest(command, args, isasync,
                                     self.asyncblock, logger,
                                     self.url, self.credentials,
                                     self.timeout, self.expires,
                                     self.verifysslcert == 'true')
     if error:
         self.monkeyprint(u"Error {0}".format(error))
         self.error_on_last_command = True
     return response