Forum Discussion

mu123's avatar
Occasional Contributor
2 years ago

How to assert name from a SOAP response and REST response

SOAP request returns first name as  

 '${Query For Name#Response#declare namespace v3=\'urn:hl7-org:v3\'; //v3:PRPA_IN101102CA[1]/v3:controlActEvent[1]/v3:subject[1]/v3:registrationEvent[1]/v3:subject[1]/v3:identifiedEntity[1]/v3:identifiedPerson[1]/v3:name[1]/v3:given[1]}' 

REST returns first name as 

  '${Search in System#Response#$[\'clients\'][0][\'client\'][\'firstName\']}' 


is there any way to assert these values using GUI or do I have to use the script assertion method?

No RepliesBe the first to reply