Giter Site home page Giter Site logo

thegangtechnology / wait_for_response_body Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nev7n/wait_for_response

0.0 0.0 0.0 3.1 MB

Github action to wait for a response + checking response body

License: MIT License

Shell 7.86% Go 68.09% Dockerfile 24.06%

wait_for_response_body's Introduction

Wait For Response docker action

This action makes 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"

expectedResponse

Check the response, if it is what we expected. Default "latest"

interval

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

Example usage

uses: thegangtechnology/wait_for_response_body@master
with:
  url: 'http://localhost:8081/'
  responseCode: 200
  timeout: 2000
  expectedResponse: "latest"
  interval: 500

wait_for_response_body's People

Contributors

nev7n avatar narongdejsrn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.