Forum Discussion

Tim_OShea's avatar
Tim_OShea
Icon for Neophyte rankNeophyte
2 years ago

Multi Step website test with variable

We have a website test on a site that uses session based tokens, whcih are passed by the authentication process.

I can curl the website and get a token, and then paste the token as a bearer token in another curl, but can’t figure out:-

  1. how to do this with a website test
    or
  2. how to build a new datasource to do this.

The token expires after 15 minutes, so setting up as a persistant value in the headers for the webtest doesnt work.

Can anyone help?