23tux / vcr_proxy

19 stars 10 forks source link

how to playback recordings #8

Open alexspark opened 9 years ago

alexspark commented 9 years ago

I was able to get the vcr_proxy.rb server up and running and I've obtained the recordings I wish to playback. I want to use these recordings test a single page javascript application, but how do I use the proxy server as an endpoint for my JS if requests need to be proxied in order to match my recordings?

I want to avoid creating an additional server that my JS will call just so I can make the proxy request to the vcr_proxy. I also want to avoid setting my browser to the proxy as the proxy server will not be serving the assets, only my json responses.