Activity Forums Salesforce® Discussions How to call webservice from Test Class in Salesforce?

  • 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.

Popular Salesforce Blogs

Popular Salesforce Videos