From my PT's I'm generating various XML bits and pieces for proprietary rendition engine.
After all is said and and done I want an Engine to rebuild affected components. To do that,
I have to call Category/Type related asp with certain parameters.
So, from my template I do something like the following (URL is really built dynamically)
# Get HTML Content
my $request = HTTP::Request->new(
'GET',
'
http://server/iw/cci/meta/no-injection/iw-mount/default/main/.../WORKAREA/wa/.../abc.asp?country=CA&lang=fr');
$ua = LWP::UserAgent->new();
my $response = $ua->request($request);
# Validate / process $response->content
Issue is that since it's executed by some TST process on a server side all I get back is login HTML, no surprise here.
Now, from %ENV I have (local) session ID, http cookie and all that.
How can I force TST to go thru login with local authentication or some centarl (server side) authentication ?
Is it even possible ? I understand that I can perhaps do it using OpenAPI, it looks like overkill though
Suggestions, anyone ?
Thanks in advance
WIN2K TS/TST 5.5.2 sp5; OD 5.6.0.1; DD 5.5.2