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
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
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