Forum Discussion
abhishek813
11 years agoFrequent Contributor
This is definitely a problem as i tried a similar setup (see steps below) and after changing the environment the new custom properties are not picked up, although the built-in properties are picked up correctly.
1. created two environments
2. added custom properties (prop1 and prop2) for the two environments
3. created a new test case
4. created a property transfer step
5. created two property transfers to transfer the custom properties to the request xml.
I tried a work around which worked, try and see maybe it will work for you too. I did not use a property transfer step i directly specified the properties in the request xml (see below) and endpoint url.
in the xml prop1 and prop2 are the two custom properties i had created. Imaginative Eh!
I am sure there must be a mechanism to report bugs to soapUI people not sure how....maybe a smartbear person can tell us *waves arm*
sorry i couldn't be of much help.
1. created two environments
2. added custom properties (prop1 and prop2) for the two environments
3. created a new test case
4. created a property transfer step
5. created two property transfers to transfer the custom properties to the request xml.
I tried a work around which worked, try and see maybe it will work for you too. I did not use a property transfer step i directly specified the properties in the request xml (see below) and endpoint url.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.restfulwebservices.net/ServiceContracts/2008/01">
<soapenv:Header/>
<soapenv:Body>
<ns:GetConversionRate>
<ns:FromCurrency>${#Project#prop1}</ns:FromCurrency>
<ns:ToCurrency>${#Project#prop2}</ns:ToCurrency>
</ns:GetConversionRate>
</soapenv:Body>
</soapenv:Envelope>
in the xml prop1 and prop2 are the two custom properties i had created. Imaginative Eh!
I am sure there must be a mechanism to report bugs to soapUI people not sure how....maybe a smartbear person can tell us *waves arm*
sorry i couldn't be of much help.
Related Content
- 2 years agoKellyWiegand
- 8 years agozsousa