static function OnBeforeRequest(oSession: Session) {
if (oSession.uriContains("/teste.json")) {
oSession["x-breakresponse"]="uri";
}
I need to make a change to the text of a file that is large and if I do it the normal way this change doesn't happen, I think I don't have time to edit the response and that's why it loads without changing. Because in small files it replaces the normal load on the page with the modified response. Is there any way to get around this? Thanks.
I think it was my mistake. I forgot the beforeRequest for the other link. After I used it it worked. Sorry.