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
ShaTShaT 

Error in Test Class written for Zuora API Call

Hi All,

I m getting below error while trying to intiate Zuora object  in SFDC test class.

Eg- Zuora.zObject a = new Zuora.zObject('Account');

Please upload Zuora WSDL at first.

Kindly let me know if anybody have any solution.

Thanks
Shailu
sfdcfoxsfdcfox
You must have access to the Zuora records that would have been created by using their Visualforce page. Configure Zurora in the main user interface ("Schema Setup"), then run the test using @isTest(SeeAllData=true). Alternatively, you may attempt to re-create the data yourself, but if they are using protected custom settings, you may be unable to do so. I would recommend contacting Zurora support to see what path they recommend.