Refer to the test method below''
The test method calls a web service that updates an external system with Account
information and sets the Accounts integration_Updated__c checkbox to True when it completes.
The test fails to execute and exits with an error: "Methods defined as TestMethod do
not support Web service callouts.''
A)
B)
C)
D)
The correct feature to use is C, Named Credentials. Named Credentials are a secure way of storing the endpoint and authentication details for callouts to external services. When URLs change frequently, using Named Credentials allows you to manage the endpoint URL in one place without changing the Apex code.
Named Credentials
Bettina
1 months agoBenton
7 days agoGerald
12 days agoHollis
22 days agoMelinda
2 months agoRolland
12 days agoWhitley
1 months agoChaya
2 months agoLarae
2 months agoSilva
2 months agoClare
2 months agoMeghan
2 months agoClarinda
19 days agoJunita
23 days agoLeonor
2 months agoLasandra
2 months agoCraig
2 months agoGeoffrey
2 months ago