record

command
v0.24.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2026 License: MIT Imports: 34 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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".

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL