Program: 114867
Project: 114867
Buggy source:
@Test(groups={"String_Node_Str"},description="String_Node_Str") public void testNumberOfUsersInAPIOverview() throws APIManagerIntegrationTestException {
  String applicationDescription="String_Node_Str";
  String applicationCallBackUrl="String_Node_Str";
  apiStoreClientUser1.addApplication(APPLICATION_NAME,APIMIntegrationConstants.APPLICATION_TIER.LARGE,applicationCallBackUrl,applicationDescription);
  apiStoreClientUser2.addApplication(APPLICATION_NAME,APIMIntegrationConstants.APPLICATION_TIER.LARGE,applicationCallBackUrl,applicationDescription);
  APIIdentifier apiIdentifier=new APIIdentifier(providerName,API_NAME,API_VERSION_1_0_0);
  apiIdentifier.setTier(TIER_GOLD);
  createPublishAndSubscribeToAPI(apiIdentifier,apiCreationRequestBean,apiPublisherClientUser1,apiStoreClientUser1,APPLICATION_NAME);
  HttpResponse publisherOverviewPageResponse1=apiPublisherClientUser1.getAPIInformationPage(API_NAME,providerName,API_VERSION_1_0_0);
  assertEquals(publisherOverviewPageResponse1.getResponseCode(),HTTP_RESPONSE_CODE_OK,"String_Node_Str");
  assertEquals(getUserStringInOverview(publisherOverviewPageResponse1.getData()).contains("String_Node_Str"),"String_Node_Str");
  subscribeToAPI(this.apiIdentifier,APPLICATION_NAME,apiStoreClientUser2);
  HttpResponse publisherOverviewPageResponse2=apiPublisherClientUser1.getAPIInformationPage(API_NAME,providerName,API_VERSION_1_0_0);
  assertEquals(publisherOverviewPageResponse2.getResponseCode(),HTTP_RESPONSE_CODE_OK,"String_Node_Str");
  assertEquals(getUserStringInOverview(publisherOverviewPageResponse2.getData()).contains("String_Node_Str"),"String_Node_Str");
}

Fixed version (ground truth):
@Test(groups={"String_Node_Str"},description="String_Node_Str") public void testNumberOfUsersInAPIOverview() throws APIManagerIntegrationTestException {
  String applicationDescription="String_Node_Str";
  String applicationCallBackUrl="String_Node_Str";
  apiStoreClientUser1.addApplication(APPLICATION_NAME,APIMIntegrationConstants.APPLICATION_TIER.LARGE,applicationCallBackUrl,applicationDescription);
  apiStoreClientUser2.addApplication(APPLICATION_NAME,APIMIntegrationConstants.APPLICATION_TIER.LARGE,applicationCallBackUrl,applicationDescription);
  APIIdentifier apiIdentifier=new APIIdentifier(providerName,API_NAME,API_VERSION_1_0_0);
  apiIdentifier.setTier(TIER_GOLD);
  createPublishAndSubscribeToAPI(apiIdentifier,apiCreationRequestBean,apiPublisherClientUser1,apiStoreClientUser1,APPLICATION_NAME);
  HttpResponse publisherOverviewPageResponse1=apiPublisherClientUser1.getAPIInformationPage(API_NAME,providerName,API_VERSION_1_0_0);
  assertEquals(publisherOverviewPageResponse1.getResponseCode(),HTTP_RESPONSE_CODE_OK,"String_Node_Str");
  assertTrue(getUserStringInOverview(publisherOverviewPageResponse1.getData()).contains("String_Node_Str"),"String_Node_Str");
  subscribeToAPI(this.apiIdentifier,APPLICATION_NAME,apiStoreClientUser2);
  HttpResponse publisherOverviewPageResponse2=apiPublisherClientUser1.getAPIInformationPage(API_NAME,providerName,API_VERSION_1_0_0);
  assertEquals(publisherOverviewPageResponse2.getResponseCode(),HTTP_RESPONSE_CODE_OK,"String_Node_Str");
  assertTrue(getUserStringInOverview(publisherOverviewPageResponse2.getData()).contains("String_Node_Str"),"String_Node_Str");
}