Combine two fields of SOAP response to One
I would like to combine two fields values of same SOAP response into One. So that I can assert the One filed of SOAP to REST response field.
SOAP Response:
Field 1 = date
Field 2 = Time
Combine SOAP field (1 &2) to Field 3.
Assert SOAP Field 3 to REST response field.
How should I do this?
Comments
-
amersyed
I'm assuming that you are using XML DataBank to extract Field 1 and Field 2, so you should be able to use both as assertion argument.
Let's assume that you have configured your XML Data bank in following way:
Field 1 will be extracted and saved with custom column name date:
Field 2 with custom column name time:Then in assertion editor you can use following syntax: ${date}${time}
--
Ireneusz Szmigiel
http://www.catb.org/esr/faqs/smart-questions.html1 -
I made mistake in screenshot, second screenshot should be like this:
--
Ireneusz Szmigiel
http://www.catb.org/esr/faqs/smart-questions.html0 -
Thank you, it got resolved.
0