ijpiantanida / talkback

A simple HTTP proxy that records and playbacks requests
MIT License
284 stars 41 forks source link

Feature: customizable tape names #20

Closed tartale closed 5 years ago

tartale commented 5 years ago

I thought this would be a handy feature in a test suite that had a wide variety of HTTP calls; allowing caller to custom-organize the new tapes based on the request would help them sort out requests that might need de-duplication.

Defaults to the standard unnamed-${tapeNumber} scheme, so backwards-compatible. Also included a unit test, and updated README.

Let me know what you think! Happy to implement feedback, more tests/checking, etc.

ijpiantanida commented 5 years ago

Hi @tartale, thank you for the idea and the PR. I made a couple of small changes (including recursive tape loading) and merged it.

It should be released soon.