Commit Graph

58 Commits

Author SHA1 Message Date
Joshua Darnell 5274dd8557 Cleaned up metadata checking and removed extra Edm metadata fetch, favoring deserialization from the XML Response payload instead 2020-04-12 15:19:27 -07:00
Joshua Darnell 4da68de5c3 Added additional WebAPIContainer tests, formatted code, started to clean up test/testContainer logic 2020-04-12 13:37:18 -07:00
Joshua Darnell e80d1fc172 Fixed some formatting issues 2020-04-09 01:47:10 -07:00
Joshua Darnell aca7bbe709 Adding some needed files... 2020-04-09 01:40:35 -07:00
Joshua Darnell 25750899c6 Added WebAPITestContainer acceptance tests 2020-04-09 01:36:55 -07:00
Joshua Darnell 476d4b00ce Added Commander acceptance testing for XML and Metadata checking 2020-04-08 22:15:31 -07:00
Joshua Darnell 7be1cb7d1b Issue #19 - Fail subsequent tests eagerly when metadata fails 2020-04-08 04:22:10 -07:00
Joshua Darnell 26e2a3d915
removing 403 and 501 response code tests per workgroup vote (#16) 2020-04-06 15:00:51 -07:00
Joshua Darnell 13adc2cc24
Add Better XML parsing and Error Handling (#8)
* Added lazy loading of field hash, better XML handling and validation, additional validation for OData 4.0 and 4.01, and updated the RESOScript templates
* Added un-interpreted attempt to download and validate metadata if the Olingo client can't parse the response. Improved messaging.
* Changed XML metadata retrieval to fetch raw response so it could be validated using OASIS XSDs
* Added improved error message handling
2020-04-05 16:21:23 -07:00
Joshua Darnell 1f2beff9f1 Added additional OData-Version response tests, improved logging, and revised the JSON Schema resource data to not require @odata.context (but still validate it) since it may not be an OData resource, and the specification doesn't require it to be present 2020-03-31 13:00:12 -07:00
Joshua Darnell 4b84bc5ead Added better Metadata Reporting. Further fixes to RESOScripts 2020-03-27 22:28:23 -07:00
Joshua Darnell b8e31d39f3 Added additional field presence counters, fixed issue with DataSystem endpoint not being rooted in the Service Root, added additional type checking 2020-03-27 12:58:34 -07:00
Joshua Darnell d99deb3b68 adding additional comments 2020-03-26 13:22:13 -07:00
Joshua Darnell a598261d0d Added monadic test containers for Certification. Cleaned up code. 2020-03-25 23:34:13 -07:00
Joshua Darnell 2a27c4ab0e cleaning up test container 2020-03-25 13:06:27 -07:00
Joshua Darnell d371a9d3bb adding updated commander jar file 2020-03-23 23:40:11 -07:00
Joshua Darnell fbfa3c0d15 created a test wrapper for the commander, converted tests to use test wrapper, rename commander.log to commander.debug.log, and change state mutators to helper functions in TestUtils 2020-03-23 23:34:25 -07:00
Joshua Darnell b7ae36edeb adding gradle wrapper dependencies 2020-03-23 12:20:19 -07:00
Joshua Darnell f574e14040 Added better Auth handling and XML parsing. XML parsing is stricter now and uses OData 4.0 errata03 XSDs to parse EDM and EDMX schema 2020-03-18 23:36:49 -07:00
Joshua Darnell 5ff160b2a4 Fixed Auth deprecated classes, Client Credentials, and added stricter XML checking against EDM and EDMX XSDs 2020-03-18 22:11:59 -07:00
Joshua Darnell a788bf0309 Removed testing and stats from the Commander jarfile during runRESOScript option, and updated RESOScript templates 2020-03-18 16:00:13 -07:00
Joshua Darnell 2667df3b30 Adding checks for DataSystem resource and new Gold template (generic.gold.resoscript), and updated documentation. 2020-03-18 11:15:14 -07:00
Joshua Darnell 5fdf4f9158 refactored getEntities to use callback, and renamed the OAI steps to OpenAPI 2020-03-17 17:27:22 -07:00
Joshua Darnell a3bfa89576 Added additional tests for Well Known Resources as well as Web API Standard Names requirements. Bumped generic.resoscript 2020-03-15 13:12:01 -07:00
Joshua Darnell 1c17926d91 cleaned up logging and showResponse arg logic 2020-03-14 15:08:09 -07:00
Joshua Darnell 951b58820c Added additional error handling for 403 and 501 and suppressed console stacktraces, but outputted to log 2020-03-14 14:51:59 -07:00
Joshua Darnell 6f8d69848c generated glue code and built basic Gradle tasks for DD 1.5 and 1.6 2020-03-10 00:07:37 -07:00
Joshua Darnell ac49c61929 Basic DD skeleton with .feature files 2020-03-09 22:36:08 -07:00
Joshua Darnell 467c06ea6a updated generic.resoscript, and also addded versioning. Added first test 2020-03-09 18:10:59 -07:00
Joshua Darnell 16c34664d0 Moved exception handling for metadata validation to .feature file rather than helper class 2020-03-08 12:26:33 -07:00
Joshua Darnell 76eaa31271 Merge branch 'automated-v1' 2020-03-08 12:09:43 -07:00
Joshua Darnell 3af034afb2 Adding more stringent Metadata checking and metadata lookups for the given resource being tested 2020-03-08 11:47:00 -07:00
Joshua Darnell 0ae0fee43e Tightened up metadata checking, including checking for given resource and select list. Added better debugging info. Updated README. 2020-03-08 11:46:11 -07:00
Joshua Darnell a3687b9f6a Added convenience methods for Gold and Platinum Web API Certs, Updated Docker Instructions and README
Tightened up metadata checking, including checking for given resource and select list. Added better debugging info. Updated README.
2020-03-08 03:47:17 -07:00
Joshua Darnell 317436996b adding convenience methods for Gold and Platinum Web API Certs, Updated Docker Instructions and README 2020-03-05 21:15:43 -08:00
darnjo 82456bcf14 adding new commander jarfile 2020-03-02 17:13:48 -08:00
darnjo 398599a1da Fixed minor typo 2020-03-02 12:25:58 -08:00
Joshua Darnell dbabae2158 String comparison functions working 2020-03-02 12:08:21 -08:00
Joshua Darnell 521920a1f8 Date comparisons through REQ-WA103-QO24, fractional seconds comparisons 2020-03-02 04:25:33 -08:00
Joshua Darnell d412f0bdd4 Added support for Asc, Desc timestamp comparison operators 2020-03-02 00:11:06 -08:00
Joshua Darnell f02b95f4fb removed duplicate print statement 2020-02-28 13:07:06 -08:00
Joshua Darnell bd8a1acfcf Add response printing with -DshowResponses=true 2020-02-28 12:40:04 -08:00
Joshua Darnell e9e6eecd1f preliminary check for multi-valued enumerations and some assert cleanup 2020-02-28 11:53:49 -08:00
Joshua Darnell 0784c2e693 cleaned up logging 2020-02-27 20:09:23 -08:00
Joshua Darnell b2299fb0d8 tightened up data checking 2020-02-27 19:40:32 -08:00
Joshua Darnell 4be5e3bed6 new jar 2020-02-27 19:14:42 -08:00
Joshua Darnell 6321b644a5 Added better support for settings resolution in Cucumber tests, upgraded generic.resoscript with more generic statements and a that builds itself 2020-02-27 18:26:25 -08:00
Joshua Darnell 451ecf00bf updated generic.resoscript with more sensible names for the keyfield and tests 2020-02-27 17:11:38 -08:00
Joshua Darnell 1de4748b12 updated .gitignore 2020-02-27 16:01:17 -08:00
Joshua Darnell 229b6878c4 added null checks to the generic.resoscript and better Integer/String handling for Key field comparisons 2020-02-27 15:38:21 -08:00