cancel
Showing results for 
Search instead for 
Did you mean: 

Property source is not a request

New Contributor

Property source is not a request

Hi Team,

 

I am having an issue with the property transfer in the rest API.

 

I am not able to declare namespace in Request and Response.

 

When ever I am Clicking on ns: - it is displaying an error as 'Property source is not a request'.

 

In the Request - I have configured the media type to text/xml

 

Below is the request : 

 

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<soap:Body>
		<GetRateOptionAvailability>
			<AMAKey>${#TestSuite#AMAKey}</AMAKey>
			<CruiseCode>${#Project#CruiseCode}</CruiseCode>
			<CurrencyCode>${#TestCases#CurrencyCode}</CurrencyCode>
			<IATANumber>${#TestSuite#IATANumber}</IATANumber>
			<SailID>${#Project#SailID}</SailID>
			<PassengerCityCode>${#TestCase#PassengerCityCode}</PassengerCityCode>
		</GetRateOptionAvailability>
	</soap:Body>
</soap:Envelope>

 

 

Please refer screenshot for more information. 

 

Tags (1)
1 REPLY 1
Highlighted
Community Hero

Re: Property source is not a request

Not sure why are you facing that issue.
Another way is to use Groovy script to extract the required data( and store them at test case level custom properties) instead of Property transfer.


Regards,
Rao.
New Here?
Join us and watch the welcome video:
API Testing Mistake #2
APITestingMistake#2
Top Kudoed Authors