Do vault variables work in performance tests?

Hi there,

I’m trying to setup a performance test collection for our API.

I’ve stored the API (bearer) token as a vault variable. If I run the requests individually or the whole collection as a “Functional test” the requests have the correct header, the token is included in the header and requests are authorised.

If I run the “Performance test” the token is not included in the header. Instead, the template string is sent to the server in the Authorization header, like Bearer {{vault:currentAccessToken}}. Obviously the requests fail as unauthorised.

Is this the expected result? Is it possible to use vault variables in performance tests?

I’m using Postman for Mac version 11.11.1.

Thanks for your help!

Hey @tuomastammi :wave:t2:

Welcome to the Postman Community :postman:

Currently, Vault variables are not supported in the Performance Tests.