I have a scenario where I know the API request format and some data but not the other dynamic data, let's say it is a dynamicParameter.
Now this dynamicParameter data will keep changing and it a mandatory field so it can't be skipped.
So I have to capture the actual API requests for the given data initially and then keep using it until it changes again, and there is going to be lots of API requests hence I have to automate the capture process.
But while capturing I come across with another challenge, i.e. whenever we perform the action, the API is not seen in the browser directly, so I can't capture it from network panel or XHR.
And the application is server is using logstash and in logstash I can find the actual API requests, so I decided to capture it from logstash but most of the results I found are related to filter/extract the logs before they are stored in logstash.
So it would be a great help if anyone can suggest how to capture API requests dynamically for this application and/or how to do API Automation for this application.