Can we use SoapUI to invoke Salesforce REST API? If so, please let me know how to do that. I have tried but getting error "Invalid Session Id".
Thanks.
Can we use SoapUI to invoke Salesforce REST API? If so, please let me know how to do that. I have tried but getting error "Invalid Session Id".
Thanks.
Best Answer
You can test REST API through Soap UI tool.
Before setting up a REST call to request a token in SoapUI, make sure you have an Connected App Created in the Salesforce Org and have latest version of SoapUI installed.
If you are new to Connected App, please find the details here.
Create a Connected App
Setup a Salesforce Connected Application
Steps to make the REST Call.
Step 1 - Set up a REST call to request a token in SoapUI
Step 2 - Set up a REST call to request the REST API
Here I am using Salesforce default REST API (/services/data/v41.0/sobjects/Account/{Account Id}) to get the Account details.