Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 533 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 533 Bytes

logproxy

Logproxy is a tool for recording and replaying test queries.

Main features

  • Write log of incoming queries with timestamp
  • Replay queries from log file

Usage

To start querry collecting session:

logproxy run -H bdHost -p bdPort -l LogFile -P proxyPort -c tlsConfigPath

To connect use:

psql -H proxyHost -p proxyPort *creds for db*

After closing connection, queries will be saved to the log file. To replay it execute:

logproxy replay -H bdHost -p bdPort -U userName -d dbName -l LogFile