def METHOD_NAME(self):
    result = self.cli('record', 'tests', '--session',
                      self.session, 'go-test', str(self.test_files_dir.joinpath('reportv2')) + "/")
    self.assertEqual(result.exit_code, 0)
    self.assertIn('events', responses.calls[1].request.url, 'call events API')
    payload = json.loads(gzip.decompress(responses.calls[1].request.body).decode())
    # Remove timestamp because it depends on the machine clock
    for c in payload['events']:
        del c['created_at']
    expected = self.load_json_from_file(self.test_files_dir.joinpath('record_test_result.json'))
    self.assert_json_orderless_equal(expected, payload)
    self.assertIn('close', responses.calls[3].request.url, 'call close API')