CATs will build catnip in its SynchronizedBeforeSuite,
so if you've run CATs you should have the binary
To build and push
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.
go get github.com/cloudfoundry/cf-acceptance-tests
To set up a sticky session manually:
- Get your sticky session by running:
curl -d '' dora.yourdomain.com/session -c instance_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
- Then you can target whatever instance you want for example:
curl dora.yourdomain.com/stress_testers -b instance_2
There is no documentation for this package.