@BeforeClass(alwaysRun = true)
 public void initialize() throws Exception {
   super.init(userMode);
   String resourceFileLocation;
   resourceFileLocation = getResourceLocation();
   // DataSource already exist by default for super user.
   if (userMode == TestUserMode.TENANT_ADMIN || userMode == TestUserMode.TENANT_USER) {
     addDataSources();
   }
   deployService(
       serviceName,
       new DataHandler(
           new URL(
               "file:///"
                   + resourceFileLocation
                   + File.separator
                   + "samples"
                   + File.separator
                   + "dbs"
                   + File.separator
                   + "inmemory"
                   + File.separator
                   + "InMemoryDSSample.dbs")));
   log.info(serviceName + " uploaded");
   serviceUrl = getServiceUrlHttp(serviceName);
 }
 @BeforeClass(alwaysRun = true)
 public void initialize() throws Exception {
   super.init(userMode);
   String resourceFileLocation;
   serverEpr = getServiceUrlHttp(serviceName);
   resourceFileLocation = getResourceLocation();
   deployService(
       serviceName,
       new DataHandler(
           new URL(
               "file:///"
                   + resourceFileLocation
                   + File.separator
                   + "samples"
                   + File.separator
                   + "dbs"
                   + File.separator
                   + "gspread"
                   + File.separator
                   + "GSpreadSample.dbs")));
   log.info(serviceName + " uploaded");
 }