models/classes/runner/QtiRunnerServiceContext.php
public function getCatSession(RouteItem $routeItem = null)
    {
        return $this->getServiceManager()->get(CatService::SERVICE_ID)->getCatSession(
            $this->getTestSession(),
            $this->getCompilationDirectory()['private'],
            $routeItem
        );
    }
public function getCatSession(RouteItem $routeItem = null)
    {
        return $this->getServiceManager()->get(CatService::SERVICE_ID)->getCatSession(
            $this->getTestSession(),
            $this->getCompilationDirectory()['private'],
            $routeItem
        );
    }
Get the current CAT Session Object.

@param RouteItem|null $routeItem
@return \oat\libCat\CatSession|false