Test & Code

26: pyresttest – Sam Van Oort


Listen Later

Interview with Sam Van Oort about pyresttest, "A REST testing and API microbenchmarking tool"

pyresttest

A question in the Test & Code Slack channel was raised about testing REST APIs. There were answers such as pytest + requests, of course, but there was also a mention of pyresttest, https://github.com/svanoort/pyresttest, which I hadn't heard of. I checked out the github repo, and was struck by how user friendly the user facing test definitions were. So I contacted the developer, Sam Van Oort, and asked him to come on the show and tell me about this tool and why he developed it.

Here's the "What is it?" section from the pyresttest README:

  • A REST testing and API microbenchmarking tool
  • Tests are defined in basic YAML or JSON config files, no code needed
  • Minimal dependencies (pycurl, pyyaml, optionally future), making it easy to deploy on-server for smoketests/healthchecks
  • Supports generate/extract/validate mechanisms to create full test scenarios
  • Returns exit codes on failure, to slot into automated configuration management/orchestration tools (also supplies parseable logs)
  • Logic is written and extensible in Python
  • Support

    Special thanks to my wonderful Patreon supporters and those who have supported the show by purchasing Python Testing with unittest, nose, pytest

    ...more
    View all episodesView all episodes
    Download on the App Store

    Test & CodeBy Brian Okken

    • 4.7
    • 4.7
    • 4.7
    • 4.7
    • 4.7

    4.7

    70 ratings


    More shows like Test & Code

    View all
    Radiolab by WNYC Studios

    Radiolab

    44,029 Listeners

    Software Engineering Daily by Software Engineering Daily

    Software Engineering Daily

    624 Listeners

    Heavy Networking by Packet Pushers

    Heavy Networking

    328 Listeners

    Talk Python To Me by Michael Kennedy

    Talk Python To Me

    588 Listeners

    Python Bytes by Michael Kennedy and Brian Okken

    Python Bytes

    214 Listeners

    Darknet Diaries by Jack Rhysider

    Darknet Diaries

    7,999 Listeners

    The Real Python Podcast by Real Python

    The Real Python Podcast

    141 Listeners

    Unexplainable by Vox

    Unexplainable

    2,278 Listeners

    Network Automation Nerds by Packet Pushers

    Network Automation Nerds

    3 Listeners