def METHOD_NAME(self, name):
    headers = {'x-api-key': self._webServerAPIKey}
    url = 'http://127.0.0.1:' + str(self._webServerPort) + '/api/v1/servers/localhost'
    r = requests.get(url, headers=headers, timeout=self._webTimeout)
    self.assertTrue(r)
    self.assertEqual(r.status_code, 200)
    self.assertTrue(r.json())
    content = r.json()
    stats = content['statistics']
    self.assertIn(name, stats)
    return int(stats[name])