-1

I would like to stub contracts based on an ID in the url (this is for a Spring Application). Is there a way to add an ID to the Stub Runner during runtime or do all stubs have to be specifically defined in the @AutoConfigureStubRunner annotation?

Sam M.
  • 13
  • 5
  • Hi, welcome to stack overflow. Please refer the [ask] link for more details on how to ask a question and update your question accordingly. – Jeroen Heier Oct 12 '17 at 18:09

1 Answers1

0

Theoretically you can start your own BatchStubRunner and manually feed it with data. So in other words you can manually do what @AutoConfigureStubRunner does for you

Marcin Grzejszczak
  • 10,624
  • 1
  • 16
  • 32