Reputation: 1
I would like to know how to property transfer from one REST API to another REST API?
I worked on the property transfer with the JSON format, but I need to know how to transfer the one REST API response property and use it in the header?
Upvotes: 0
Views: 1573
Reputation: 2283
let me explain this using the below scenario:
Authorization Header
to Basic
with the user apiKey)To accomplish these steps in soapUI You have to:
apiKey
in Custom Properties
in TestCase
apiKey
property to TestCase.apiKey
via property transfer or Groovy
StepTestCase.apiKey
in your nest REST Request
step by expanding it via Basic ${=(testCase.getPropertyValue("apiKey")+":").bytes.encodeBase64()}
Hope that helps
Upvotes: 0