Mock response for an API in APIGee

Hi everyone,
I am new to APIGee platform. We were interested to know how to provide the mock response for the API via APIGee without reaching backend. I did went through https://www.youtube.com/watch?v=grNhwkrFBxg and they recommended using No-target with Assign Message Policy.

The problem is that I don't want to hard-code the payload at the APIGee as it contains some PII.

Do, we have any other alternatives for this?

2 2 59
2 REPLIES 2

You don't want to hard-code a mock response because of concerns about PII?   I must be misunderstanding something.  In my view, a mock response by definition cannot contain PII.  It's mocked data, it's fake. 

Sai put this screencast together a couple weeks ago to show you how you can build mocked responses for Apigee using Gemini codeassist and VSCode. https://youtu.be/ybstqxk8vfI

 

Thank you @dchiesa1 for your response. Yes I agree with you that mock data should be fake one. Truly grateful to you for sharing the video. I did got some knowledge about APIGee using Gemini.