private void execImport(int scrNr, int amountError, long counterValue) throws Exception {
String script = "/cql/testImportOneCol_" + scrNr + ".cql";
try (InputStream fio = getClass().getResourceAsStream(script)) {
ResultConsumer rc = new ResultConsumer();
ImportStats stats = getImporter().importScript(fio, rc,
new ImportConfig().withContinueWithErrors(true).withUpdateHistory(true));
assertEquals(script + "- " + rc, amountError, rc.error.size());
assertEquals(script + "- " + rc, scrNr - amountError, rc.success.size());
assertEquals(script + "- " + rc, scrNr, rc.size());