mountebank icon indicating copy to clipboard operation
mountebank copied to clipboard

Use Mountebank copy behavior in multiple stubs

Open murdoc-mos opened this issue 6 years ago • 1 comments

I submitted this on StackOverflow hoping to find answers, but I have a feeling this question is a bit too niche and may be more of a feature request.

TL;DR - I have one request that will return an ID, if I capture that ID as a variable in that stub using the copy behavior, I'd like to be able to use that same variable in another stub under the same imposter.

murdoc-mos avatar Oct 28 '19 20:10 murdoc-mos

Hi Murdoc, Unfortunately you're right, that behavior isn't supported at the moment. -Brandon

On Mon, Oct 28, 2019 at 1:21 PM Murdoc Trammell [email protected] wrote:

I submitted this on StackOverflow https://stackoverflow.com/questions/58597605/use-mountebank-copy-behavior-in-multiple-stubs hoping to find answers, but I have a feeling this question is a bit too niche and may be more of a feature request.

TL;DR - I have one request that will return an ID, if I capture that ID as a variable in that imposter using the copy behavior, I'd like to be able to use that same variable in another imposter.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bbyars/mountebank/issues/476?email_source=notifications&email_token=AAARFP2HXD47CCSVLTI6Z6TQQ5CVHA5CNFSM4JF7PFF2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HU354AQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAARFPZI3ETOAT2UHMCXRTDQQ5CVHANCNFSM4JF7PFFQ .

bbyars avatar Nov 02 '19 18:11 bbyars