class PostmanService {

    void mapExecutionsToScenarios(List<Execution> executions, List<NewmanScenario> newmanScenarios) {
        for (Execution execution : executions) {
            final String itemId = execution.getItem().getId(); // execution.id is mostly the same... but not always!
            Optional<NewmanScenario> newmanScenario = findByItemId(newmanScenarios, itemId);
            if (newmanScenario.isPresent()) {
                newmanScenario.get().setExecution(execution);
            } else {
                log.error("Execution {} has no matching item in the Postman collection", itemId);
            }
        }
    }

}