Activity › Forums › Salesforce® Discussions › How to call webservice from Test Class in Salesforce? Salesforce® Discussions How to call webservice from Test Class in Salesforce? Posted by Deepak on March 23, 2020 at 4:44 PM How to call webservice from Test Class in Salesforce? Ratnesh replied 6 years, 2 months ago 2 Members · 1 Reply 1 Reply Ratnesh Member March 23, 2020 at 4:53 PM Test methods don’t support Web service callouts and tests that perform Web service callouts are skipped. To prevent tests from being skipped and to increase code coverage, Apex provides the built-in WebServiceMock interface and the Test. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me