The API Manager binary distribution comes with a number of samples which demonstrate its to demonstrate the API Manager's basic functionality. These samples are located in <PRODUCT_HOME>/samples folder. Inside this directory, you will find sub directories for each sample. Each sub directory contains the relevant configurations, scripts and instructions required to run the relevant sample. Each sample contains an APIPopulator script, which drives the API Manager via a REST API.By default, the samples installation uses the admin user to create samples.
Before running the samples, ensure that the following are available:
- An HTTP client tool such as cURL (http://curl.haxx.se/)
- A JavaScript compatible web browser
- An active Internet connection
...
Follow the instructions below to run any selected sample.
1. Download and install the API Manager according to the instructions given in the Installation Guide. Note that JDK 1.6.0_23 or higher and Apache ANT 1.7 or higher should be installed as mentioned in the Installation Prerequisites section.
2. Your need to configure various libraries before installing examples. To do this, you must run ant by typing "ant" from the <PRODUCT_HOME>/bin directory. For example, in Windows:
3. Start Next, start the API Manager . Instructions are according to the instructions given in section Running the API Manager to . This will populate all master data required for the server to start up.
...