From within a TCLI Agent session:
tget url=http://example.com/bad_request resp=404
This module provides a package of commands for the TCLI environment. Currently one must use the TCLI environment (or browse the source) to see documentation for the commands it supports within the TCLI Agent.
Makes standard http requests, either testing that a response code was given or receive the response code back.
This module must be loaded into a Agent::TCLI::Control by an Agent::TCLI::Transport in order for a user to interface with it.
The following attributes are accessible through standard <attribute> methods unless otherwise noted.
These attrbiutes are generally internal and are probably only useful to someone trying to enhance the functionality of this Package module.
A POE connection manager session. cm will only accept POE::Component::Client::Keepalive type values.
The POE http client. poco_http will only accept POE::Component::Client::HTTP type values.
An array of user_agents to use. user_agents will only accept ARRAY type values.
An place to keep cookies
A running count of internal request IDs to use id_count will only accept NUMERIC type values.
Most of these methods are for internal use within the TCLI system and may be of interest only to developers trying to enhance TCLI.
Usually the only attributes that are useful on creation are the verbose and do_verbose attrbiutes that are inherited from Agent::TCLI::Base.
This POE event handler executes the show commands.
This module is an Object::InsideOut object that inherits from Agent::TCLI::Package::Base. It inherits methods from both. Please refer to their documentation for more details.
Eric Hacker <hacker at cpan.org>
SHOULDS and MUSTS are currently not enforced.
Test scripts not thorough enough.
Probably many others.
Copyright (c) 2007, Alcatel Lucent, All rights resevred.
This package is free software; you may redistribute it and/or modify it under the same terms as Perl itself.