diff --git a/stub-runner/stub-runner-junit/README.adoc b/stub-runner/stub-runner-junit/README.adoc index 92aae748a3..5a778ae104 100644 --- a/stub-runner/stub-runner-junit/README.adoc +++ b/stub-runner/stub-runner-junit/README.adoc @@ -8,11 +8,12 @@ include::src/test/groovy/io/codearte/accurest/stubrunner/junit/AccurestRuleJUnit ---- After that rule gets executed Stub Runner connects to your Maven repository and for the given list of dependencies tries to: -* download them -* cache them locally -* unzip them to a temporary folder -* start a WireMock server for each Maven dependency on a random port from the provided range of ports -* feed the WireMock server with all JSON files that are valid WireMock definitions + +- download them +- cache them locally +- unzip them to a temporary folder +- start a WireMock server for each Maven dependency on a random port from the provided range of ports +- feed the WireMock server with all JSON files that are valid WireMock definitions Stub Runner uses http://docs.groovy-lang.org/latest/html/documentation/grape.html[Groovy's Grape] mechanism to download the Maven dependencies. Check their http://docs.groovy-lang.org/latest/html/documentation/grape.html[docs] for more information. diff --git a/stub-runner/stub-runner-messaging/stub-runner-messaging-integration/src/test/groovy/io/codearte/accurest/stubrunner/messaging/integration/IntegrationStubRunnerSpec.groovy b/stub-runner/stub-runner-messaging/stub-runner-messaging-integration/src/test/groovy/io/codearte/accurest/stubrunner/messaging/integration/IntegrationStubRunnerSpec.groovy index 6c69f17cc4..02b875af6f 100644 --- a/stub-runner/stub-runner-messaging/stub-runner-messaging-integration/src/test/groovy/io/codearte/accurest/stubrunner/messaging/integration/IntegrationStubRunnerSpec.groovy +++ b/stub-runner/stub-runner-messaging/stub-runner-messaging-integration/src/test/groovy/io/codearte/accurest/stubrunner/messaging/integration/IntegrationStubRunnerSpec.groovy @@ -154,7 +154,7 @@ class IntegrationStubRunnerSpec extends Specification { triggeredBy('bookReturnedTriggered()') } outputMessage { - sentTo('jms:output') + sentTo('output') body('''{ "bookName" : "foo" }''') headers { header('BOOK-NAME', 'foo') @@ -168,7 +168,7 @@ class IntegrationStubRunnerSpec extends Specification { io.codearte.accurest.dsl.GroovyDsl.make { label 'return_book_2' input { - messageFrom('jms:input') + messageFrom('input') messageBody([ bookName: 'foo' ]) @@ -177,7 +177,7 @@ class IntegrationStubRunnerSpec extends Specification { } } outputMessage { - sentTo('jms:output') + sentTo('output') body([ bookName: 'foo' ]) @@ -193,7 +193,7 @@ class IntegrationStubRunnerSpec extends Specification { io.codearte.accurest.dsl.GroovyDsl.make { label 'delete_book' input { - messageFrom('jms:delete') + messageFrom('delete') messageBody([ bookName: 'foo' ])