Skip to content

Instantly share code, notes, and snippets.

@rppowell-lasfs
rppowell-lasfs / APITestExample.java
Last active December 1, 2018 23:45
API Testing Examples using TestNG, RESTAssured, JSONPath, JSONAssert
/* build.gradle
dependencies {
// https://mvnrepository.com/artifact/org.testng/testng
testCompile group: 'org.testng', name: 'testng', version: '6.14.3'
// https://mvnrepository.com/artifact/io.rest-assured/rest-assured
testCompile group: 'io.rest-assured', name: 'rest-assured', version: '3.1.0'
// https://mvnrepository.com/artifact/io.rest-assured/json-schema-validator
testCompile group: 'io.rest-assured', name: 'json-schema-validator', version: '3.1.0'
@rppowell-lasfs
rppowell-lasfs / lasfslibrary.groovy
Created June 21, 2020 02:40
LASFS Library - groovy script for legacy database using sqlite ormlite
/*
References:
* https://www.baeldung.com/ormlite
* http://ormlite.com/javadoc/ormlite-core/doc-files/ormlite.html
* http://ormlite.com/javadoc/ormlite-core/
*/