Telmore_A_S_Sup
13 years agoNew Contributor
Adding multiple values to the same property.
Hi,
I have a question - as I'm struggling to get this working.
I'm working with REST calls..
In this particular case I need to transfer 2 values to the property {NAME} - in the following URL: Http://someurl.com/common-api/cpr/cpr.svc/cpr/{CPR}/validity?name={NAME}
I need to parse a first name & a last name to the property {NAME} with a spacing in between - the order is of cause of importance, since I want the first name, first in the property.
These values I have from a XML response I get from a earlier REST call, that provide me a XML similar to this(stripped it down for simplicity):
<CPR>
<First_Name>Niels</First_Name>
<Last_Name>Holm</Last_Name>
</CPR>
Do I have to create a new property test step - where I transfer the values too? In that case - how do I transfer first and last name with spacing?
Or can I do it directly to the test step where I need the first and last name?
Been trying to find information on this matter - but haven't been able.
Any help is appreciated.
I have a question - as I'm struggling to get this working.
I'm working with REST calls..
In this particular case I need to transfer 2 values to the property {NAME} - in the following URL: Http://someurl.com/common-api/cpr/cpr.svc/cpr/{CPR}/validity?name={NAME}
I need to parse a first name & a last name to the property {NAME} with a spacing in between - the order is of cause of importance, since I want the first name, first in the property.
These values I have from a XML response I get from a earlier REST call, that provide me a XML similar to this(stripped it down for simplicity):
<CPR>
<First_Name>Niels</First_Name>
<Last_Name>Holm</Last_Name>
</CPR>
Do I have to create a new property test step - where I transfer the values too? In that case - how do I transfer first and last name with spacing?
Or can I do it directly to the test step where I need the first and last name?
Been trying to find information on this matter - but haven't been able.
Any help is appreciated.