14 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
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