AnsweredAssumed Answered

Help on Match a Response Parameter

Question asked by ramjo08 Employee on Sep 24, 2018
Latest reply on Sep 24, 2018 by ramjo08

Hi community,

 

I`ve a question on how to match an parameter inside a operation.

 

Scenario:

The operation on the image below has 4 parameters on the request. The last one is that matters for us to match the response.

The problem is, I have the whole string inside, as example:

 

"<PROPOSTA><NOMEPROPONENTE>Victor Silva</NOMEPROPONENTE><NOMEMAE>Rita</NOMEMAE><DOCUMENTO>60599769050</DOCUMENTO><TIPODOCUMENTO>1</TIPODOCUMENTO><UFEXPEDICAOCPF/><DATANASCIMENTO>19911121</DATANASCIMENTO><LOGINSOLICITANTE>ShopSP2</LOGINSOLICITANTE><CANAL>SH</CANAL><NOMECANAL>ShopSP</NOMECANAL><DDD/><TIPOPEDIDO>PR</TIPOPEDIDO><CNPJLOJA>84074504172788</CNPJLOJA><CPFVENDEDORLOJA/><SCOREMEC/><TIPODOCPJ/><DOCUMENTOPJ/><RAZAOSOCIAL/><FUNDACAO/><NOMESOCIO/><TIPODOCSOCIO/><DOCUMENTOSOCIO/><CEPEMPRESA/><QTDFILIAIS/><QTDSOCIOS/></PROPOSTA>"

 

The only parameter that matters to me is the "<DOCUMENTO>", Or that I want to use to match an response. 

Is there a way to only pick that parameter, instead of the whole string ? Using Match Script or something else ?

Thank you,

João Paulo Ramos

Outcomes