Forum Discussion

samukoo's avatar
13 years ago

values from response body to request header

Hi folks,

Im trying to do this kind a testcase:

1. POST client credential <- ok
2. Receive message response, with authentication token and type
3. send a GET message, where in header the "token type" AND "authentication token" are in the same

so:

getting values into testcase properties
token_type: Bearer
AND
access_token: lkqjeqe0981309...

Now my prob is that I should get those both values in third property called for example "type_and_token"
and it should be like this: "Bearer lkqjeqe0981309..."

I have tried to property transfer and Groovy scripting but
this problem, which sounds relatively easy, is still on.

Can someone help

1 Reply

  • Gilbeeert's avatar
    Gilbeeert
    New Contributor
    Im just writing to let you be aware of what a perfect experience my friends princess developed browsing yuor web blog. She mastered a wide variety of things, with the inclusion of how it is like to possess an ideal helping spirit to make others quite simply master specific complicated subject areas. You truly surpassed visitors desires. Thanks for distributing those valuable, healthy, educational and as well as easy tips on the topic to Ethel.
    __________________________
    My homepage is Ugg Boots Sale of cyber online store.