godog-http-api
Browse docs
    • Introduction
    • Quick Start
    • Overview
    • Next steps
    • Environment variables
    • CLI: godog
    • CLI: go
    • Debugging
    • Create your own steps
      • Random boolean
      • Random number from the range
      • Random sentence from provided charset and range
      • Random word from provided charset and range
      • Time object
      • Sending request using multiple steps
      • Sending request using single step.
      • Pause for given period of time.
      • Stop scenario execution.
      • HTTP response body
      • HTTP response body nodes
      • HTTP response headers
      • HTTP response status code
      • Activate/deactivate debug mode.
      • Print last response body.
      • Print scenario cache data.
      • Save arbitrary inline data.
      • Save arbitrary multiline data.
      • Save data from headers.
      • Save data from last response body.
    • Cache
    • Debugger
    • Formatters
    • PathFinders
    • RequestDoer
    • SchemaValidators
    • TemplateEngine
    • TypeMappers

godog-http-api

  • Docs
  • Blog
  • Get Started
    • Quick Start
    • Tutorial


  • GitHub

    • Introduction
    • Quick Start
    • Overview
    • Next steps
    • Environment variables
    • CLI: godog
    • CLI: go
    • Debugging
    • Create your own steps
      • Random boolean
      • Random number from the range
      • Random sentence from provided charset and range
      • Random word from provided charset and range
      • Time object
      • Sending request using multiple steps
      • Sending request using single step.
      • Pause for given period of time.
      • Stop scenario execution.
      • HTTP response body
      • HTTP response body nodes
      • HTTP response headers
      • HTTP response status code
      • Activate/deactivate debug mode.
      • Print last response body.
      • Print scenario cache data.
      • Save arbitrary inline data.
      • Save arbitrary multiline data.
      • Save data from headers.
      • Save data from last response body.
    • Cache
    • Debugger
    • Formatters
    • PathFinders
    • RequestDoer
    • SchemaValidators
    • TemplateEngine
    • TypeMappers
    • Introduction
    • Quick Start
    • Overview
    • Next steps
    • Environment variables
    • CLI: godog
    • CLI: go
    • Debugging
    • Create your own steps
      • Random boolean
      • Random number from the range
      • Random sentence from provided charset and range
      • Random word from provided charset and range
      • Time object
      • Sending request using multiple steps
      • Sending request using single step.
      • Pause for given period of time.
      • Stop scenario execution.
      • HTTP response body
      • HTTP response body nodes
      • HTTP response headers
      • HTTP response status code
      • Activate/deactivate debug mode.
      • Print last response body.
      • Print scenario cache data.
      • Save arbitrary inline data.
      • Save arbitrary multiline data.
      • Save data from headers.
      • Save data from last response body.
    • Cache
    • Debugger
    • Formatters
    • PathFinders
    • RequestDoer
    • SchemaValidators
    • TemplateEngine
    • TypeMappers

On this page

Print last response body.

Print last response body.

On this page

I print last response body #

This step simply prints to console last HTTP(s) response body.

Example:

Given I print last response body
← Pause for given period of time.
Print scenario cache data. →
  • Powered by Netlify, Hugo, and Doks