+ Start a Discussion

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.

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.