Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion en/performance/benchmarking-cloud.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,20 @@ <h2 id="set-up-a-performance-test-instance">Set up a performance test instance</
<p>At this point, the instance is ready, with data, and can be queried using data-plane credentials.</p>


<h2 id="test-using-vespa-fbench-with-a-token-endpoint">Test using vespa-fbench with a token endpoint</h2>

<p>To test using an API token endpoint instead of mTLS, use these options:</p>

<pre>
$ 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
</pre>

<p>ca-bundle.crt is just the root certificates, nothing Vespa specific.</p>


<h2 id="test-using-vespa-fbench">Test using vespa-fbench</h2>
<p>The rest of the guide assumes the data-plane credentials are in working directory:</p>

<p>The rest of the guide assumes we're using an mTLS endpoint and have data-plane credentials are in working directory:</p>
<pre>
$ ls -1 *.pem
data-plane-private-key.pem
Expand Down