Best Karate code snippet using com.intuit.karate.Runner.workingDir
Source:Runner.java
...149 public static class Builder<T extends Builder> {150 ClassLoader classLoader;151 Class optionsClass;152 String env;153 File workingDir;154 String buildDir;155 String configDir;156 int threadCount;157 int timeoutMinutes;158 String reportDir;159 String scenarioName;160 List<String> tags;161 List<String> paths;162 List<Feature> features;163 String relativeTo;164 final Collection<RuntimeHook> hooks = new ArrayList();165 RuntimeHookFactory hookFactory;166 HttpClientFactory clientFactory;167 boolean forTempUse;168 boolean backupReportDir = true;169 boolean outputHtmlReport = true;170 boolean outputJunitXml;171 boolean outputCucumberJson;172 boolean dryRun;173 boolean debugMode;174 Map<String, String> systemProperties;175 Map<String, Object> callSingleCache;176 Map<String, ScenarioCall.Result> callOnceCache;177 SuiteReports suiteReports;178 JobConfig jobConfig;179 Map<String, DriverRunner> drivers;180 // synchronize because the main user is karate-gatling181 public synchronized Builder copy() {182 Builder b = new Builder();183 b.classLoader = classLoader;184 b.optionsClass = optionsClass;185 b.env = env;186 b.workingDir = workingDir;187 b.buildDir = buildDir;188 b.configDir = configDir;189 b.threadCount = threadCount;190 b.timeoutMinutes = timeoutMinutes;191 b.reportDir = reportDir;192 b.scenarioName = scenarioName;193 b.tags = tags;194 b.paths = paths;195 b.features = features;196 b.relativeTo = relativeTo;197 b.hooks.addAll(hooks); // final198 b.hookFactory = hookFactory;199 b.clientFactory = clientFactory;200 b.forTempUse = forTempUse;201 b.backupReportDir = backupReportDir;202 b.outputHtmlReport = outputHtmlReport;203 b.outputJunitXml = outputJunitXml;204 b.outputCucumberJson = outputCucumberJson;205 b.dryRun = dryRun;206 b.debugMode = debugMode;207 b.systemProperties = systemProperties;208 b.callSingleCache = callSingleCache;209 b.callOnceCache = callOnceCache;210 b.suiteReports = suiteReports;211 b.jobConfig = jobConfig;212 b.drivers = drivers;213 return b;214 }215 public List<Feature> resolveAll() {216 if (classLoader == null) {217 classLoader = Thread.currentThread().getContextClassLoader();218 }219 if (clientFactory == null) {220 clientFactory = HttpClientFactory.DEFAULT;221 }222 if (systemProperties == null) {223 systemProperties = new HashMap(System.getProperties());224 } else {225 systemProperties.putAll(new HashMap(System.getProperties()));226 }227 // env228 String tempOptions = StringUtils.trimToNull(systemProperties.get(Constants.KARATE_OPTIONS));229 if (tempOptions != null) {230 LOGGER.info("using system property '{}': {}", Constants.KARATE_OPTIONS, tempOptions);231 Main ko = Main.parseKarateOptions(tempOptions);232 if (ko.tags != null) {233 tags = ko.tags;234 }235 if (ko.paths != null) {236 paths = ko.paths;237 }238 dryRun = ko.dryRun || dryRun;239 }240 String tempEnv = StringUtils.trimToNull(systemProperties.get(Constants.KARATE_ENV));241 if (tempEnv != null) {242 LOGGER.info("using system property '{}': {}", Constants.KARATE_ENV, tempEnv);243 env = tempEnv;244 } else if (env != null) {245 LOGGER.info("karate.env is: '{}'", env);246 }247 // config dir248 String tempConfig = StringUtils.trimToNull(systemProperties.get(Constants.KARATE_CONFIG_DIR));249 if (tempConfig != null) {250 LOGGER.info("using system property '{}': {}", Constants.KARATE_CONFIG_DIR, tempConfig);251 configDir = tempConfig;252 }253 if (workingDir == null) {254 workingDir = FileUtils.WORKING_DIR;255 }256 if (configDir == null) {257 try {258 ResourceUtils.getResource(workingDir, "classpath:karate-config.js");259 configDir = "classpath:"; // default mode260 } catch (Exception e) {261 configDir = workingDir.getPath();262 }263 }264 if (configDir.startsWith("file:") || configDir.startsWith("classpath:")) {265 // all good266 } else {267 configDir = "file:" + configDir;268 }269 if (configDir.endsWith(":") || configDir.endsWith("/") || configDir.endsWith("\\")) {270 // all good271 } else {272 configDir = configDir + File.separator;273 }274 if (buildDir == null) {275 buildDir = FileUtils.getBuildDir();276 }277 if (reportDir == null) {278 reportDir = buildDir + File.separator + Constants.KARATE_REPORTS;279 }280 // hooks281 if (hookFactory != null) {282 hook(hookFactory.create());283 }284 // features285 if (features == null) {286 if (paths != null && !paths.isEmpty()) {287 if (relativeTo != null) {288 paths = paths.stream().map(p -> {289 if (p.startsWith("classpath:")) {290 return p;291 }292 if (!p.endsWith(".feature")) {293 p = p + ".feature";294 }295 return relativeTo + "/" + p;296 }).collect(Collectors.toList());297 }298 } else if (relativeTo != null) {299 paths = new ArrayList();300 paths.add(relativeTo);301 }302 features = ResourceUtils.findFeatureFiles(workingDir, paths);303 }304 if (scenarioName != null) {305 for (Feature feature : features) {306 feature.setCallName(scenarioName);307 }308 }309 if (callSingleCache == null) {310 callSingleCache = new HashMap();311 }312 if (callOnceCache == null) {313 callOnceCache = new HashMap();314 }315 if (suiteReports == null) {316 suiteReports = SuiteReports.DEFAULT;317 }318 if (drivers != null) {319 Map<String, DriverRunner> customDrivers = drivers;320 drivers = DriverOptions.driverRunners();321 drivers.putAll(customDrivers); // allows override of Karate drivers (e.g. custom 'chrome')322 } else {323 drivers = DriverOptions.driverRunners();324 }325 if (jobConfig != null) {326 reportDir = jobConfig.getExecutorDir();327 if (threadCount < 1) {328 threadCount = jobConfig.getExecutorCount();329 }330 timeoutMinutes = jobConfig.getTimeoutMinutes();331 }332 if (threadCount < 1) {333 threadCount = 1;334 }335 return features;336 }337 protected T forTempUse() {338 forTempUse = true;339 return (T) this;340 }341 //======================================================================342 //343 public T configDir(String dir) {344 this.configDir = dir;345 return (T) this;346 }347 public T karateEnv(String env) {348 this.env = env;349 return (T) this;350 }351 public T systemProperty(String key, String value) {352 if (systemProperties == null) {353 systemProperties = new HashMap();354 }355 systemProperties.put(key, value);356 return (T) this;357 }358 public T workingDir(File value) {359 if (value != null) {360 this.workingDir = value;361 }362 return (T) this;363 }364 public T buildDir(String value) {365 if (value != null) {366 this.buildDir = value;367 }368 return (T) this;369 }370 public T classLoader(ClassLoader value) {371 classLoader = value;372 return (T) this;373 }374 public T relativeTo(Class clazz) {...
Source:Suite.java
...65 public final String env;66 public final String tagSelector;67 public final boolean dryRun;68 public final boolean debugMode;69 public final File workingDir;70 public final String buildDir;71 public final String reportDir;72 public final ClassLoader classLoader;73 public final int threadCount;74 public final int timeoutMinutes;75 public final int featuresFound;76 public final List<Feature> features;77 public final List<CompletableFuture> futures;78 public final Set<File> featureResultFiles;79 public final Collection<RuntimeHook> hooks;80 public final HttpClientFactory clientFactory;81 public final Map<String, String> systemProperties;82 public final boolean backupReportDir;83 public final SuiteReports suiteReports;84 public final boolean outputHtmlReport;85 public final boolean outputCucumberJson;86 public final boolean outputJunitXml;87 public final boolean parallel;88 public final ExecutorService scenarioExecutor;89 public final ExecutorService pendingTasks;90 public final JobManager jobManager;91 public final String karateBase;92 public final String karateConfig;93 public final String karateConfigEnv;94 public final Map<String, Object> callSingleCache;95 public final Map<String, ScenarioCall.Result> callOnceCache;96 private final ReentrantLock progressFileLock;97 public final Map<String, DriverRunner> drivers;98 private String read(String name) {99 try {100 Resource resource = ResourceUtils.getResource(workingDir, name);101 logger.debug("[config] {}", resource.getPrefixedPath());102 return FileUtils.toString(resource.getStream());103 } catch (Exception e) {104 logger.trace("file not found: {} - {}", name, e.getMessage());105 return null;106 }107 }108 public static Suite forTempUse(HttpClientFactory hcf) {109 return new Suite(Runner.builder().clientFactory(hcf).forTempUse());110 }111 public Suite() {112 this(Runner.builder());113 }114 public Suite(Runner.Builder rb) {115 if (rb.forTempUse) {116 dryRun = false;117 debugMode = false;118 backupReportDir = false;119 outputHtmlReport = false;120 outputCucumberJson = false;121 outputJunitXml = false;122 classLoader = Thread.currentThread().getContextClassLoader();123 clientFactory = rb.clientFactory == null ? HttpClientFactory.DEFAULT : rb.clientFactory;124 startTime = -1;125 env = rb.env;126 systemProperties = null;127 tagSelector = null;128 threadCount = -1;129 timeoutMinutes = -1;130 hooks = Collections.EMPTY_LIST;131 features = null;132 featuresFound = -1;133 futures = null;134 featureResultFiles = null;135 workingDir = FileUtils.WORKING_DIR;136 buildDir = FileUtils.getBuildDir();137 reportDir = FileUtils.getBuildDir();138 karateBase = null;139 karateConfig = null;140 karateConfigEnv = null;141 parallel = false;142 scenarioExecutor = null;143 pendingTasks = null;144 callSingleCache = null;145 callOnceCache = null;146 suiteReports = null;147 jobManager = null;148 progressFileLock = null;149 drivers = null;150 } else {151 startTime = System.currentTimeMillis();152 rb.resolveAll();153 backupReportDir = rb.backupReportDir;154 outputHtmlReport = rb.outputHtmlReport;155 outputCucumberJson = rb.outputCucumberJson;156 outputJunitXml = rb.outputJunitXml;157 dryRun = rb.dryRun;158 debugMode = rb.debugMode;159 classLoader = rb.classLoader;160 clientFactory = rb.clientFactory;161 env = rb.env;162 systemProperties = rb.systemProperties;163 tagSelector = Tags.fromKarateOptionsTags(rb.tags);164 hooks = rb.hooks;165 features = rb.features;166 featuresFound = features.size();167 futures = new ArrayList(featuresFound);168 callSingleCache = rb.callSingleCache;169 callOnceCache = rb.callOnceCache;170 suiteReports = rb.suiteReports;171 featureResultFiles = new HashSet();172 workingDir = rb.workingDir;173 buildDir = rb.buildDir;174 reportDir = rb.reportDir;175 karateBase = read("classpath:karate-base.js");176 karateConfig = read(rb.configDir + "karate-config.js");177 if (env != null) {178 karateConfigEnv = read(rb.configDir + "karate-config-" + env + ".js");179 } else {180 karateConfigEnv = null;181 }182 if (rb.jobConfig != null) {183 jobManager = new JobManager(rb.jobConfig);184 } else {185 jobManager = null;186 }187 drivers = rb.drivers;188 threadCount = rb.threadCount;189 timeoutMinutes = rb.timeoutMinutes;190 parallel = threadCount > 1;191 if (parallel) {192 scenarioExecutor = Executors.newFixedThreadPool(threadCount);193 pendingTasks = Executors.newSingleThreadExecutor();194 } else {195 scenarioExecutor = SyncExecutorService.INSTANCE;196 pendingTasks = SyncExecutorService.INSTANCE;197 }198 progressFileLock = new ReentrantLock();199 }200 }201 @Override202 public void run() {203 try {204 if (backupReportDir) {205 backupReportDirIfExists();206 }207 hooks.forEach(h -> h.beforeSuite(this));208 int index = 0;209 for (Feature feature : features) {210 final int featureNum = ++index;211 FeatureRuntime fr = FeatureRuntime.of(this, feature);212 final CompletableFuture future = new CompletableFuture();213 futures.add(future);214 fr.setNext(() -> {215 onFeatureDone(fr.result, featureNum);216 future.complete(Boolean.TRUE);217 });218 pendingTasks.submit(fr);219 }220 if (featuresFound > 1) {221 logger.debug("waiting for {} features to complete", featuresFound);222 }223 if (jobManager != null) {224 jobManager.start();225 }226 CompletableFuture[] futuresArray = futures.toArray(new CompletableFuture[futures.size()]);227 if (timeoutMinutes > 0) {228 CompletableFuture.allOf(futuresArray).get(timeoutMinutes, TimeUnit.MINUTES);229 } else {230 CompletableFuture.allOf(futuresArray).join();231 }232 endTime = System.currentTimeMillis();233 } catch (Throwable t) {234 logger.error("runner failed: " + t);235 } finally {236 scenarioExecutor.shutdownNow();237 pendingTasks.shutdownNow();238 if (jobManager != null) {239 jobManager.server.stop();240 }241 hooks.forEach(h -> h.afterSuite(this));242 }243 }244 public void saveFeatureResults(FeatureResult fr) {245 File file = ReportUtils.saveKarateJson(reportDir, fr, null);246 synchronized (featureResultFiles) {247 featureResultFiles.add(file);248 }249 if (outputHtmlReport) {250 suiteReports.featureReport(this, fr).render();251 }252 if (outputCucumberJson) {253 ReportUtils.saveCucumberJson(reportDir, fr, null);254 }255 if (outputJunitXml) {256 ReportUtils.saveJunitXml(reportDir, fr, null);257 }258 fr.printStats();259 }260 private void onFeatureDone(FeatureResult fr, int index) {261 if (fr.getScenarioCount() > 0) { // possible that zero scenarios matched tags262 try { // edge case that reports are not writable 263 saveFeatureResults(fr);264 String status = fr.isFailed() ? "fail" : "pass";265 logger.info("<<{}>> feature {} of {} ({} remaining) {}", status, index, featuresFound, getFeaturesRemaining() - 1, fr.getFeature());266 } catch (Throwable t) {267 logger.error("<<error>> unable to write report file(s): {} - {}", fr.getFeature(), t + "");268 fr.printStats();269 }270 } else {271 skippedCount++;272 if (logger.isTraceEnabled()) {273 logger.trace("<<skip>> feature {} of {}: {}", index, featuresFound, fr.getFeature());274 }275 }276 if (progressFileLock.tryLock()) {277 saveProgressJson();278 progressFileLock.unlock();279 }280 }281 public Stream<FeatureResult> getFeatureResults() {282 return featureResultFiles.stream()283 .map(file -> FeatureResult.fromKarateJson(workingDir, Json.of(FileUtils.toString(file)).asMap()));284 }285 public Stream<ScenarioResult> getScenarioResults() {286 return getFeatureResults().flatMap(fr -> fr.getScenarioResults().stream());287 }288 public ScenarioResult retryScenario(Scenario scenario) {289 FeatureRuntime fr = FeatureRuntime.of(this, scenario.getFeature());290 ScenarioRuntime runtime = new ScenarioRuntime(fr, scenario);291 runtime.run();292 return runtime.result;293 }294 public Results updateResults(ScenarioResult sr) {295 Scenario scenario = sr.getScenario();296 FeatureResult fr;297 File file = new File(reportDir + File.separator + scenario.getFeature().getKarateJsonFileName());298 if (file.exists()) {299 String json = FileUtils.toString(file);300 fr = FeatureResult.fromKarateJson(workingDir, Json.of(json).asMap());301 } else {302 fr = new FeatureResult(scenario.getFeature());303 }304 List<ScenarioResult> scenarioResults = fr.getScenarioResults();305 int count = scenarioResults.size();306 int found = -1;307 for (int i = 0; i < count; i++) {308 ScenarioResult temp = scenarioResults.get(i);309 if (temp.getScenario().isEqualTo(scenario)) {310 found = i;311 break;312 }313 }314 if (found != -1) {...
workingDir
Using AI Code Generation
1import com.intuit.karate.Runner;2import com.intuit.karate.Results;3import java.io.File;4public class 4 {5public static void main(String[] args) {6Results results = Runner.path("classpath:com/example").tags("~@ignore").parallel(1);7}8}9import com.intuit.karate.Runner;10import com.intuit.karate.Results;11import java.io.File;12public class 5 {13public static void main(String[] args) {14Results results = Runner.path("classpath:com/example").tags("~@ignore").parallel(1);15}16}17import com.intuit.karate.Runner;18import com.intuit.karate.Results;19import java.io.File;20public class 6 {21public static void main(String[] args) {22Results results = Runner.path("classpath:com/example").tags("~@ignore").parallel(1);23}24}25import com.intuit.karate.Runner;26import com.intuit.karate.Results;27import java.io.File;28public class 7 {29public static void main(String[] args) {30Results results = Runner.path("classpath:com/example").tags("~@ignore").parallel(1);31}32}33import com.intuit.karate.Runner;34import com.intuit.karate.Results;35import java.io.File;36public class 8 {37public static void main(String[] args) {38Results results = Runner.path("classpath:com/example").tags("~@ignore").parallel(1);39}40}41import com.intuit.karate.Runner;42import com.intuit.karate.Results;43import java.io.File;44public class 9 {45public static void main(String[] args) {46Results results = Runner.path("classpath:com/example").tags("~@ignore").parallel(1);47}48}49import com.intuit.karate.Runner;50import com.intuit.karate.Results;51import java.io.File;52public class 10 {53public static void main(String[] args
workingDir
Using AI Code Generation
1import com.intuit.karate.Runner;2import java.io.File;3import java.util.ArrayList;4import java.util.List;5public class 4 {6 public static void main(String[] args) {7 List<String> list = new ArrayList<String>();8 list.add("classpath:4.feature");9 Runner runner = Runner.path(list);10 runner.workingDir(new File("C:\\Users\\Administrator\\Desktop\\karate"));11 runner.run();12 }13}14import com.intuit.karate.Runner;15import java.io.File;16import java.util.ArrayList;17import java.util.List;18public class 4 {19 public static void main(String[] args) {20 List<String> list = new ArrayList<String>();21 list.add("classpath:4.feature");22 Runner runner = Runner.path(list);23 runner.workingDir(new File("C:\\Users\\Administrator\\Desktop\\karate"));24 runner.run();25 }26}27function() {28 karate.configure('connectTimeout', 5000);29 karate.configure('readTimeout', 5000);30 karate.configure('logPrettyRequest', true);31 karate.configure('logPrettyResponse', true);32 return {};33}34import com.intuit.karate.Runner;35import java.io.File;36import java.util.ArrayList;37import java.util.List;38public class 4 {39 public static void main(String[] args) {40 List<String> list = new ArrayList<String>();41 list.add("classpath:4.feature");42 Runner runner = Runner.path(list);43 runner.workingDir(new File("C:\\Users\\Administrator\\Desktop\\karate"));44 runner.configDir(new File("C:\\Users\\
workingDir
Using AI Code Generation
1import com.intuit.karate.Runner;2import com.intuit.karate.Results;3import java.io.File;4public class 4 {5public static void main(String[] args) {6File file = new File("src/test/java");7Results results = Runner.path("classpath:com/intuit/karate/core").workingDir(file).tags("~@ignore").parallel(1);8System.out.println("results = " + results.getFailCount());9}10}
workingDir
Using AI Code Generation
1package com.intuit.karate;2import java.io.File;3import java.util.ArrayList;4import java.util.Collection;5import java.util.List;6import org.junit.runner.RunWith;7import com.intuit.karate.junit4.Karate;8import com.intuit.karate.junit4.Karate.Runner;9@RunWith(Runner.class)10@Karate.Options(features = "classpath:com/intuit/karate/demo/workingDir.feature")11public class 4 {12public static void main(String[] args) {13Runner runner = new Runner();14runner.workingDir(new File("target/karate"));15Collection<File> jsonFiles = runner.getJsonFiles();16List<String> tags = new ArrayList<>();17tags.add("@tag1");18tags.add("@tag2");19tags.add("@tag3");20tags.add("@tag4"
workingDir
Using AI Code Generation
1package com.intuit.karate;2import java.util.*;3public class 4{4public static void main(String[] args) {5String karateOutputPath = "target/surefire-reports";6Map<String, Object> config = Collections.singletonMap("karate.env", "dev");7Runner.Builder builder = Runner.builder();8builder.path("classpath:com/intuit/karate/core");9builder.outputCucumberJson(true);10builder.outputJunitXml(true);11builder.outputHtmlReport(true);12builder.outputPath(karateOutputPath);13builder.config(config);14builder.parallel(5);15Runner runner = builder.build();16runner.run();17}18}19package com.intuit.karate;20import java.util.*;21public class 4{22public static void main(String[] args) {23String karateOutputPath = "target/surefire-reports";24Map<String, Object> config = Collections.singletonMap("karate.env", "dev");25Runner.Builder builder = Runner.builder();26builder.path("classpath:com/intuit/karate/core");27builder.outputCucumberJson(true);28builder.outputJunitXml(true);29builder.outputHtmlReport(true);30builder.outputPath(karateOutputPath);31builder.config(config);32builder.parallel(5);33Runner runner = builder.build();34runner.run();35}36}
workingDir
Using AI Code Generation
1import com.intuit.karate.Runner;2public class 4 {3 public static void main(String[] args) {4 Runner runner = Runner.path("classpath:com/intuit/karate/demo").workingDir("/home/yogesh");5 runner.run();6 }7}8import com.intuit.karate.Runner;9public class 5 {10 public static void main(String[] args) {11 Runner runner = Runner.path("classpath:com/intuit/karate/demo").tags("~@ignore");12 runner.run();13 }14}15import com.intuit.karate.Runner;16public class 6 {17 public static void main(String[] args) {18 Runner runner = Runner.path("classpath:com/intuit/karate/demo").reportDir("/home/yogesh");19 runner.run();20 }21}22import com.intuit.karate.Runner;23public class 7 {24 public static void main(String[] args) {25 Runner runner = Runner.path("classpath:com/intuit/karate/demo").reportTitle("Karate Test Execution");26 runner.run();27 }28}29import com.intuit.karate.Runner;30public class 8 {31 public static void main(String[] args) {32 Runner runner = Runner.path("classpath:com/intuit/karate/demo").reportName("Karate Test Execution");33 runner.run();34 }35}36import com.intuit.karate.Runner;37public class 9 {38 public static void main(String[] args) {39 Runner runner = Runner.path("classpath:com/intuit/karate/demo").reportType("html");40 runner.run();41 }42}43import com.intuit.karate.Runner;
workingDir
Using AI Code Generation
1import com.intuit.karate.Runner;2public class KarateRunner {3public static void main(String[] args) {4 Runner.Builder builder = Runner.path("classpath:Feature1.feature");5 builder.workingDir("C:\\Users\\user\\Desktop\\Training\\Karate\\KarateTraining\\src\\test\\java\\feature");6 builder.outputCucumberJson(true);7 builder.outputJunitXml(true);8 builder.parallel(1);9 Runner runner = builder.build();10 runner.run();11}12}13C:\Users\user\Desktop\Training\Karate\KarateTraining\src\test\java>java -cp C:\Users\user\.m2\repository\com\intuit\karate\karate-apache\0.9.6\karate-apache-0.9.6.jar;C:\Users\user\.m2\repository\com\intuit\karate\karate-core\0.9.6\karate-core-0.9.6.jar;C:\Users\user\.m2\repository\com\intuit\karate\karate-junit4\0.9.6\karate-junit4-0.9.6.jar;C:\Users\user\.m2\repository\com\intuit\karate\karate-junit5\0.9.6\karate-junit5-0.9.6.jar;C:\Users\user\.m2\repository\com\intuit\karate\karate-junit4\0.9.6\karate-junit4-0.9.6.jar;C:\Users\user\.m2\repository\com\intuit\karate\karate-junit5\0.9.6\karate-junit5-0.9.6.jar;C:\Users\user\.m2\repository\com\intuit\karate\karate-junit4\0.9.6\karate-junit4-0.9.6.jar;C:\Users\user\.m2\repository\com\intuit\karate\karate-junit5\0.9.6\karate-junit5-0.9.6.jar;C:\Users\user\.m2\repository\com\intuit\karate\kar
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!