Forum Discussion
dasjestyr
11 years agoNew Contributor
Here's what I've done
- Create a step that goes out and gets your token. Name it "get_token"
- Create the next step as a groovy script, and name it "xfer_bearer_token". In the script area, you can right click>GetData>... then point it at the previous step's response/property. This will prompt you create a variable in the groovy code. Then just return your concatenation like this
- Create a step that calls an endpoint that needs the token. Set up a property in this step called 'Authorization' and set the style to 'HEADER'. Right click inside of the property value>GetData>... then find your groovy script that you just made. Choose the result of the groovy script
This worked for me
NamrataMane
8 years agoOccasional Contributor
HI there,
could you please let me know what step we need to use in below step to get auth token.
- Create a step that goes out and gets your token. Name it "get_token"
- nmrao8 years agoCommunity HeroNamrataMane,
Suggested you to create a new question with details so that some one can understand the issue better. Use screen shot if required.