Best Webtau code snippet using org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter
Source:HttpValidationResult.java
...21import org.testingisdocumenting.webtau.http.HttpHeader;22import org.testingisdocumenting.webtau.http.render.DataNodeAnsiPrinter;23import org.testingisdocumenting.webtau.http.request.HttpRequestBody;24import org.testingisdocumenting.webtau.http.HttpResponse;25import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;26import org.testingisdocumenting.webtau.http.datacoverage.TraceableValueConverter;27import org.testingisdocumenting.webtau.http.datanode.DataNode;28import org.testingisdocumenting.webtau.persona.Persona;29import org.testingisdocumenting.webtau.reporter.WebTauStepOutput;30import org.testingisdocumenting.webtau.time.Time;31import org.testingisdocumenting.webtau.utils.StringUtils;32import java.util.ArrayList;33import java.util.LinkedHashMap;34import java.util.List;35import java.util.Map;36import java.util.concurrent.atomic.AtomicInteger;37import java.util.function.Function;38import static org.testingisdocumenting.webtau.cfg.WebTauConfig.*;39public class HttpValidationResult implements WebTauStepOutput {40 private static final AtomicInteger idCounter = new AtomicInteger();41 private static final String BINARY_CONTENT_PLACEHOLDER = "[binary content]";42 private final String id;43 private final String url;44 private final String fullUrl;45 private final String requestMethod;46 private final HttpHeader requestHeader;47 private final HttpRequestBody requestBody;48 private final String personaId;49 private final List<String> mismatches;50 private final List<String> warnings;51 private HttpResponse response;52 private HeaderDataNode responseHeaderNode;53 private BodyDataNode responseBodyNode;54 private long startTime;55 private boolean elapsedTimeCalculated = false;56 private long elapsedTime;57 private String errorMessage;58 private String operationId;59 private String bodyParseErrorMessage;60 public HttpValidationResult(String personaId,61 String requestMethod,62 String url,63 String fullUrl,64 HttpHeader requestHeader,65 HttpRequestBody requestBody) {66 this.id = generateId();67 this.personaId = personaId;68 this.requestMethod = requestMethod;69 this.url = url;70 this.fullUrl = fullUrl;71 this.requestHeader = requestHeader;72 this.requestBody = requestBody;73 this.mismatches = new ArrayList<>();74 this.warnings = new ArrayList<>();75 this.operationId = "";76 }77 public String getId() {78 return id;79 }80 public HttpHeader getRequestHeader() {81 return requestHeader;82 }83 public HttpResponse getResponse() {84 return response;85 }86 public void setResponse(HttpResponse response) {87 this.response = response;88 }89 public void setResponseHeaderNode(HeaderDataNode responseHeader) {90 this.responseHeaderNode = responseHeader;91 }92 public void setResponseBodyNode(BodyDataNode responseBody) {93 this.responseBodyNode = responseBody;94 }95 public List<String> getFailedPaths() {96 return extractPaths(responseBodyNode, CheckLevel::isFailed);97 }98 public List<String> getPassedPaths() {99 return extractPaths(responseBodyNode, CheckLevel::isPassed);100 }101 public void setStartTime(long startTime) {102 this.startTime = startTime;103 }104 public long getStartTime() {105 return startTime;106 }107 /**108 * we want to calculate elapsed time as soon as http call is finished109 * but we also need to calculate it when something goes wrong110 */111 public void calcElapsedTimeIfNotCalculated() {112 if (elapsedTimeCalculated) {113 return;114 }115 long endTime = Time.currentTimeMillis();116 elapsedTime = endTime - startTime;117 elapsedTimeCalculated = true;118 }119 public void setElapsedTime(long elapsedTime) {120 this.elapsedTime = elapsedTime;121 }122 public long getElapsedTime() {123 return elapsedTime;124 }125 public String getRequestType() {126 return requestBody != null ? requestBody.type() : null;127 }128 public boolean isRequestBinary() {129 return requestBody != null && requestBody.isBinary();130 }131 public String getResponseType() {132 return response.getContentType();133 }134 public String getRequestContent() {135 return requestBody != null ? requestBody.asString() : null;136 }137 public HttpRequestBody getRequestBody() {138 return requestBody;139 }140 public boolean nullOrEmptyRequestContent() {141 return StringUtils.nullOrEmpty(getRequestContent());142 }143 public String getResponseTextContent() {144 return response.getTextContent();145 }146 public boolean hasResponseContent() {147 return response != null && response.hasContent();148 }149 public int getResponseStatusCode() {150 return response.getStatusCode();151 }152 public void addMismatch(String message) {153 mismatches.add(message);154 }155 public List<String> getMismatches() {156 return mismatches;157 }158 public boolean hasMismatches() {159 return !mismatches.isEmpty();160 }161 public String renderMismatches() {162 return String.join("\n", mismatches);163 }164 public void addWarning(String warning) {165 warnings.add(warning);166 }167 public void setErrorMessage(String errorMessage) {168 this.errorMessage = errorMessage;169 }170 public String getErrorMessage() {171 return errorMessage;172 }173 public void setBodyParseErrorMessage(String bodyParseErrorMessage) {174 this.bodyParseErrorMessage = bodyParseErrorMessage;175 }176 public String getUrl() {177 return url;178 }179 public String getFullUrl() {180 return fullUrl;181 }182 public String getRequestMethod() {183 return requestMethod;184 }185 public HeaderDataNode getHeaderNode() {186 return responseHeaderNode;187 }188 public BodyDataNode getBodyNode() {189 return responseBodyNode;190 }191 public String getOperationId() {192 return operationId;193 }194 public void setOperationId(String operationId) {195 this.operationId = operationId;196 }197 @Override198 public Map<String, ?> toMap() {199 Map<String, Object> result = new LinkedHashMap<>();200 result.put("id", id);201 if (!Persona.DEFAULT_PERSONA_ID.equals(personaId)) {202 result.put("personaId", personaId);203 }204 result.put("method", requestMethod);205 result.put("url", fullUrl);206 result.put("operationId", operationId);207 result.put("startTime", startTime);208 result.put("elapsedTime", elapsedTime);209 result.put("errorMessage", errorMessage);210 result.put("mismatches", mismatches);211 result.put("warnings", warnings);212 result.put("requestHeader", requestHeader.redactSecrets().toListOfMaps());213 if (requestBody != null) {214 result.put("requestType", requestBody.type());215 result.put("requestBody", requestBody.isBinary() ? BINARY_CONTENT_PLACEHOLDER : requestBody.asString());216 }217 if (response != null) {218 result.put("responseType", response.getContentType());219 result.put("responseStatusCode", response.getStatusCode());220 result.put("responseHeader", response.getHeader().redactSecrets().toListOfMaps());221 result.put("responseBody", response.isBinary() ? BINARY_CONTENT_PLACEHOLDER : response.getTextContent());222 }223 if (responseBodyNode != null) {224 Map<String, Object> responseBodyChecks = new LinkedHashMap<>();225 result.put("responseBodyChecks", responseBodyChecks);226 responseBodyChecks.put("failedPaths", getFailedPaths());227 responseBodyChecks.put("passedPaths", getPassedPaths());228 }229 return result;230 }231 private List<String> extractPaths(DataNode dataNode, Function<CheckLevel, Boolean> includePath) {232 List<String> paths = new ArrayList<>();233 TraceableValueConverter traceableValueConverter = (id, traceableValue) -> {234 if (includePath.apply(traceableValue.getCheckLevel())) {235 paths.add(replaceStartOfThePath(id.getPath()));236 }237 return traceableValue.getValue();238 };239 DataNodeToMapOfValuesConverter dataNodeConverter = new DataNodeToMapOfValuesConverter(traceableValueConverter);240 dataNodeConverter.convert(dataNode);241 return paths;242 }243 private static String replaceStartOfThePath(String path) {244 if (path.startsWith("body")) {245 return path.replace("body", "root");246 }247 if (path.startsWith("header")) {248 return path.replace("header", "root");249 }250 throw new RuntimeException("path should start with either header or body");251 }252 private String generateId() {253 return "httpCall-" + idCounter.incrementAndGet();...
Source:SchemaMatcher.java
...21import com.networknt.schema.SpecVersion;22import com.networknt.schema.ValidationMessage;23import org.testingisdocumenting.webtau.expectation.ActualPath;24import org.testingisdocumenting.webtau.expectation.ValueMatcher;25import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;26import org.testingisdocumenting.webtau.http.datanode.DataNode;27import org.testingisdocumenting.webtau.schema.JsonSchemaConfig;28import org.testingisdocumenting.webtau.utils.FileUtils;29import org.testingisdocumenting.webtau.utils.JsonUtils;30import java.nio.file.Path;31import java.util.List;32import java.util.Set;33import java.util.stream.Collectors;34public class SchemaMatcher implements ValueMatcher {35 private final String schemaFileName;36 private final JsonSchema schema;37 public SchemaMatcher(String schemaFileName) {38 this.schemaFileName = schemaFileName;39 Path schemaFilePath = JsonSchemaConfig.getSchemasDir().resolve(schemaFileName);40 /*41 This json schema library requires pre-registering different versions. We'll initialise the builder (which we42 have to do) with the latest version. This has the side effect of also making that version the default (for43 the case where the schema json does not specify a version). We'll then register all other versions explicitly44 without changing the default.45 */46 JsonSchemaFactory factory = JsonSchemaFactory47 .builder(JsonSchemaFactory.getInstance(SpecVersion.VersionFlag.V201909))48 .addMetaSchema(JsonMetaSchema.getV4())49 .addMetaSchema(JsonMetaSchema.getV6())50 .addMetaSchema(JsonMetaSchema.getV7())51 .build();52 this.schema = factory.getSchema(FileUtils.fileTextContent(schemaFilePath));53 }54 @Override55 public String matchingMessage() {56 return "to comply with schema " + schemaFileName;57 }58 @Override59 public String matchedMessage(ActualPath actualPath, Object actual) {60 return "complies with schema " + schemaFileName;61 }62 @Override63 public String mismatchedMessage(ActualPath actualPath, Object actual) {64 return actualPath + " expected to comply with schema " + schemaFileName + "\n" +65 validationsErrors(actual);66 }67 @Override68 public boolean matches(ActualPath actualPath, Object actual) {69 return validationsErrors(actual).isEmpty();70 }71 private List<String> validationsErrors(Object actual) {72 Object actualObj = actual;73 if (actual instanceof DataNode) {74 DataNodeToMapOfValuesConverter converter = new DataNodeToMapOfValuesConverter((id, traceableValue) ->75 traceableValue.getValue());76 actualObj = converter.convert((DataNode) actual);77 }78 JsonNode actualJsonObject = JsonUtils.convertToTree(actualObj);79 Set<ValidationMessage> validationMessages = schema.validate(actualJsonObject);80 return validationMessages.stream().map(ValidationMessage::toString).collect(Collectors.toList());81 }82 @Override83 public String negativeMatchingMessage() {84 return "to not comply with schema " + schemaFileName;85 }86 @Override87 public String negativeMatchedMessage(ActualPath actualPath, Object actual) {88 return "does not comply with schema " + schemaFileName;...
Source:DataNodeToMapOfValuesConverter.java
...21import java.util.LinkedHashMap;22import java.util.List;23import java.util.Map;24import static java.util.stream.Collectors.toList;25public class DataNodeToMapOfValuesConverter {26 private final TraceableValueConverter traceableValueConverter;27 public DataNodeToMapOfValuesConverter(TraceableValueConverter traceableValueConverter) {28 this.traceableValueConverter = traceableValueConverter;29 }30 public Object convert(DataNode n) {31 if (n.isList()) {32 return convertToList(n);33 } else if (n.isSingleValue()) {34 return convertSingleValue(n.id(), n.getTraceableValue());35 } else {36 return convertToMap(n);37 }38 }39 private Map<String, Object> convertToMap(DataNode dataNode) {40 Map<String, Object> converted = new LinkedHashMap<>();41 dataNode.children().forEach((n) -> converted.put(n.id().getName(), convert(n)));...
DataNodeToMapOfValuesConverter
Using AI Code Generation
1import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;2import org.testingisdocumenting.webtau.http.datanode.DataNode;3import org.testingisdocumenting.webtau.http.datanode.DataNodeEntry;4import java.util.Map;5public class DataNodeToMapOfValuesConverterExample {6 public static void main(String[] args) {7 DataNode dataNode = new DataNode(new DataNodeEntry("key1", "value1"),8 new DataNodeEntry("key2", "value2"));9 Map<String, Object> map = DataNodeToMapOfValuesConverter.convert(dataNode);10 System.out.println(map);11 }12}13{key1=value1, key2=value2}14public class DataNodeToMapOfValuesConverter {15 public static Map<String, Object> convert(DataNode dataNode) {16 Map<String, Object> map = new HashMap<>();17 for (DataNodeEntry entry : dataNode.getEntries()) {18 map.put(entry.getName(), entry.getValue());19 }20 return map;21 }22}
DataNodeToMapOfValuesConverter
Using AI Code Generation
1import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;2import org.testingisdocumenting.webtau.http.datanode.DataNode;3import org.testingisdocumenting.webtau.http.datanode.DataNodeField;4import org.testingisdocumenting.webtau.http.datanode.DataNodeList;5import org.testingisdocumenting.webtau.http.datanode.DataNodeMap;6import org.testingisdocumenting.webtau.http.datanode.DataNodePrimitive;7import org.testingisdocumenting.webtau.http.datanode.DataNodeValue;8import org.testingisdocumenting.webtau.http.datanode.DataNodeValueVisitor;9import org.testingisdocumenting.webtau.http.datanode.DataNodeVisitor;10import java.util.ArrayList;11import java.util.HashMap;12import java.util.List;13import java.util.Map;14public class DataNodeToMapOfValuesConverter implements DataNodeVisitor {15 private final DataNodeToMapOfValuesConverterVisitor converterVisitor;16 private final Map<String, Object> result;17 public DataNodeToMapOfValuesConverter() {18 converterVisitor = new DataNodeToMapOfValuesConverterVisitor();19 result = new HashMap<>();20 }21 public Map<String, Object> convert(DataNode dataNode) {22 dataNode.accept(this);23 return result;24 }25 public void visit(DataNodePrimitive dataNode) {26 dataNode.accept(converterVisitor);27 }28 public void visit(DataNodeMap dataNode) {29 dataNode.accept(converterVisitor);30 }31 public void visit(DataNodeList dataNode) {32 dataNode.accept(converterVisitor);33 }34 private class DataNodeToMapOfValuesConverterVisitor implements DataNodeValueVisitor {35 public void visit(DataNodePrimitive dataNode) {36 result.put(dataNode.getName(), dataNode.getValue());37 }38 public void visit(DataNodeMap dataNode) {39 Map<String, Object> map = new HashMap<>();40 for (DataNodeField field : dataNode.getFields()) {41 result.put(field.getName(), map);42 field.getDataNode().accept(DataNodeToMapOfValuesConverter.this);43 }44 }45 public void visit(DataNodeList dataNode) {46 List<Object> list = new ArrayList<>();47 for (DataNodeValue value : dataNode.getValues()) {48 list.add(value.getValue());49 }
DataNodeToMapOfValuesConverter
Using AI Code Generation
1import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;2import org.testingisdocumenting.webtau.http.datanode.DataNode;3import static org.testingisdocumenting.webtau.WebTauDsl.*;4public class 1 {5 public static void main(String[] args) {6 DataNode dataNode = http.get("/data").jsonBody();7 Map<String, Object> map = DataNodeToMapOfValuesConverter.convert(dataNode);8 for (Map.Entry<String, Object> entry : map.entrySet()) {9 System.out.println(entry.getKey() + " = " + entry.getValue());10 }11 }12}13import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;14import org.testingisdocumenting.webtau.http.datanode.DataNode;15import static org.testingisdocumenting.webtau.WebTauDsl.*;16public class 2 {17 public static void main(String[] args) {18 DataNode dataNode = http.get("/data").jsonBody();19 Map<String, Object> map = DataNodeToMapOfValuesConverter.convert(dataNode);20 for (Map.Entry<String, Object> entry : map.entrySet()) {21 System.out.println(entry.getKey() + " = " + entry.getValue());22 }23 }24}25import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;26import org.testingisdocumenting.webtau.http.datanode.DataNode;27import static org.testingisdocumenting.webtau.WebTauDsl.*;28public class 3 {29 public static void main(String[] args) {30 DataNode dataNode = http.get("/data").jsonBody();31 Map<String, Object> map = DataNodeToMapOfValuesConverter.convert(dataNode);32 for (Map.Entry<String, Object> entry : map.entrySet()) {33 System.out.println(entry.getKey() + " = " + entry.getValue());34 }35 }36}37import org.testingisdocumenting.webtau.http
DataNodeToMapOfValuesConverter
Using AI Code Generation
1import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;2import org.testingisdocumenting.webtau.http.datanode.DataNode;3import org.testingisdocumenting.webtau.http.datanode.DataNodeFromObjectConverter;4import org.testingisdocumenting.webtau.http.datanode.DataNodeToMapOfValuesConverter;5public class DataNodeToMapOfValuesConverterExample {6 public static void main(String[] args) {7 DataNode dataNode = DataNodeFromObjectConverter.create("someDataNode");8 Map<String, Object> mapOfValues = DataNodeToMapOfValuesConverter.convert(dataNode);9 }10}11import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;12import org.testingisdocumenting.webtau.http.datanode.DataNode;13import org.testingisdocumenting.webtau.http.datanode.DataNodeFromObjectConverter;14import org.testingisdocumenting.webtau.http.datanode.DataNodeToMapOfValuesConverter;15public class DataNodeToMapOfValuesConverterExample {16 public static void main(String[] args) {17 DataNode dataNode = DataNodeFromObjectConverter.create("someDataNode");18 Map<String, Object> mapOfValues = DataNodeToMapOfValuesConverter.convert(dataNode, "someDataNode");19 }20}21import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;22import org.testingisdocumenting.webtau.http.datanode.DataNode;23import org.testingisdocumenting.webtau.http.datanode.DataNodeFromObjectConverter;24import org.testingisdocumenting.webtau.http.datanode.DataNodeToMapOfValuesConverter;25public class DataNodeToMapOfValuesConverterExample {26 public static void main(String[] args) {27 DataNode dataNode = DataNodeFromObjectConverter.create("someDataNode");28 Map<String, Object> mapOfValues = DataNodeToMapOfValuesConverter.convert(dataNode,
DataNodeToMapOfValuesConverter
Using AI Code Generation
1import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;2import org.testingisdocumenting.webtau.http.datanode.DataNode;3import org.testingisdocumenting.webtau.http.datanode.DataNodeHandler;4import org.testingisdocumenting.webtau.http.datanode.DataNodeHandlers;5import org.testingisdocumenting.webtau.http.datanode.DataNodePath;6import org.testingisdocumenting.webtau.http.datanode.JsonDataNodeHandler;7import org.testingisdocumenting.webtau.http.datanode.MapDataNodeHandler;8import org.testingisdocumenting.webtau.http.datanode.MapOfValuesDataNodeHandler;9import org.testingisdocumenting.webtau.http.datanode.XmlDataNodeHandler;10import org.testingisdocumenting.webtau.utils.JsonUtils;11import org.testingisdocumenting.webtau.utils.XmlUtils;12import org.w3c.dom.Document;13import org.w3c.dom.Node;14import java.util.List;15import java.util.Map;16public class DataNodeToMapOfValuesConverterExample {17 public static void main(String[] args) {18 DataNodeHandlers.register(new JsonDataNodeHandler());19 DataNodeHandlers.register(new XmlDataNodeHandler());20 DataNodeHandlers.register(new MapDataNodeHandler());21 DataNodeHandlers.register(new MapOfValuesDataNodeHandler());22 DataNode dataNode = DataNodeHandlers.handle("json", "{ \"a\": \"b\", \"c\": \"d\" }");23 Map<String, Object> mapOfValues = DataNodeToMapOfValuesConverter.convert(dataNode);24 System.out.println("mapOfValues: " + mapOfValues);25 }26}27mapOfValues: {a=b, c=d}
DataNodeToMapOfValuesConverter
Using AI Code Generation
1Map<String, List<String>> map = DataNodeToMapOfValuesConverter.convert(dataNode);2Map<String, String> map = DataNodeToMapOfValuesConverter.convert(dataNode);3Map<String, Integer> map = DataNodeToMapOfValuesConverter.convert(dataNode);4Map<String, Boolean> map = DataNodeToMapOfValuesConverter.convert(dataNode);5Map<String, Object> map = DataNodeToMapOfValuesConverter.convert(dataNode);6Map<String, List<String>> map = DataNodeToMapOfValuesConverter.convert(dataNode);7Map<String, String> map = DataNodeToMapOfValuesConverter.convert(dataNode);8Map<String, Integer> map = DataNodeToMapOfValuesConverter.convert(dataNode);9Map<String, Boolean> map = DataNodeToMapOfValuesConverter.convert(dataNode);
DataNodeToMapOfValuesConverter
Using AI Code Generation
1import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;2import org.testingisdocumenting.webtau.data.table.TableData;3TableData tableData = TableData.create("name", "age",4 "jack", 20);5Map<String, Object> map = DataNodeToMapOfValuesConverter.convert(tableData.get(0));6import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;7import org.testingisdocumenting.webtau.data.table.TableData;8TableData tableData = TableData.create("name", "age",9 "jack", 20);10Map<String, Object> map = DataNodeToMapOfValuesConverter.convert(tableData.get(1));11import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;12import org.testingisdocumenting.webtau.data.table.TableData;13TableData tableData = TableData.create("name", "age",14 "jack", 20);15Map<String, Object> map = DataNodeToMapOfValuesConverter.convert(tableData.get(2));16import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;17import org.testingisdocumenting.webtau.data.table.TableData;18TableData tableData = TableData.create("name", "age",
DataNodeToMapOfValuesConverter
Using AI Code Generation
1import org.testingisdocumenting.webtau.data.table.TableData;2import org.testingisdocumenting.webtau.data.table.TableDataValue;3import org.testingisdocumenting.webtau.http.datacoverage.DataNodeToMapOfValuesConverter;4import org.testingisdocumenting.webtau.http.datanode.DataNode;5import java.util.List;6import java.util.Map;
DataNodeToMapOfValuesConverter
Using AI Code Generation
1import org.testingisdocumenting.webtau.data.table.TableData2import org.testingisdocumenting.webtau.data.table.TableDataHeader3import org.testingisdocumenting.webtau.data.table.TableDataRecord4import org.testingisdocumenting.webtau.data.table.TableDataRecordValue5import org.testingisdocumenting.webtau.data.table.TableDataValue6import org.testingisdocumenting.webtau.data.table.TableDataValueConverter7import org.testingisdocumenting.webtau.data.table.TableDataValueConverterRegistry8import org.testingisdocumenting.webtau.data.table.TableDataValues9import org.testingisdocumenting.webtau.data.table.TableDataValuesConverter10import org.testingisdocumenting.webtau.data.table.TableDataValuesConverterRegistry11import org.testingisdocumenting.webtau.data.table.TableDa
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!!