Monday, February 10, 2020

Lookup integration testing

Please access the previous blog to see integration development steps.

Step 1 :  Activate the integration and click on endpoint.

             Copy the Endpoint URL.


Step 2 : Open SoapUI tool and click on REST and paste the above copied 
             endpoint URL and click ok.

                 Add basic Authentication

            Enter your OIC instance username & password for basic authentication

            Select below details :

             Method : PUT
             Media Type : application/XML
            Paste below input XML payload inside request box :

           <?xml version="1.0" encoding="utf-8"?>

              Hit the RUN button. You will find "United States of America" as output.
          Because in Lookup table 'US' country code is mapped to "Unites States of 
          America" as Country Name.

            Similarly this time change the CountryCode value to "IS" in input XML    
         payload and hit the RUN button. This time Output will be "ISRAEL"

No comments:

Post a Comment