Step 3: Test the API proxy

Now that you've created a new proxy, you're ready to test it.

curl -v -k https://$EXTERNAL_IP/myproxy

Where $EXTERNAL_IP is the IP address of the external load balancer. This IP address is exposed to the internet. For more information, see Configure routing.

For example:

curl -v -k https://apitest.acme.com/myproxy

If the call succeeds, you will see the following output:

Hello, Guest!

If you get a timeout error or your test is unsuccessful, try undeploying and then redeploying the new API proxy in the test environment. For more information, see Deploying an API proxy. If you continue to experience this issue, contact Apigee Support.

In the next step, you will change the target endpoint to return XML data from the target service.

Next step

Next step

1 2 3 (NEXT) Step 4: Change the target endpoint 5