jeudi 3 novembre 2016

How to get header data from a RAW json response and pass to another request using soapui?

Below is my response of RestAPI - Authentication, I want to use value of "Token:" field and pass it into anther API Call using SOAPUI. Every API call required token value as header. Before calling any API I want to pass this RAW response "token" value to another API call.


HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/8.0
Token: 3c995835-d958-4bc6-a989-253340b2d610
TokenExpiry: 899.9844201
Access-Control-Expose-Headers: Token,TokenExpiry
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Fri, 04 Nov 2016 02:18:37 GMT
Content-Length: 12

"Authorized"

Kindly review attached file. Please guide me to solve the problem.
Thanks

View Attached screen shot

Aucun commentaire:

Enregistrer un commentaire