Running the sender.sh utility
sender.sh utility invokes TestClientSender
and is used for testing. It enables you to execute an API or service
from the command line.
You can invoke this utility as follows:
java com.yantra.integration.adapter.client.TestClientSender<flowNam e/systemApiName> <is firstParameter Flow (Y/N)> <xmlFileName>
- The first argument takes the name of a service/sdf (flowName) or an API name (systemApiName).
- The second argument (is firstParameterFlow (Y/N)) determines whether the first argument is a service or an API. Valid values are Y and N. If the first argument is a service, use Y; if it is an API, use N.
- The third argument (xmlFileName) takes the path and name of the XML input file you want to use as input to the API or service.