Setup a Sync Gateway + Couchbase Server test cluster for functional and performance testing purposes
1.9K
$ docker run -ti tleyden5iwx/sync-gateway-testcluster /bin/bash
The rest of the steps should be run inside the running docker container.
$ cd /opt
$ git clone https://github.com/couchbaselabs/sync-gateway-tests.git
$ cd sync-gateway-tests/distributed_index_tests
$ ssh-keygen
$ python conf/ini_to_ansible_host.py --install-keys=id_rsa --ini-file=conf/hosts.ini
See distributed_index_tests/README.md in this repo for more information
From the Linux Host where docker is running
$ yum install -y tcpdump
$ tcpdump -i docker0 -w /tmp/docker.pcap port 4984
^C
Now, get the file to your OSX host and open it in Wireshark. It should contain all HTTP traffic between the test suite and the sync gateway machines.
Content type
Image
Digest
Size
235.9 MB
Last updated
over 10 years ago
docker pull tleyden5iwx/sync-gateway-testcluster