Skip to content

Wait For HTTP Responses

Actions
Wait for response code from a URL with timeout
v2.0.0
Latest
Star (14)

Wait For Response docker action

This action makes a HEAD requests to a given URL until the required response code is retrieved or the timeout is met. Initially created to allow test containers to startup before executing tests against them.

Inputs

url

The URL to poll. Default "http://localhost/"

responseCode

Response code to wait for. Default "200"

timeout

Timeout before giving up in milliseconds. Default "30000"

interval

Interval between polling in ms. Default "200" default: 200

Example usage

uses: cygnetdigital/[email protected]
with:
  url: 'http://localhost:8081/'
  responseCode: '200,500'
  timeout: 2000
  interval: 500

Wait For HTTP Responses is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Wait for response code from a URL with timeout
v2.0.0
Latest

Wait For HTTP Responses is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.