def METHOD_NAME(self):
    headers = {'x-api-key': self._apiKey}
    url = 'http://127.0.0.1:' + str(self._wsPort) + '/api/v1/servers/localhost/statistics'
    r = requests.get(url, headers=headers, timeout=self._wsTimeout)
    self.assertTrue(r)
    self.assertEqual(r.status_code, 200)
    self.assertTrue(r.json())
    content = r.json()
    for entry in content:
        if entry['name'] == 'all-outqueries':
            return int(entry['value'])
    return 0