Skip to main content

HTTP testing in R

Table of contents

  • 1 Preamble
  • Introduction
  • 2 HTTP in R 101
  • 3 Graceful HTTP R packages
  • 4 Packages for HTTP testing
  • Whole Game(s)
  • 5 Introduction
  • 6 Use vcr (& webmockr)
  • 7 Use httptest
  • 8 vcr and httptest
  • 9 Use httptest2
  • 10 Use webfakes
  • 11 vcr (& webmockr), httptest, webfakes
  • Advanced Topics
  • 12 Making real requests
  • 13 CRAN- (and Bioconductor) preparedness for your tests
  • 14 Security
  • 15 Faking HTTP errors
  • 16 Contributor friendliness
  • Conclusion
  • 17 Conclusion
  • webmockr details
  • 18 Mocking HTTP Requests
  • 19 stubs
  • 20 testing
  • 21 utilities
  • vcr details
  • 22 Caching HTTP requests
  • 23 Advanced vcr usage
  • 24 Configure vcr
  • 25 Record modes
  • 26 Request matching
  • 27 Debugging your tests that use vcr
  • 28 Security with vcr
  • 29 Turning vcr on and off
  • 30 Managing cassettes
  • 31 Gotchas
  • 32 Session info

View book source

25 Record modes

https://docs.ropensci.org/vcr/articles/debugging.html

24 Configure vcr
26 Request matching

On this page

  • 25 Record modes
  • View source
  • Edit this page

"HTTP testing in R" was written by Scott Chamberlain, Maëlle Salmon. It was last built on 2025-10-24.

This book was built by the bookdown R package.