Documentation
¶
Overview ¶
Command record sends the requests of step 6 of docs/DRIVER.md to a real server, as the administrator and as the ordinary user, and writes each exchange and the manifest into testdata/<driver>/.
It reads the requests from requests.json in that folder. It replaces the files and the entries of the manifest that an earlier run wrote for the same release, so the folder holds one recording of each release.
go run ./dbimptest/cmd/record -dir testdata/couchbase -release couchbase-8.0.3 \ -admin http://Administrator:pass@127.0.0.1:55059 \ -ordinary http://dbmeta_user:pass@127.0.0.1:55059
A script that names "websocket" at the top is for a product that takes its requests as messages of a WebSocket, such as Exasol. Each request is then a frame, and -admin and -ordinary are wss URLs. docs/DESIGN.md holds the keys.
A product with a second server, such as the Controller of Pinot, names its URL with -second, and a request of the setup or the teardown goes there when it says "server": "second".