Ad Code

Responsive Advertisement

Use Salesforce REST API in Soap UI TOOL

Topic: Use Salesforce REST API in Soap UI TOOL

Description: Some time Developers would like to test and execute Salesforce REST Api using SOAP UI tool. Following below detail will tell you how to call Salesforce REST Api from SOAP UI Tool

Step 1: Install SOAP UI Tool in your Desktop.
https://www.soapui.org/

Step 2: Let suppose you would like to See the detail of particular Account Record in SOAP UI Tool so following REST API will be used.

https://instance_name.salesforce.com/services/data/v20.0/sobjects/Account/001D000000INjVe

Note: Here we are fetching Account detail of Account Record Id: 001D000000INjVe

Step 3: Login in workbench tool and Grab Session Id.
Open This URL 
https://workbench.developerforce.com/login.php?startUrl=%2Fquery.php#qr

And Run following command in Execute Anonymous window.

system.debug(userinfo.getSessionId());

Step 4: Once you have the session id now we can call the Rest API using SOAP UI tool
  1. open the soap ui Tool
  2.  Click on File ->New Rest API Project

  1. In Popup window provide following URL as mentioned here https://amulbaranwal-dev-ed.my.salesforce.com/services/data/v37.0/sobjects/Account/0014000001jNevu
note: You need to change instance URL and Record Id as highlighted blue.

  1. Then you will see following window after clicking on Ok button

  1. Then click on Header Section and provide Session Id
  2. Header Name as "Authorization"
  3. Value as "Bearer 00D400000007p1v!AQ0AQJ9Yx5ItnffUJ_xvvfcFT_QifgYjolTFVHq8gSxTejQjdnMX__ClR5xzLozyQRxtI19XquTCpGvEDGYXCw7lixocE7IF"
  4. See following Screen

then click on Run Green button

and you will finally see the Account detail in your Soap UI tool


For further inquiry please email me amulhai@gmail.com or call me at +91-9582388885

Reactions

Post a Comment

10 Comments

  1. Your posts is really helpful for me.Thanks for your wonderful post.It is really very helpful for us and I have gathered some important information from this blog. so keep sharing..

    Salesforce training in chennai

    ReplyDelete
  2. I will bookmark your blog and take the feeds additionally? I’m satisfied to find so many helpful information here within the put up, we want work out extra strategies in this regard, thanks for sharing..
    salesforce training in chennai

    ReplyDelete


  3. Hai Author Good Information that i found here,do not stop sharing and Please keep updating us..... Thanks

    ReplyDelete
  4. Great content thanks for sharing this informative blog which provided me technical information keep posting.
    Selenium training in Chennai

    Selenium training in Bangalore

    ReplyDelete
  5. Very well written blog and I always love to read blogs like these because they offer very good information to readers with very less amount of words....thanks for sharing your info with us and keep sharing.
    python training in chennai
    python course institute in chennai

    ReplyDelete
  6. Such a great information for blogger i am a professional blogger thanks…

    Softgen Infotech is a leading training institute for all kind of the Best Python Training in Bangalore with real-time experienced trainers with 100% Placement Assistance.

    ReplyDelete
  7. Good. I am really impressed with your writing talents and also with the layout on your weblog. Appreciate, Is this a paid subject matter or did you customize it yourself? Either way keep up the nice quality writing, it is rare to peer a nice weblog like this one nowadays. Thank you, check also virtual edge and Reasons Why AI Matchmaking is the Future for Events

    ReplyDelete
  8. Here is the best music to calm and relax your mind

    1. best relaxing music
    2. best Depp sleep music
    3. best meditation music
    4. best calm music
    5. best deep focus music

    ReplyDelete