Fix the gateway url to do sampling

Change-Id: Id5477ab0e66005e1b1cea677f64585e0d23635c6
Reviewed-on: http://review.couchbase.org/37147
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Li Yang <lichenyang2@gmail.com>