Packages / openSUSE Leap 15.6 / perl-Test-LWP-UserAgent

Package: perl-Test-LWP-UserAgent (0.036-bp156.2.1)

LWP::UserAgent suitable for simulating and testing network calls

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', );

Package information

Homepage
[https://metacpan.org/release/Test-LWP-UserAgent]
License
Artistic-1.0 OR GPL-1.0-or-later
Maintainer del pacchetto downstream
Sconosciuto: non segnalato nella fonte indicizzata
Pacchetto sorgente
[perl-Test-LWP-UserAgent]
Software project
[libtest-lwp-useragent-perl]

Versions and downloads for perl-Test-LWP-UserAgent

Version / releaseArchitecture / repositoryPackage sizeInstalled sizeFilesPublisher repository artifact
0.036-bp156.2.1leap-15.6 / ossnoarchopenSUSE Leap 15.6 · OSS · multi-architecture42 KiB70 KiBlist of filesperl-Test-LWP-UserAgent-0.036-bp156.2.1.noarch.rpm
About these downloads

Ogni riga è metadato dell'indice pacchetti per una versione, architettura, suite e repository. Nomi, URL e dimensioni arrivano dalla fonte; un link è un punto di recupero mutabile, non una redistribuzione OpenFactory.

Dependencies and recommendations for perl-Test-LWP-UserAgent

View 12 package relationships
  • dep: perl(:MODULE_COMPAT_5.26.1)

    Package not available

  • dep: perl(HTTP::Date)

    Package not available

  • dep: perl(HTTP::Request)

    Package not available

  • dep: perl(HTTP::Response)

    Package not available

  • dep: perl(HTTP::Status)

    Package not available

  • dep: perl(IO::Socket::IP) (>= 0.31)

    Package not available

  • dep: perl(LWP::UserAgent)

    Package not available

  • dep: perl(Safe::Isa)

    Package not available

  • dep: perl(Try::Tiny)

    Package not available

  • dep: perl(URI) (>= 1.62)

    Package not available

  • dep: perl(namespace::clean) (>= 0.19)

    Package not available

  • dep: perl(parent)

    Package not available

Percorsi file del pacchetto (22)

Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.

  • /usr/lib/perl5/vendor_perl/5.26.1/Test
  • /usr/lib/perl5/vendor_perl/5.26.1/Test/LWP
  • /usr/lib/perl5/vendor_perl/5.26.1/Test/LWP/UserAgent.pm
  • /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent/Changes
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent/CONTRIBUTING
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent/docs
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent/docs/advent_2012.pod
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent/examples
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent/examples/advent_2012_1.pl
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent/examples/advent_2012_2.pl
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent/examples/advent_2012_3.pl
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent/examples/application_client_test.t
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent/examples/call_psgi.t
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent/examples/MyApp
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent/examples/MyApp/Client.pm
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent/examples/myapp.psgi
  • /usr/share/doc/packages/perl-Test-LWP-UserAgent/README
  • /usr/share/licenses/perl-Test-LWP-UserAgent
  • /usr/share/licenses/perl-Test-LWP-UserAgent/LICENCE
  • /usr/share/man/man3/Test::LWP::UserAgent.3pm.gz

Field source: openSUSE Leap 15.6 OSS

Vulnerabilità note

Nessun avviso corrispondente nelle fonti monitorate.

Ultima sincronizzazione:

[Catalogo CVE]

Checksum

Repository signatures authenticate metadata. Artifact hashing is recorded separately. Neither establishes package safety.

0.036-bp156.2.1 / noarchOsservato Sep 1, 2026sha512 4b35a591e59a…1431ad6cImpronta della fonte

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Impronta della fonte (sha512): 4b35a591e59a88207512e7f0b85706ac963f306e89a4bbd442d11bce0975cee97393a91a8b922a565be0a92c7e81802b50080f83faf3ac3aba2cb6271431ad6c

Field source: openSUSE Leap 15.6 OSS

Fonti

  • Authoritative source; repository metadata signature verified

    Prova della firma

    leap-15-6-oss-multiarch:ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230

    Repository-signature verification record
    Signed-object SHA-256
    ca2653101b9afba6656aea529109ba0c0f1ca1a92aa8614e7c887fda5264c230
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable

Usa questo pacchetto

OpenFactory può avviare questo sistema operativo in una macchina virtuale del browser, o iniziare una costruzione che include il nome nativo del pacchetto di questo record.