[Block request & responses]

Can anyone tell me if there is a tool to block requests and responses when testing in the app. (I researched and found that there is Charles, in addition, is there any similar tool, can anyone tell me!!)