public function testGetActiveProfile($session_token)
{
$res = $this->doHttpRequest('GET', 'getActiveProfile/', ['headers' => ['Session-Token' => $session_token]]);
$this->assertNotEquals(null, $res, $this->last_error);
$this->assertEquals(200, $res->getStatusCode());
$body = $res->getBody();
$data = json_decode($body, true);
$this->assertNotEquals(false, $data);
$this->assertArrayHasKey('active_profile', $data);
$this->assertArrayHasKey('id', $data['active_profile']);
$this->assertArrayHasKey('name', $data['active_profile']);
$this->assertArrayHasKey('interface', $data['active_profile']);
}