diff --git a/en/performance/benchmarking-cloud.html b/en/performance/benchmarking-cloud.html index e4b191ec5f..09b81f5ff1 100644 --- a/en/performance/benchmarking-cloud.html +++ b/en/performance/benchmarking-cloud.html @@ -54,9 +54,20 @@

Set up a performance test instanceAt this point, the instance is ready, with data, and can be queried using data-plane credentials.

+

Test using vespa-fbench with a token endpoint

+ +

To test using an API token endpoint instead of mTLS, use these options:

+ +
+$ vespa-fbench -q query.txt -s 5 -H "Authorization: Bearer [your token]" -T /etc/ssl/certs/ca-bundle.crt -o out.txt "[token-endpoint]" 443
+
+ +

ca-bundle.crt is just the root certificates, nothing Vespa specific.

+

Test using vespa-fbench

-

The rest of the guide assumes the data-plane credentials are in working directory:

+ +

The rest of the guide assumes we're using an mTLS endpoint and have data-plane credentials are in working directory:

 $ ls -1 *.pem
   data-plane-private-key.pem