Home > Test-HTTP-Reflector

Test-HTTP-Reflector

Test-HTTP-Reflector is a project mainly written in Perl, it's free.

Perl module for testing REST style integrations

Test-HTTP-Reflector

You are doing another integration project, but the other end isn't available. How can you test the integration with their API?

How do you test your code from bottom to top to make sure its integration works as desired?

Simulator pattern to the rescue. Usually, you write a small program that stands in for the unavailable integration partner and responds exactly how that partner is expected to respond.

This module helps you create that program - and provides one called httpreflector.

INSTALLATION

To install this module, run the following commands:

perl Makefile.PL
make
make test
make install

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the perldoc command.

perldoc Test::HTTP::Reflector

For the httpreflect program, simply do

httpreflect --help

You can also look for information at:

RT, CPAN's request tracker
    http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-HTTP-Reflector

AnnoCPAN, Annotated CPAN documentation
    http://annocpan.org/dist/Test-HTTP-Reflector/

CPAN Ratings
    http://cpanratings.perl.org/d/Test-HTTP-Reflector

Search CPAN
    http://search.cpan.org/dist/Test-HTTP-Reflector/

LICENSE AND COPYRIGHT

Copyright (C) 2011 David Ihnen

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.