Ask a Question

Algorithm OR

Tuan
New Contributor

Algorithm OR

Hey Guys! can you help me this.

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ba="http://www.smartturn.com/services/OccamService/ba" xmlns:occ="http://www.smartturn.com/services/occamtypes">
<soapenv:Header/>
<soapenv:Body>
<ba:lookUpBusinessAffiliates>
<ba:inCredential>
<occ:UserId>TuanNguyen@Div.com</occ:UserId>
<!--You have a CHOICE of the next 2 items at this level-->
<occ:Password>Ndtu7!</occ:Password>
</ba:inCredential>
<!--Optional:-->
<ba:inCriteria>
<!--Zero or more repetitions:-->
<occ:criterions>
<!--Optional:-->
<occ:negate>false</occ:negate>
<occ:propertyName>companyName</occ:propertyName>
<occ:operator>equal</occ:operator>
<occ:stringValue>107</occ:stringValue>
</occ:criterions>

<occ:criterions>
<!--Optional:-->
<occ:negate>false</occ:negate>
<occ:propertyName>companyCode</occ:propertyName>
<occ:operator>equal</occ:operator>
<occ:stringValue>107BA</occ:stringValue>
</occ:criterions>
</ba:inCriteria>
</ba:lookUpBusinessAffiliates>
</soapenv:Body>
</soapenv:Envelope>

 

with the code above, I am looking to algorithmically 'And'.I want to search by 'Or' algorithm from the above code should I do

Thank all so much!

4 REPLIES 4
nmrao
Community Hero

Re: Algorithm OR

Sorry to say, but the question is not clear at all.


Regards,
Rao.
Tuan
New Contributor

Re: Algorithm OR

The above code I'm searching by company name and company code
now I want to search by company name or company code should i do

Tuan
New Contributor

Re: Algorithm OR

 
nmrao
Community Hero

Re: Algorithm OR

@Tuan, do you mean to assert if the the marked response values are matching with the request values?

Then you need to use Script Assertion.


Regards,
Rao.
cancel
Showing results for 
Search instead for 
Did you mean: