cancel
Showing results for 
Search instead for 
Did you mean: 

Algorithm OR

Highlighted
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
Highlighted
Community Hero

Re: Algorithm OR

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


Regards,
Rao.
Highlighted
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

Highlighted
New Contributor

Re: Algorithm OR

 
Highlighted
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.
New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Check out this week's challenge!

Create a script to generate an email when an assertion fails for the TechCorner tag!


Scripts created in July:
- A script to change the request body before sending it to the server