Download stubby4j Free Java Code
Description
A flexible HTTP stub server for testing application interactions with web services (REST, SOAP etc) & external system stubbing for easy testing.
Source Files
The download file stubby4j-master.zip has the following entries.
.gitignore/* w w w.j a va 2 s . co m*/
.travis.yml
COPYRIGHT.md
LICENSE
README.md
build.gradle
builders/build.gradle
builders/main/java/by/stub/builder/stubs/StubRequestBuilder.java
builders/main/java/by/stub/builder/yaml/YamlBuilder.java
builders/test/java/by/stub/builder/yaml/YamlBuilderTest.java
builders/test/resources/stubbed.request.response.yaml
conf/gradle/cobertura.gradle
conf/gradle/dependencies.gradle
conf/gradle/ides.gradle
conf/gradle/jdepend.gradle
conf/gradle/pmd.gradle
conf/gradle/sonatype.gradle
conf/idea/codeStyle.xml
conf/idea/copyright.xml
conf/idea/inspectionProfile.xml
conf/idea/vcs.xml
conf/jdepend/jdepend-report.xslt
conf/pmd/pmd-report.xslt
conf/pmd/pmd-rulesets.xml
functional/build.gradle
functional/java/by/stub/AdminPortalTest.java
functional/java/by/stub/HttpUtils.java
functional/java/by/stub/StubsAdminPortalsTest.java
functional/java/by/stub/StubsPortalTest.java
functional/java/by/stub/client/StubbyClientTest.java
functional/resources/binary/hello-world.pdf
functional/resources/json/response.json
functional/resources/json/sequenced.response.goingstrong.json
functional/resources/json/sequenced.response.ok.json
functional/resources/json/sequenced.response.omfg.json
functional/resources/json/template.json
functional/resources/json/update.request.with.enquoted.escaped.forward.slashes.json
functional/resources/json/update.request.with.escaped.forward.slashes.json
functional/resources/json/update.request.without.escaped.slashes.json
functional/resources/yaml/stubs.yaml
gradle.properties
integration/build.gradle
integration/java/by/stub/cli/CommandLineIntepreterTest.java
integration/java/by/stub/database/StubbedDataManagerTest.java
integration/java/by/stub/utils/ConsoleUtilsTest.java
integration/java/by/stub/utils/HandlerUtilsTest.java
integration/java/by/stub/yaml/YamlParserLoadTest.java
integration/java/by/stub/yaml/YamlParserTest.java
integration/resources/json/request.external.file.json
integration/resources/json/response.external.file.json
integration/resources/ui/html/test-template.html
integration/resources/yaml/one.external.files.yaml
integration/resources/yaml/request.null.external.files.yaml
integration/resources/yaml/response.null.external.files.yaml
integration/resources/yaml/same.external.files.yaml
integration/resources/yaml/two.external.files.yaml
main/build.gradle
main/java/by/stub/Main.java
main/java/by/stub/annotations/CoberturaIgnore.java
main/java/by/stub/annotations/VisibleForTesting.java
main/java/by/stub/cli/ANSITerminal.java
main/java/by/stub/cli/CommandLineInterpreter.java
main/java/by/stub/cli/EmptyLogger.java
main/java/by/stub/client/StubbyClient.java
main/java/by/stub/client/StubbyRequest.java
main/java/by/stub/client/StubbyResponse.java
main/java/by/stub/database/StubbedDataManager.java
main/java/by/stub/database/thread/ExternalFilesScanner.java
main/java/by/stub/database/thread/MainYamlScanner.java
main/java/by/stub/exception/Stubby4JException.java
main/java/by/stub/handlers/AdminPortalHandler.java
main/java/by/stub/handlers/AjaxEndpointStatsHandler.java
main/java/by/stub/handlers/AjaxResourceContentHandler.java
main/java/by/stub/handlers/StatusPageHandler.java
main/java/by/stub/handlers/StubDataRefreshActionHandler.java
main/java/by/stub/handlers/StubsPortalHandler.java
main/java/by/stub/handlers/strategy/admin/AdminResponseHandlingStrategy.java
main/java/by/stub/handlers/strategy/admin/AdminResponseHandlingStrategyFactory.java
main/java/by/stub/handlers/strategy/admin/DeleteHandlingStrategy.java
main/java/by/stub/handlers/strategy/admin/GetHandlingStrategy.java
main/java/by/stub/handlers/strategy/admin/HttpVerbsEnum.java
main/java/by/stub/handlers/strategy/admin/NullHandlingStrategy.java
main/java/by/stub/handlers/strategy/admin/PostHandlingStrategy.java
main/java/by/stub/handlers/strategy/admin/PutHandlingStrategy.java
main/java/by/stub/handlers/strategy/stubs/DefaultResponseHandlingStrategy.java
main/java/by/stub/handlers/strategy/stubs/NotFoundResponseHandlingStrategy.java
main/java/by/stub/handlers/strategy/stubs/RedirectResponseHandlingStrategy.java
main/java/by/stub/handlers/strategy/stubs/StubResponseHandlingStrategy.java
main/java/by/stub/handlers/strategy/stubs/StubsResponseHandlingStrategyFactory.java
main/java/by/stub/handlers/strategy/stubs/UnauthorizedResponseHandlingStrategy.java
main/java/by/stub/http/StubbyHttpTransport.java
main/java/by/stub/javax/servlet/http/HttpServletResponseWithGetStatus.java
main/java/by/stub/repackaged/org/apache/commons/codec/binary/Base64.java
main/java/by/stub/repackaged/org/apache/commons/codec/binary/BaseNCodec.java
main/java/by/stub/repackaged/org/apache/commons/io/IOUtils.java
main/java/by/stub/repackaged/org/apache/commons/io/output/ByteArrayOutputStream.java
main/java/by/stub/server/FakeX509TrustManager.java
main/java/by/stub/server/JettyContext.java
main/java/by/stub/server/JettyFactory.java
main/java/by/stub/server/StubbyManager.java
main/java/by/stub/server/StubbyManagerFactory.java
main/java/by/stub/utils/CollectionUtils.java
main/java/by/stub/utils/ConsoleUtils.java
main/java/by/stub/utils/FileUtils.java
main/java/by/stub/utils/HandlerUtils.java
main/java/by/stub/utils/JarUtils.java
main/java/by/stub/utils/ObjectUtils.java
main/java/by/stub/utils/ReflectionUtils.java
main/java/by/stub/utils/StringUtils.java
main/java/by/stub/yaml/StubBuilder.java
main/java/by/stub/yaml/StubRequestBuilder.java
main/java/by/stub/yaml/StubResponseBuilder.java
main/java/by/stub/yaml/YamlParser.java
main/java/by/stub/yaml/YamlProperties.java
main/java/by/stub/yaml/stubs/NotFoundStubResponse.java
main/java/by/stub/yaml/stubs/RedirectStubResponse.java
main/java/by/stub/yaml/stubs/StubHttpLifecycle.java
main/java/by/stub/yaml/stubs/StubRequest.java
main/java/by/stub/yaml/stubs/StubResponse.java
main/java/by/stub/yaml/stubs/StubResponseTypes.java
main/java/by/stub/yaml/stubs/StubTypes.java
main/java/by/stub/yaml/stubs/UnauthorizedStubResponse.java
main/resources/ssl/localhost.jks
main/resources/ui/css/main.css
main/resources/ui/html/_popup_generic.html
main/resources/ui/html/_popup_stats.html
main/resources/ui/html/_table.html
main/resources/ui/html/default404.html
main/resources/ui/html/status.html
main/resources/ui/images/favicon.ico
main/resources/ui/images/loading.gif
main/resources/ui/js/d3/d3.v3.min.js
main/resources/ui/js/highlight/LICENSE
main/resources/ui/js/highlight/highlight.pack.js
main/resources/ui/js/highlight/styles/solarized_light.min.css
main/resources/ui/js/main.js
main/resources/ui/js/minified/minified.js
settings.gradle
unit/build.gradle
unit/java/by/stub/cli/CommandLineIntepreterTest.java
unit/java/by/stub/database/StubbedDataManagerTest.java
unit/java/by/stub/handlers/AjaxResourceContentHandlerTest.java
unit/java/by/stub/handlers/StubsPortalHandlerTest.java
unit/java/by/stub/handlers/strategy/DefaultResponseHandlingStrategyTest.java
unit/java/by/stub/handlers/strategy/HandlingStrategyFactoryTest.java
unit/java/by/stub/handlers/strategy/RedirectResponseHandlingStrategyTest.java
unit/java/by/stub/utils/CollectionUtilsTest.java
unit/java/by/stub/utils/FileUtilsTest.java
unit/java/by/stub/utils/HandlerUtilsTest.java
unit/java/by/stub/utils/ReflectionUtilsTest.java
unit/java/by/stub/utils/StringUtilsTest.java
unit/java/by/stub/yaml/stubs/StubHttpLifecycleTest.java
unit/java/by/stub/yaml/stubs/StubRequestTest.java
unit/java/by/stub/yaml/stubs/StubResponseTest.java
Download
Click the following link to download stubby4j-master.zip.
stubby4j-master.zip