&& RestxContext.Modes.RECORDING.equals(getMode(restxRequest))) {
logger.debug("RECORDING {}", restxRequest);
Factory factory = Factory.newInstance();
Set<GivenRecorder> recorders = factory.getComponents(RestxSpecRecorder.GivenRecorder.class);
RestxSessionCookieFilter sessionFilter = factory.getComponent(RestxSessionCookieFilter.class);
final RestxSpecRecorder restxSpecRecorder = new RestxSpecRecorder(
recorders, sessionFilter, storageSettings, repository);
try {
Optional<String> recordPath = restxRequest.getHeader("RestxRecordPath");
RestxSpecTape tape = restxSpecRecorder.record(restxRequest, restxResponse,