komock alternatives and similar libraries
Based on the "Web" category.
Alternatively, view komock alternatives based on common mentions on social networks and blogs.
-
javalin
DISCONTINUED. A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin] -
apollo-android
:rocket: A strongly-typed, caching GraphQL client for the JVM, Android, and Kotlin multiplatform. -
http4k
The Functional toolkit for Kotlin HTTP applications. http4k provides a simple and uniform way to serve, consume, and test HTTP services. -
skrape.it
A Kotlin-based testing/scraping/parsing library providing the ability to analyze and extract data from HTML (server & client-side rendered). It places particular emphasis on ease of use and a high level of readability by providing an intuitive DSL. It aims to be a testing lib, but can also be used to scrape websites in a convenient fashion. -
hexagon
Hexagon is a microservices toolkit written in Kotlin. Its purpose is to ease the building of services (Web applications or APIs) that run inside a cloud platform. -
firefly
Firefly is an asynchronous web framework for rapid development of high-performance web application. -
tekniq
A framework designed around Kotlin providing Restful HTTP Client, JDBC DSL, Loading Cache, Configurations, Validations, and more -
Pellet
An opinionated, Kotlin-first web framework that helps you write fast, concise, and correct backend services 🚀. -
bootique-kotlin
DISCONTINUED. RETIRED. Provides extension functions and features for smooth development with Bootique and Kotlin. -
Zeko-RestApi
Asynchronous web framework for Kotlin. Create REST APIs in Kotlin easily with automatic Swagger/OpenAPI doc generation -
voyager-server-spring-boot-starter
Easily create REST endpoints with permissions (access control level) and hooks includeded
CodeRabbit: AI Code Reviews for Developers
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of komock or a related project?
README
Komock
Here is HTTP/Consul/SpringConfig mocker framework written in Kotlin.
This tiny framework is very useful if you need to create REST based client for API service.
We use this framework for develop microservices or API integration with third party systems.
Main features:
- Configurable response for any kind of HTTP request/response with wildcards, cookies and custom headers.
- SSL support
- Virtual Host support
- Consul discovery service support.
- Ability to work like a simple Spring Configuration Server
- Header based security
- Variables in the response by request parameters
- Callback support
Download
Binaries are available at https://github.com/laviua/komock/releases/latest
Maven Central repository
<dependency>
<groupId>ua.com.lavi</groupId>
<artifactId>komock-core</artifactId>
<version>RELEASE</version>
</dependency>
How to use
Run standalone application:
Extract release version from https://github.com/laviua/komock/releases/latest :
komock-app-x.x.x.zip
Run
bin\komock-app /path/your_config.yaml
Examples
Simple http server https://github.com/laviua/komock/wiki/Simple-http-server-(Java)
Oauth2 server https://github.com/laviua/komock/wiki/Oauth2-server
Consul service registration https://github.com/laviua/komock/wiki/Consul
Spring config server https://github.com/laviua/komock/wiki/Spring-config-server
Unit testing https://github.com/laviua/komock/wiki/Unit-Testing-with-request-capturing-(Java)
Full config Callbacks, Mask patterns, cookies, virtualhosts, etc Look at self-describable configuration file Link:
HTTPS / SSL:
You can use your personal keystore. Just create it by the following command and set filename with password in the configuration file (secure section):
keytool -genkey -alias replserver -keyalg RSA -keystore mock_keystore.jks -dname "CN=Mark Smith, OU=JavaSoft, O=Sun, L=Cupertino, S=California, C=US" -storepass mockpassword -keypass mockpassword
ssl:
enabled: true
keyStoreLocation: mock_keystore.jks
keyStorePassword: mockpassword
License
Licensed under Apache 2 License
*Note that all licence references and agreements mentioned in the komock README section above
are relevant to that project's source code only.