You need to sign in to do that
Don't have an account?
![satheeshrsk satheeshrsk](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
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
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
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..