How-to's of integrating Salesforce to the world for building robust, interconnected Enterprise Applications.

Tagtest class

Apex Callouts salesforce-jira integration Salesforce REST API test class

Test Class for Apex methods making Callouts

Posted on .

Methods defined as TestMethod do not support Web service callouts. This is the error that you will encounter when you run a test for an Apex class that makes a callout. The error being quite descriptive, it becomes obvious that you cannot directly test and/or…