Uses of Class
org.wso2.am.integration.test.utils.APIManagerIntegrationTestException
Packages that use APIManagerIntegrationTestException
Package
Description
-
Uses of APIManagerIntegrationTestException in org.wso2.am.integration.test.impl
Methods in org.wso2.am.integration.test.impl that throw APIManagerIntegrationTestExceptionModifier and TypeMethodDescriptionRestAPIStoreImpl.addApplication(String application, String tier, String callbackUrl, String description) Add applicationRestAPIStoreImpl.addApplicationWithTokenType(String application, String tier, String callbackUrl, String description, String tokenType) Add application with token typeRestAPIStoreImpl.applicationsPostWithHttpInfo(String application, String tier, String description) Add applicationRestAPIPublisherImpl.changeAPILifeCycleStatus(String apiId, String action) org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIPublisherImpl.changeAPILifeCycleStatus(String apiId, String action, String lifecycleChecklist) This method is used to publish the created API.RestAPIPublisherImpl.changeAPIProductLifeCycleStatus(String apiProductId, String action, String lifecycleChecklist) Change the lifecycle status of API ProductApiProductTestHelper.changeLifecycleStateOfApiProduct(String apiProductId, String action, String lifecycleChecklist) org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.cleanUpApplicationRegistrationByApplicationId(String applicationId, String keyType) Clean up application registration by IDorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.createApplication(String appName, String description, String throttleTier, ApplicationDTO.TokenTypeEnum tokenType) org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.createApplicationWithCustomAttribute(String appName, String description, String throttleTier, ApplicationDTO.TokenTypeEnum tokenType, Map<String, String> attribute) org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.createApplicationWithOrganizationSharing(String appName, String description, String throttleTier, ApplicationDTO.TokenTypeEnum tokenType, ApplicationDTO.VisibilityEnum orgVisibility) org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.createSubscription(String apiId, String applicationId, String subscriptionTier) org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIPublisherImpl.deployAPIProductRevision(String apiUUID, String revisionUUID, List<APIRevisionDeployUndeployRequest> apiRevisionDeployRequestList, String apiType) This method is used to deploy API Product Revision to Gateways.org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIPublisherImpl.deployAPIRevision(String apiUUID, String revisionUUID, List<APIRevisionDeployUndeployRequest> apiRevisionDeployRequestList, String apiType) This method is used to deploy API Revision to Gateways.org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIPublisherImpl.deployAPIRevision(String apiUUID, String revisionUUID, APIRevisionDeployUndeployRequest apiRevisionDeployRequest, String apiType) This method is used to deploy API Revision to Gateways.RestAPIStoreImpl.generateKeys(String applicationId, String validityTime, String callBackUrl, ApplicationKeyGenerateRequestDTO.KeyTypeEnum keyTypeEnum, ArrayList<String> scopes, List<String> grantTypes) RestAPIStoreImpl.generateKeys(String applicationId, String validityTime, String callBackUrl, ApplicationKeyGenerateRequestDTO.KeyTypeEnum keyTypeEnum, ArrayList<String> scopes, List<String> grantTypes, String keyManager) RestAPIStoreImpl.generateKeys(String applicationId, String validityTime, String callBackUrl, ApplicationKeyGenerateRequestDTO.KeyTypeEnum keyTypeEnum, List<String> scopes, List<String> grantTypes, Map<String, Object> additionalProperties, String keyManager) RestAPIStoreImpl.generateKeysWithAdditionalProperties(String applicationId, String validityTime, String callBackUrl, ApplicationKeyGenerateRequestDTO.KeyTypeEnum keyTypeEnum, List<String> scopes, List<String> grantTypes, Map<String, Object> additionalProperties) ApiTestHelper.generateTokenPasswordGrant(String consumerKey, String consumerSecret, String userName, String password, List<String> scopes) org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.generateUserAccessKey(String consumeKey, String consumerSecret, String messageBody, URL tokenEndpointURL) Generate user access keyRestAPIPublisherImpl.getAllAPIs()Retrieve the All APIs available for the user in Publisher.org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.getAllDocumentationOfAPI(String apiName, String version, String provider) Method to retrieve all documents of given apiorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.getAllPaginatedPublishedAPIs(String tenant, int start, int end) Gell all paginated published apis for a given tenantorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.getAllPaginatedPublishedAPIs(String tenant, String start, String end) Get all paginated published API for a given tenantRestAPIStoreImpl.getAllPublishedAPIs()Get all published apisorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.getAllPublishedAPIs(String tenant) Get all published APIs for tenantorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.getApiEndpointUrls(String apiName, String version, String provider) Method to retrieve all endpoint urlsRestAPIGatewayImpl.getAPIInfo(String apiId) RestAPIStoreImpl.getAPIsFilteredWithTags(String apiTag) Get the web page with filtered API when click the API Tag linkorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.getApplications()Get applicationRestAPIStoreImpl.getPrototypedAPIs(String tenant) Get Prototyped APIs in Storeorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.getPublishedAPIsByApplication(String applicationName) Get application details by given nameorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.getPublishedAPIsByApplicationId(String applicationName, int applicationId) Get application details by given nameorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.getRecentlyAddedAPIs(String tenant, String limit) Get recently added APIs by tenantorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.getSubscribedAPIs(String applicationName) Get subscribed Apis by application nameorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.getSubscribedAPIs(String applicationName, String domain) Get subscribed APIs for the specific Applicationorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIPublisherImpl.getTierPermissionsPage()Retrieve the Tier Permission Pageorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.isCommentActivated()Check whether commenting is enabledorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.isRatingActivated()Check if API rating activatedorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.logout()API Store logoutorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.regenerateConsumerSecret(String clientId) Regenerate consumer secret.org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.removeAPISubscription(String API, String version, String provider, String applicationId) Unsubscribe from APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.removeAPISubscriptionByApplicationName(String API, String version, String provider, String applicationName) Unsubscribe from API by application nameorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.removeAPISubscriptionByName(String API, String version, String provider, String appName) Unsubscribe from APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.removeRatingFromAPI(String apiName, String version, String provider) Remove rating of given APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.removeSubscription(SubscriptionDTO subscriptionDTO) RestAPIStoreImpl.resetApplicationThrottlePolicy(String applicationId, String userId) Reset Application Throttle policy for given application and userRestAPIGatewayImpl.retrieveApplication(String applicationId) RestAPIGatewayImpl.retrieveSubscription(String apiId, String applicationId) org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIPublisherImpl.revokeAccessToken(String accessToken, String consumerKey, String authUser) revoke access tokenorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.signUp(String userName, String password, String firstName, String lastName, String email) API Store sign uporg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.signUpforTenant(String userName, String password, String claims) API Store sign upRestAPIStoreImpl.subscribeToAPI(String apiID, String appID, String tier) RestAPIStoreImpl.subscribeToAPI(String apiID, String appID, String tier, String tenantDomain) org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.subscribeToAPIWithResponse(String apiID, String appID, String tier) org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIPublisherImpl.undeployAPIProductRevision(String apiUUID, String revisionUUID, List<APIRevisionDeployUndeployRequest> apiRevisionUndeployRequestList) This method is used to undeploy API Product Revision to Gateways.org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIPublisherImpl.undeployAPIRevision(String apiUUID, String revisionUUID, List<APIRevisionDeployUndeployRequest> apiRevisionUndeployRequestList) This method is used to undeploy API Revision to Gateways.org.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.updateApplication(String applicationOld, String applicationNew, String callbackUrlNew, String descriptionNew, String tier) Update given applicationorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIStoreImpl.updateApplicationById(int applicationId, String applicationOld, String applicationNew, String callbackUrlNew, String descriptionNew, String tier) Update given applicationorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIPublisherImpl.updatePermissions(String tierName, String permissionType, String roles) update permissions to API accessorg.wso2.carbon.automation.test.utils.http.client.HttpResponseRestAPIPublisherImpl.updateResourceOfAPI(String apiId, String api) Update resources of APIRestAPIStoreImpl.updateSubscriptionToAPI(String apiID, String appID, String existingTier, String requestedTier, SubscriptionDTO.StatusEnum subscriptionStatus, String subscriptionId, String xWso2Tenant) Update subscription to an API of a specific tenantApiTestHelper.verifyKeyGeneration(ApplicationDTO applicationDTO, ApplicationKeyGenerateRequestDTO.KeyTypeEnum keyType, ArrayList<String> scopes, List<String> grantTypes) ApiTestHelper.verifySubscription(APIDTO apiDTO, String applicationName, String subscriptionPolicy) -
Uses of APIManagerIntegrationTestException in org.wso2.am.integration.test.utils
Methods in org.wso2.am.integration.test.utils that throw APIManagerIntegrationTestExceptionModifier and TypeMethodDescriptionstatic voidUserManagementUtils.signupUser(String userName, String password, String firstName, String organization) Self Sign-up a new user with minimal propertiesstatic voidUserManagementUtils.signupUser(String userName, String password, String firstName, String organization, String email) Self Sign-up a new user with minimal properties -
Uses of APIManagerIntegrationTestException in org.wso2.am.integration.test.utils.base
Methods in org.wso2.am.integration.test.utils.base that throw APIManagerIntegrationTestExceptionModifier and TypeMethodDescriptionprotected voidAPIManagerLifecycleBaseTest.copyAndPublishCopiedAPI(String apiID, String newAPIVersion, RestAPIPublisherImpl publisherRestClient, boolean isRequireReSubscription) Copy and publish the copied API.protected voidAPIManagerLifecycleBaseTest.copyAPI(org.wso2.carbon.apimgt.api.model.APIIdentifier apiIdentifier, String newAPIVersion, APIPublisherRestClient publisherRestClient) Copy and API and create a new version.APIManagerLifecycleBaseTest.createAndPublishAPI(APICreationRequestBean apiCreationRequestBean, RestAPIPublisherImpl publisherRestClient, boolean isRequireReSubscription) voidAPIManagerLifecycleBaseTest.createAndPublishAPI(org.wso2.carbon.apimgt.api.model.APIIdentifier apiIdentifier, APICreationRequestBean apiCreationRequestBean, APIPublisherRestClient publisherRestClient, boolean isRequireReSubscription) Create and publish a API.APIManagerLifecycleBaseTest.createAndPublishAPIUsingRest(APIRequest apiRequest, RestAPIPublisherImpl publisherRestClient, boolean isRequireReSubscription) Create and publish a API.protected voidAPIManagerLifecycleBaseTest.createAndPublishAPIWithoutRequireReSubscription(APICreationRequestBean apiCreationRequestBean, RestAPIPublisherImpl publisherRestClient) Create and publish a API with re-subscription not required.protected StringAPIManagerLifecycleBaseTest.createAndPublishAPIWithoutRequireReSubscriptionUsingRest(APIRequest apiRequest, RestAPIPublisherImpl publisherRestClient) Create and publish a API with re-subscription not required.protected StringAPIMIntegrationBaseTest.createAPIProductRevisionAndDeployUsingRest(String apiId, RestAPIPublisherImpl restAPIPublisher) Create API Product Revision and Deploy to gateway using REST API.protected StringAPIMIntegrationBaseTest.createAPIRevisionAndDeployToGatewayUsingRest(String apiId, RestAPIPublisherImpl restAPIPublisher, String gatewayEnvironment) Create API Revision and Deploy to given gateway using REST API.protected StringAPIMIntegrationBaseTest.createAPIRevisionAndDeployUsingRest(String apiId, RestAPIPublisherImpl restAPIPublisher) Create API Revision and Deploy to gateway using REST API.protected APIDTOAPIManagerLifecycleBaseTest.createPublishAndSubscribeToAPI(org.wso2.carbon.apimgt.api.model.APIIdentifier apiIdentifier, APICreationRequestBean apiCreationRequestBean, RestAPIPublisherImpl publisherRestClient, RestAPIStoreImpl storeRestClient, String applicationID, String tier) protected voidAPIManagerLifecycleBaseTest.createPublishAndSubscribeToAPI(org.wso2.carbon.apimgt.api.model.APIIdentifier apiIdentifier, APICreationRequestBean apiCreationRequestBean, APIPublisherRestClient publisherRestClient, APIStoreRestClient storeRestClient, String applicationName) Create publish and subscribe a API.protected StringAPIManagerLifecycleBaseTest.createPublishAndSubscribeToAPIUsingRest(APIRequest apiRequest, RestAPIPublisherImpl publisherRestClient, RestAPIStoreImpl storeRestClient, String applicationId, String tier) Create publish and subscribe a API using REST API.protected StringAPIMIntegrationBaseTest.createSession(org.wso2.carbon.automation.engine.context.AutomationContext automationContext) protected voidAPIManagerLifecycleBaseTest.deleteAPI(String apiID, org.wso2.carbon.apimgt.api.model.APIIdentifier apiIdentifier, RestAPIPublisherImpl publisherRestClient) Delete a API from API Publisher.protected voidAPIManagerLifecycleBaseTest.deleteAPI(org.wso2.carbon.apimgt.api.model.APIIdentifier apiIdentifier, APIPublisherRestClient publisherRestClient) Delete a API from API Publisher.protected ApplicationKeyBeanAPIManagerLifecycleBaseTest.generateApplicationKeys(APIStoreRestClient storeRestClient, String applicationName) Generate the access tokenprotected StringAPIManagerLifecycleBaseTest.getValueFromJSON(org.wso2.carbon.automation.test.utils.http.client.HttpResponse httpResponse, String key) Retrieve the value from JSON object bu using the key.protected voidAPIMIntegrationBaseTest.init()This method will initialize test environment based on user mode and configuration given at automation.xmlprotected voidinit the object with tenant domain, user key and instance of store,publisher and gateway create context objects and construct URL beanprotected voidAPIMIntegrationBaseTest.init(org.wso2.carbon.automation.engine.context.TestUserMode userMode) init the object with user mode , create context objects and get session cookiesprotected voidAPIMIntegrationBaseTest.loadSynapseConfigurationFromClasspath(String relativeFilePath, org.wso2.carbon.automation.engine.context.AutomationContext automationContext, String sessionCookie) protected org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIManagerLifecycleBaseTest.publishAPI(String apiID, RestAPIPublisherImpl publisherRestClient, boolean isRequireReSubscription) protected org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIManagerLifecycleBaseTest.publishAPI(org.wso2.carbon.apimgt.api.model.APIIdentifier apiIdentifier, APIPublisherRestClient publisherRestClient, boolean isRequireReSubscription) Publish a API.protected org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIManagerLifecycleBaseTest.publishAPIUsingRest(String apiId, RestAPIPublisherImpl publisherRestClient, boolean isRequireReSubscription) Publish an API using REST.protected StringRead the file content and return the content as String.protected StringRead the file content and return the content as String.protected SubscriptionDTOAPIManagerLifecycleBaseTest.subscribeToAPI(String apiID, String applicationID, String tier, RestAPIStoreImpl storeRestClient) protected org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIManagerLifecycleBaseTest.subscribeToAPI(org.wso2.carbon.apimgt.api.model.APIIdentifier apiIdentifier, String applicationName, APIStoreRestClient storeRestClient) Subscribe a APIprotected org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIManagerLifecycleBaseTest.subscribeToAPIUsingRest(String apiId, String applicationId, String tier, RestAPIStoreImpl storeRestClient) Subscribe a APIprotected StringAPIMIntegrationBaseTest.undeployAndDeleteAPIProductRevisionsUsingRest(String apiId, RestAPIPublisherImpl restAPIPublisher) Undeploy and Delete API Product Revisions using REST API.protected StringAPIMIntegrationBaseTest.undeployAndDeleteAPIRevisionsUsingRest(String apiId, RestAPIPublisherImpl restAPIPublisher) Undeploy and Delete API Revisions using REST API.protected voidAPIMIntegrationBaseTest.updateSynapseConfiguration(org.apache.axiom.om.OMElement synapseConfig, org.wso2.carbon.automation.engine.context.AutomationContext automationContext, String sessionCookie) update synapse config to serverbooleanAPIManagerLifecycleBaseTest.verifyAPIStatusChange(org.wso2.carbon.automation.test.utils.http.client.HttpResponse httpResponse, APILifeCycleState oldStatus, APILifeCycleState newStatus) verify the API status change.protected voidAPIMIntegrationBaseTest.waitForAPIDeploymentSync(String apiProvider, String apiName, String apiVersion, String expectedResponse) This method can be used to wait for API deployment sync in distributed and clustered environment APIStatusMonitor will be invoked to get API related data and then verify that data matches with expected response provided.protected voidAPIMIntegrationBaseTest.waitForAPIUnDeploymentSync(String apiProvider, String apiName, String apiVersion, String expectedResponse) This method can be used to wait for API Un-deployment sync in distributed and clustered environment APIStatusMonitor will be invoked to get API related data and then verify that data matches with expected response provided. -
Uses of APIManagerIntegrationTestException in org.wso2.am.integration.test.utils.bean
Constructors in org.wso2.am.integration.test.utils.bean that throw APIManagerIntegrationTestExceptionModifierConstructorDescriptionAPICreationRequestBean(String apiName, String context, String version, String provider) constructor of the APICreationRequestBean class with default endpointAPICreationRequestBean(String apiName, String context, String version, String provider, String apiTier, String resourceTier, URL endpointUrl) constructor of the APICreationRequestBean class only with production urlAPICreationRequestBean(String apiName, String context, String version, String provider, URL endpointUrl) constructor of the APICreationRequestBean class only with production urlAPICreationRequestBean(String apiName, String context, String version, String provider, URL endpointUrl, URL sandboxUrl) constructor of the APICreationRequestBean class with production url invalid input: '&' sand box urlAPICreationRequestBean(String apiName, String context, String version, String provider, URL endpointUrl, List<APIResourceBean> resourceBeans) constructor of the APICreationRequestBean class only with production urlAPICreationRequestBean(String apiName, String context, String version, String provider, ArrayList<String> productionEndpoints) constructor of the APICreationRequestBean classAPICreationRequestBean(String apiName, String context, String version, String provider, List<String> productionEndpoints, List<String> sandboxEndpoints) constructor of the APICreationRequestBean classAPIRequest(String apiName, String context, boolean prodEndpointAvailability, URL endpointUrl) This method will create API request.APIRequest(String apiName, String context, String version, List<String> productionEndpoints, List<String> sandboxEndpoints) APIRequest(String apiName, String context, URI productionEndpointUri, URI sandboxEndpointUri) APIRequest(String apiName, String context, URL endpointUrl) This method will create API request.APIRequest(String apiName, String context, URL endpointUrl, boolean isCORSEnabled) This method will create API request.APIRequest(String apiName, String context, URL productionEndpointUrl, URL sandboxEndpointUrl) This method will create API request. -
Uses of APIManagerIntegrationTestException in org.wso2.am.integration.test.utils.clients
Methods in org.wso2.am.integration.test.utils.clients that throw APIManagerIntegrationTestExceptionModifier and TypeMethodDescriptionorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.addAPI(APICreationRequestBean creationRequestBean) Add a API using APICreationRequestBean objectorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.addAPI(APIRequest apiRequest) Facilitate add API into publisher nodeorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.addApplication(String application, String tier, String callbackUrl, String description) Add applicationorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAdminDashboardRestClient.addApplicationPolicyWithBandwidthType(String name, int bandwidth, String bandwidthUnit, int defaultUnitTime, String defaultTimeUnit) org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.addApplicationWithCustomAttributes(String application, String tier, String callbackUrl, String description, String applicationAttributes) Add application with custom attributesorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.addApplicationWithGroup(String application, String tier, String callbackUrl, String description, String groupId) Add application with Grouporg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.addApplicationWithTokenType(String application, String tier, String callbackUrl, String description, String tokenType) Add application with token typeorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.addComment(String apiName, String version, String provider, String comment) Add comment to given APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.addDocument(String apiName, String version, String provider, String docName, String docType, String sourceType, String docUrl, String summary, String docLocation) Adding a Document to a APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.addDocument(String apiName, String version, String provider, String docName, String docType, String sourceType, String docUrl, String summary, String docLocation, String mimeType, String newType) Adding a Document to a APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.addDocument(AddDocumentRequestBean addDocRequestBean) Adding a Document to a API using AddDocumentRequestBeanorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.addRatingToAPI(String apiName, String version, String provider, String rating) Add rating into apiorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAdminDashboardRestClient.addSubscriptionPolicyWithBandwidthType(String name, int bandwidth, String bandwidthUnit, int defaultUnitTime, String defaultTimeUnit, boolean stopOnQuotaReach, int rateLimit, String rateLimitTimeUnit) org.wso2.carbon.automation.test.utils.http.client.HttpResponseAdminDashboardRestClient.addThrottlingPolicy(String throttlingPolicyJSON) org.wso2.carbon.automation.test.utils.http.client.HttpResponseAdminDashboardRestClient.addTier(APIThrottlingTierRequest throttlingTierRequest) Add/Edit Tierorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.changeAPILifeCycleStatus(APILifeCycleStateRequest updateRequest) change status of a created APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.changeAPILifeCycleStatusToPublish(org.wso2.carbon.apimgt.api.model.APIIdentifier apiIdentifier, boolean isRequireReSubscription) Change the API Lifecycle status to Publish with the option of Re-subscription is required or notorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.changePassword(String username, String currentPassword, String newPassword) Change password of the userorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.checkValidAPIName(String apiName) Validate API Name when creating a new APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.checkValidEndpoint(String type, String endpointUrl, String providerName, String apiName, String apiVersion) Check whether the Endpoint is validorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.cleanUpApplicationRegistrationByApplicationId(int applicationId, String applicationName) Clean up application registration by IDorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.copyAPI(String provider, String apiName, String oldVersion, String newVersion, String isDefaultVersion) copy API from existing APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponsedelete APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAdminDashboardRestClient.deleteAPIPolicy(String name) org.wso2.carbon.automation.test.utils.http.client.HttpResponseAdminDashboardRestClient.deleteApplicationPolicy(String name) org.wso2.carbon.automation.test.utils.http.client.HttpResponseAdminDashboardRestClient.deleteSubscriptionPolicy(String name) org.wso2.carbon.automation.test.utils.http.client.HttpResponseAdminDashboardRestClient.deleteTier(String tierName) Delete tierorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.designAPI(APIDesignBean designBean) Design an API using APIDesignBean objectorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.generateApplicationKey(APPKeyRequestGenerator generateAppKeyRequest) Generate tokenorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.generateApplicationKeyById(APPKeyRequestGenerator generateAppKeyRequest) Generate tokenorg.apache.http.HttpResponseAPIStoreRestClient.generateSDKUpdated(String sdkLanguage, String apiName, String apiVersion, String apiProvider, String tenant) Generate SDK for a given programming languageorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.generateUserAccessKey(String consumeKey, String consumerSecret, String messageBody, URL tokenEndpointURL) Generate user access keyorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.getAllAPIs()Retrieve the All APIs available for the user in Publisher.org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getAllApplications()Get all the applicationsorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getAllDocumentationOfAPI(String apiName, String version, String provider) Method to retrieve all documents of given apiorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getAllPaginatedPublishedAPIs(String tenant, int start, int end) Gell all paginated published apis for a given tenantorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getAllPaginatedPublishedAPIs(String tenant, String start, String end) Get all paginated published API for a given tenantorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getAllPublishedAPIs()Get all published apisorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getAllPublishedAPIs(String tenant) Get all published APIs for tenantorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getAllSubscriptions()Get all subscriptionsorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getAllSubscriptionsOfApplication()Get all subscriptions of Application.org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getAllSubscriptionsOfApplication(String selectedApplication) Get all subscriptions of Application.org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getAllTags()Get all API tagsorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAdminDashboardRestClient.getAllTiers()Get all tiersorg.wso2.carbon.automation.test.utils.http.client.HttpResponseGet the API information for the given API Name,API Version and API Providerorg.wso2.carbon.automation.test.utils.http.client.HttpResponseMethod to get API informationorg.wso2.carbon.automation.test.utils.http.client.HttpResponseGet the API information for the given API Name, API Version and API Providerorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getAPI()Get api which are publishedorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getApiEndpointUrls(String apiName, String version, String provider) Method to retrieve all endpoint urlsorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.getAPIImplementPage(String apiName, String provider, String version) Retrieve implementation page for the requested APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.getAPIInformationPage(String apiName, String provider, String version) Retrieve the API Information Pageorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getAPIListFromStoreAsAnonymousUser(String tenantDomain) org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.getAPIManagePage(String apiName, String provider, String version) Retrieve the API Manage Pageorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getAPIPageFilteredWithTags(String apiTag) Get the web page with filtered API when click the API Tag linkorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getApplicationById(int applicationId) Get application by IDorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getApplicationPage()Get application pageorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getApplications()Get applicationorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAdminDashboardRestClient.getapplicationsByTenantId(String search, String start, String draw, String offset, String columnId, String sortOrder) Get all applications within a specific tenant domainorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getPrototypedAPI(String tenant) Get Prototyped APIs in Storeorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getPublishedAPIsByApplication(String applicationName) Get application details by given nameorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getPublishedAPIsByApplicationId(String applicationName, int applicationId) Get application details by given nameorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getRecentlyAddedAPIs(String tenant, String limit) Get recently added APIs by tenantorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getSubscribedAPIs(String applicationName) Get subscribed Apis by application nameorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getSubscribedAPIs(String applicationName, String domain) Get subscribed APIs for the specific Applicationorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.getSwaggerDocument(String userName, String apiName, String apiVersion, String executionMode) This method will return swagger document of given api name and versionorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.getTierPermissionsPage()Retrieve the Tier Permission Pageorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.getTiers()org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.implement(APIImplementationBean implementationBean) org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.isCommentActivated()Check whether commenting is enabledorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.isRatingActivated()Check if API rating activatedorg.wso2.carbon.automation.test.utils.http.client.HttpResponseLogin to API Admin Portalorg.wso2.carbon.automation.test.utils.http.client.HttpResponselogin to publisher apporg.wso2.carbon.automation.test.utils.http.client.HttpResponseLogin to API storeorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.logout()log out from publisherorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.logout()API Store logoutorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.regenerateConsumerSecret(String clientId) Regenerate consumer secret.org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.removeAPISubscription(String API, String version, String provider, String applicationId) Unsubscribe from APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.removeAPISubscriptionByApplicationName(String API, String version, String provider, String applicationName) Unsubscribe from API by application nameorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.removeAPISubscriptionByName(String API, String version, String provider, String appName) Unsubscribe from APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.removeApplication(String application) Delete applicationorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.removeApplicationById(int applicationId) Delete application by Idorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.removeDocumentation(String apiName, String version, String provider, String docName, String docType) Remove documentorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.removeRatingFromAPI(String apiName, String version, String provider) Remove rating of given APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.revokeAccessToken(String accessToken, String consumerKey, String authUser) revoke access tokenorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.signUp(String userName, String password, String firstName, String lastName, String email) API Store sign uporg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.signUpforTenant(String userName, String password, String claims) API Store sign uporg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.signUpWithOrganization(String userName, String password, String firstName, String lastName, String email, String organization) API Store sign up with organizationorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.subscribe(SubscriptionRequest subscriptionRequest) Subscribe to APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.subscribe(SubscriptionRequest subscriptionRequest, String action) Subscribe to API using a particular actionorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.subscribeToAPI(SubscriptionRequest subscriptionRequest) Subscribe and API.org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.updateAPI(APICreationRequestBean creationRequestBean) Update a API using APICreationRequestBean objectorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.updateApplication(String applicationOld, String applicationNew, String callbackUrlNew, String descriptionNew, String tier) Update given applicationorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.updateApplicationById(int applicationId, String applicationOld, String applicationNew, String callbackUrlNew, String descriptionNew, String tier) Update given applicationorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAdminDashboardRestClient.updateApplicationOwner(String newOwner, String oldOwner, String uuid, String appName) Update application ownerorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.updateClientApplication(String application, String keyType, String authorizedDomains, String retryAfterFailure, String jsonParams, String callbackUrl) Update given Auth applicationorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIStoreRestClient.updateClientApplicationById(int applicationId, String application, String keyType, String authorizedDomains, String retryAfterFailure, String jsonParams, String callbackUrl) Update given Auth applicationorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.updateDocument(String apiName, String version, String provider, String docName, String content) org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.updatePermissions(String tierName, String permissionType, String roles) update permissions to API accessorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.updateResourceOfAPI(String provider, String apiName, String version, String swaggerRes) Update resources of APIorg.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.uploadCertificate(ClientCertificateCreationBean clientCertificateCreationBean) To upload a client certificate against an API.org.wso2.carbon.automation.test.utils.http.client.HttpResponseAPIPublisherRestClient.validateRoles(String role) -
Uses of APIManagerIntegrationTestException in org.wso2.am.integration.test.utils.generic
Methods in org.wso2.am.integration.test.utils.generic that throw APIManagerIntegrationTestExceptionModifier and TypeMethodDescriptionstatic APIBeanAPIMTestCaseUtils.getAPIBeanFromHttpResponse(org.wso2.carbon.automation.test.utils.http.client.HttpResponse httpResponse) create API bean object from responsestatic List<org.wso2.carbon.apimgt.api.model.APIIdentifier> APIMTestCaseUtils.getAPIIdentifierListFromHttpResponse(org.wso2.carbon.automation.test.utils.http.client.HttpResponse httpResponse) Get the API information from the response object as Lost of APIIdentifier