Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/scravy/waitfor-maven-plugin

Wait for a URL to become available
https://github.com/scravy/waitfor-maven-plugin

integration-testing integration-tests java-8 java8 maven-plugin

Last synced: about 2 months ago
JSON representation

Wait for a URL to become available

Awesome Lists containing this project

README

        

# waitfor-maven-plugin [![Build Status](https://travis-ci.org/scravy/waitfor-maven-plugin.svg?branch=main)](https://travis-ci.org/scravy/waitfor-maven-plugin)

Maven Coordinates:

de.scravy
waitfor-maven-plugin
1.4

## Minimal Configuration Example


de.scravy
waitfor-maven-plugin
1.4


wait-for-environment-to-be-up
pre-integration-test

waitfor




http://localhost:8080/health


http://localhost:8080/loaded_components
{"component_1": "loaded", "component_2": "loaded"}





## Full Configuration Example


de.scravy
waitfor-maven-plugin
1.4


wait-for-environment-to-be-up
pre-integration-test

waitfor


false
false
false
false
true
30
500


http://localhost:9090/health
GET
200


Authorization
Bearer SOMETOKEN




http://localhost:9090/resource
POST
201

{
"some": "thing"
}



Content-Type
application/json







## Options

### insecure

The `insecure` flag allows bypassing https certificate checks. This is handy when using self-signed certificates for
example.

### redirect

The `redirect` flag allows following or not the 302 REDIRECT response. Set it to `false` to avoid redirect.
If a redirect is sent by the server, the `statusCode` will be `302`.