Automation Rhapsody

Posts with tag: REST

.NET Core integration testing and mock dependencies

How to do integration testing on .NET Core application and stub or mock some inconvenient dependencies.

Build a REST API with .NET Core 2 and run it on Docker Linux container

Code examples how to create RESTful API with .NET Core 2.0 and then run it on Docker Linux container.

Mock/Stub REST API with WireMock for better unit testing

Examples how to use WireMock to stub (mock also is possible as a term) REST API in order make better unit testing.

Create simple REST API client using Jersey

Code examples how to create REST API client using Jersey.

Introduction to Postman with examples

This post is demonstrating different Postman features with examples.

JSON format to register service with Eureka

What JSON data is needed to register service node with Eureka server.

Unmarshal/Convert JSON data to JAXBElement object

How to marshal and unmarshal JAXBElement to JSON with Jackson.

Implement secure API authentication over HTTP with Dropwizard

Reference implementation on suggested in "How to implement secure REST API authentication over HTTP" post authentication mechanism.

How to implement secure REST API authentication over HTTP

How to implement secure API authentication even over HTTP.

REST performance problems with Dropwizard and Jersey JAXB provider

Dropwizard's performance highly degrades when using REST with XML caused by Jersey's Abstract JAXB provider. Solution is to inject your own JAXB provider.

Build a RESTful stub server with Dropwizard

How to make a RESTful server that can be used for stub during testing.