Salesforce Certified Application Architect

Thursday 3 December 2015

Methods defined as TestMethod do not support Web service callouts

when i run the testmethod for webservice class i am getting error message "Methods defined as TestMethod do not support Web service callouts, test skipped"

Solution : 

 Its means you are missing Test.setmock() method in test class .
  

No comments:

Post a Comment

Salesforce Certified Application Architect & Certified Data Architecture and Management Designer Exam

How to pass Salesforce Certified Data Architecture and Management Designer Exam This exam was 1st architect exam for me. Its not that muc...