Use Proxy while testing

Hello everyone. I already know how to set Proxy in postman Settings - it’s fine if i set it before tests started, or before sending a request. Can i set or change Proxy while testing ? May be I can set proxy in postman sandbox via Java Script, like this :

pm.sendRequest({url:"https://adres", method:'Post', header:header, body:body, proxy:"1.1.1.1:80"}, 
?

UPD : on which language was written pm.sendRequest command ? Can I look at source code ?

Proxy cannot be set programmatically yet. I will look into how feasible that would be.

1 Like

You mean that this feature cannot be feasible in app or we have some variants ?