RECENT POSTS

P5-test-lwp-useragent

May 26, 2018

LWP::UserAgent suitable for simulating and testing network calls

LWPUserAgent suitable for simulating and testing network calls.

It overrides a few key low-level methods of LWPUserAgent that are concerned with actually sending your request over the network, allowing an interception of that request and simulating a particular response. This greatly facilitates testing of client networking code where the server follows a known protocol.

WWW http//search.cpan.org/dist/Test-LWP-UserAgent/