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
satheeshrsksatheeshrsk 

test class for asyncronous methods (callout)

Hi All,

I have a Asynchronous outbound call, which is called from a trigger.  I am struck to write a test class for my outbound call ( synchronous ), can any one please help me how to write a test class for my outbound call.  Any help must be highly appreciated.

Thanks a lot in advance!

Regards,
rsk
Sonam_SFDCSonam_SFDC
Just wonderng if you got a chance to go thorugh the help content :
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_callouts_wsdl2apex_testing.htm

This has code snippets which will give you an idea as to how the calls can be tested..