Upstream software project

libtest-lwp-useragent-perl

LWP::UserAgent suitable for simulating and testing network calls

About libtest-lwp-useragent-perl

LWP::UserAgent suitable for simulating and testing network calls

This project links 9 native package records across 7 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

Debian 12 (Bookworm): 1 package records; Debian 13 (Trixie): 1 package records; Fedora 43: 2 package records; Fedora 44: 2 package records; openSUSE Leap 15.6: 1 package records; openSUSE Leap 16.0: 1 package records; openSUSE Tumbleweed: 1 package records. Catalog coverage diagram, not an application screenshot.libtest-lwp-useragent-perl: recorded package coverageDebian 12 (Bookworm)1 recordsDebian 13 (Trixie)1 recordsFedora 432 recordsFedora 442 recordsopenSUSE Leap 15.61 recordsopenSUSE Leap 16.01 recordsopenSUSE Tumbleweed1 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
libtest-lwp-useragent-perl
Publisher
Not authoritatively mapped
Native package records
9
Operating systems
debian-12, debian-13, fedora-43, fedora-44, opensuse-leap-15-6, opensuse-leap-16-0, opensuse-tumbleweed
License expression
Artistic-1.0 OR GPL-1.0-or-later
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

This module is a subclass of LWP::UserAgent which overrides a few key low-level methods 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 networking client code where the server follows a known protocol. The synopsis describes a typical case where you want to test how your application reacts to various responses from the server. This module will let you send back various responses depending on the request, without having to set up a real server to test against. This can be invaluable when you need to test edge cases or error conditions that are not normally returned from the server. There are a lot of different ways you can set up the response mappings, and hook into this module; see the documentation for the individual interface methods. You can use a PSGI app to handle the requests - see _examples/call_psgi.t_ in this distribution, and also register_psgi below. OR, you can route some or all requests through the network as normal, but still gain the hooks provided by this class to test what was sent and received: my $useragent = Test::LWP::UserAgent->new(network_fallback => 1); or: $useragent->map_network_response(qr/real.network.host/); is( $useragent->last_useragent->timeout, 180, 'timeout was overridden properly', ); is( $useragent->last_http_request_sent->uri, 'uri my code should have constructed', ); is( $useragent->last_http_response_received->code, '200', 'I should have gotten an OK response', );

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

Debian 12 (Bookworm)

  1. Package libtest-lwp-useragent-perl

    bookworm (Debian 12 (Bookworm)) (perl): module for simulating and testing network calls

    0.036-1: all

Debian 13 (Trixie)

Fedora 43

  1. Package perl-Test-LWP-UserAgent

    43 (Fedora 43) (Unspecified): LWP::UserAgent suitable for simulating and testing network calls

    0.036-11.fc43: noarch

    Source: perl-Test-LWP-UserAgent

  2. Source: perl-Test-LWP-UserAgent

Fedora 44

  1. Package perl-Test-LWP-UserAgent

    44 (Fedora 44) (Unspecified): LWP::UserAgent suitable for simulating and testing network calls

    0.036-12.fc44: noarch

    Source: perl-Test-LWP-UserAgent

  2. Source: perl-Test-LWP-UserAgent

openSUSE Leap 15.6

  1. Package perl-Test-LWP-UserAgent

    leap-15.6 (openSUSE Leap 15.6) (Unspecified): LWP::UserAgent suitable for simulating and testing network calls

    0.036-bp156.2.1: noarch

    Source: perl-Test-LWP-UserAgent

openSUSE Leap 16.0

  1. Package perl-Test-LWP-UserAgent

    leap-16.0 (openSUSE Leap 16.0) (Unspecified): LWP::UserAgent suitable for simulating and testing network calls

    0.036-bp160.1.4: noarch

    Source: perl-Test-LWP-UserAgent

openSUSE Tumbleweed

  1. Package perl-Test-LWP-UserAgent

    tumbleweed (openSUSE Tumbleweed) (Unspecified): LWP::UserAgent suitable for simulating and testing network calls

    0.36.0-1.5: noarch

    Source: perl-Test-LWP-UserAgent

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.