Hi Team,
I am trying to do some POC on checking how the APIs can be tested with mock data with certain condition. below are the options I am exploring:
- Using Message-template. It seems this is not available on 10.x
- using XSLT.
- See if the response can be retrieved from the sample data itself which is available on the developer portal
I am trying to response with mock data when certain condition is met like
($httpVerb() = 'GET') and X-ibm-client-name is like then invoke mock data otherwise call actual backend.
and exploring the 3rd option as YAML file can generalize that way we don't have to code it each YAML.
------------------------------
Syed Imtiyaz Alam
------------------------------