We are trying to verify that our download logic is able to save new transactions when they are added to the bank account. We are uploading a custom XML file to the DAG and the first download after linking the account works fine. After we edit the XML file locally to add a new transaction and upload the file again to the same account, we still get the old data when we request the bank transactions again.
Is it possible to test this scenario using the DAG?
Updated question
We call startSiteRefresh
before we call executeUserSearchRequest
.
We get
{"siteRefreshStatus":{"siteRefreshStatusId":1,"siteRefreshStatus":"REFRESH_TRIGGERED"},"siteRefreshMode":{"refreshModeId":2,"refreshMode":"NORMAL"},"updateInitTime":1401995207,"nextUpdate":1401996107,"code":0,"suggestedFlow":{"suggestedFlowId":2,"suggestedFlow":"REFRESH"},"itemRefreshInfo":[{"memItemId":19416156,"itemSuggestedFlow":{"suggestedFlowId":2,"suggestedFlow":"REFRESH"},"errorCode":0,"retryCount":0}],"noOfRetry":0}
and then executeUserSearchRequest
returns the same data.