This app is a C# Command Line app that is used to test MarkLogic multi-statement ACID transactions.
This s a standalone tool used to test the RESTful Transaction APIs that are in the GLM-Search application.
The GLM-Search code is here. https://github.com/garyrusso/GLM-Search
####Usage: requires at least 2 params
- params: action, file, docUri, txid
- action: (get | put | post | trans)
####action params:
- if get then params are: docUri, txid (optional)
- if put then params are: file, docUri, txid (optional)
- if post then params: file, txid (optional) - used to create new but this is not yet implemented.
- if trans then params: action (create | commit | rollback), txid (not needed for create)
####High Level Test Sequence:
Get Document without transaction-idCreate New Transaction - Establishes new transactional context that is used for subsequent requestsUpdate Document using PUT Request with transaction-idGet Document with transaction-idGet Document without transaction-idCommit TransactionGet Document without transaction-id
####Test Sequence:
acid get /inventory/123987562062413876873155783207074035544.xmlacid trans createacid put C:\projects\ACIDTester\acid\InventoryAirplanes.xml /inventory/123987562062413876873155783207074035544.xml 14654627132988965180_13856553052109669213acid get /inventory/123987562062413876873155783207074035544.xml 14654627132988965180_13856553052109669213acid get /inventory/123987562062413876873155783207074035544.xmlacid trans commit 14654627132988965180_13856553052109669213acid get /inventory/123987562062413876873155783207074035544.xml