function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
saiisaii 

Testcase Help

hi

I have Written atest case for the Class of the  http request

I am getting the Following Error has 

Methods defined as TestMethod do not support Web service callouts, test skipped

and am getting the Codecoverage 100 but getting above error

How to Resolve it can u please Help me

venkateshyadav1243venkateshyadav1243

Hi Please go through the  link which shows how to test callout

 

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_callouts_wsdl2apex_testing.htm

 

 

 

Regards

venkatesh

saiisaii

Hi i have tried but still am getting the Same Error Can help me to Resolve that Error in that testcase