Skip to content
On this page

CO2 Testing

You can now test your API carbon footprint by adding a special co2 check

INFO

The calculation algorithm is provided by Sustainable Web Design

Example: Checking emissions

yaml
version: "1.1"
name: Emission Check
tests:
  example:
    steps:
      - name: GET request
        http:
          url: https://example.com
          method: GET
          check:
            co2:
              - lte: 0.05 # in grams