Use a Custom action in the Dynatrace Recorder to implement this.
Add the Custom action at the beginning of the step where the specific object will be downloaded.
indexOf() function, specify the object that you want to capture the reply content.
The example code below captures the object whose URL contains
For more information, see the help pages Custom actions and Editing Script Actions.