You need to sign in to do that
Don't have an account?
Sambit Sorav
Regarding how to set session token and cookies in a mock callout class?
How can we set session token and cookie inside a mock callout class? Is it possible to set both the things together?
Hi Akshay,
Kindly refer this article :-
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_restful_http_testing_httpcalloutmock.htm
Regards,
Priya Ranjan