Hello!
Good question!
I originally was looking into the Replacer function (under Tools/Options), but it looks like that only acts on headers or body, not the request URL.
So unless someone else here has some cool insight, there are two ways I can think of to do that:
The first is to use an HttpSender zest script (this script will act on all requests, even for scans, fuzzers, etc). You can then set a simple statement like IF: URL (regex contains '/logout.etc') THEN replace {{request.url}} with
google.com (or something) ELSE (blank).
As far as I know there isn't an easy to drop the request entirely (at least in .zst format!), so I would suggest just changing the URL to point to something harmless. Though it's possible your application might not like that....
See screenshot for layout
My next method would be to use Fiddler as a downstream proxy, and it has an Autoresponder function which allows you to check url regex and then just drop the request (or even return a predefined one instead). But of course installing an entirely new tool just for one problem might not be the best, and it's windows native (though i'm sure some others have a similar option)
Let us know what you come up with!