I created a Sync Function tester script to test your sync function easier.
It takes a folder of individual JSON files and GET,PUT and/or DELETE them against your sync gateway to test your sync function.
I created a Sync Function tester script to test your sync function easier.
It takes a folder of individual JSON files and GET,PUT and/or DELETE them against your sync gateway to test your sync function.
Updated Features
operations Configuration: Added an operations attribute to specify the list of operations to perform.operationsarray.SLEEP operation that allows pausing execution between other operations. This can be useful for testing time-sensitive scenarios or simulating delays.GET_RAW operation that allows you to get the document from Sync Gateway exactly how it is stored in Couchbase Server includes all the meta / bookkeeping data from _sync.config.json just pass in non-default(_default) value for sgDbScope and sgDbCollection to test scopes and collection Sync Functions.