Software AG Products 10.7 | Administering API Portal | Using and Testing APIs | Testing a SOAP API
 
Testing a SOAP API
To test a specific SOAP API proceed as follows.
*To test a SOAP API
1. Log in to API Portal.
2. Switch to the API Gallery page.
Alternatively go to the Home page and type the beginning of the API name into the search box.
3. Click View details for an API.
4. Click Try API in the API details page.
The Try API page is displayed.
5. Select the required stage of the API that you want to test, from the Sandbox field. This drop-down list displays the different instances or stages of API Gateway from which the API is published to API Portal. For example, if an API is published from Dev and Production stages, then both the stages are displayed in the Sandbox drop-down list.
The applications associated with the selected stage are displayed in the Applications field. This drop-down list displays the applications for a resource or API. The applications are grouped under their respective authentication mechanisms. For example, the applications for OAuth are grouped under the head, OAuth and so on.
Note:
This step is applicable only if the API is available in more than one stage.
6. Select an Applications to test.
The resources that can be tested are displayed in the left panel.
7. Select a method.
The methods associated with the resource with the corresponding SOAP versions that can be tested are displayed.
8. Select the required Authorization Type from the Authorization tab and provide the corresponding values:
*No Auth: Specifies that no authentication is required.
*Basic authentication: Specifies basic authentication of user credentials is required. Type the username and password for authentication and click Update.
*Oauth 2.0: Specifies OAuth authentication is required. Provide the required information to fetch a OAuth token to use for authentication. For details on how to generate a OAuth token and use it see, OAuth 2.0 Support.
*JWT: Specifies a JSON Web token is required for authentication. Type a token or select one of the available tokens in the list and click Update. For details on how to generate a JSON web token and use it see, Testing a JWT protected API.
9. Type in the required Header name(s) and corresponding value(s) in the Headers tab. You can add multiple entries by clicking .
10. Type the web service user name and password in the Web service security tab.
11. Click Send.
The request and the response of the API are displayed.
To clear the values entered and response rendered, click Clear.