catnip

command
v2.16.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

README

CATs will build catnip in its SynchronizedBeforeSuite, so if you've run CATs you should have the binary at ./assets/catnip/bin/catnip

To build and push catnip locally

GOOS=linux GOARCH=amd64 go build -o bin/catnip
cd bin/catnip
cf push catnip -b binary_buildpack -c "./catnip"

If you get a build error you probably have CATs checked out to somewhere that isn't on your gopath.

Try go get github.com/cloudfoundry/cf-acceptance-tests and then cd $GOPATH/src/github.com/cloudfoundry/cf-acceptance-tests or cd $HOME/go/src/github.com/cloudfoundry/cf-acceptance-tests

Sticky Sessions

To set up a sticky session manually:

  1. Get your sticky session by running:
curl -d '' dora.yourdomain.com/session -c instance_1
  1. Run with a different filename for each instance, and repeat the curl command until you get a new ID
curl -d '' dora.yourdomain.com/session -c instance_2
  1. Then you can target whatever instance you want for example:
curl dora.yourdomain.com/stress_testers -b instance_2

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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