adding support to send request to stubs

adding support to send request to stubs