Re: [Http-webtest-general] Another feature request....
Brought to you by:
m_ilya,
richardanderson
From: Ilya M. <il...@ip...> - 2003-04-01 15:26:19
|
>>>>> "AK" == Amit Kaul <ak...@ho...> writes: AK> Hi Ilya, AK> Since you are so accomodating :-), I was wondering if there was a AK> possibility of dynamically creating URL's to test. AK> i.e. see second test AK> test_name = GET First Page AK> url = http://abc.com/ AK> on_response = { AK> my $webtest = shift; AK> ($URL_PATH) = $webtest->current_response->content =~ /\"URL=(\S+)"\)'; AK> []; AK> } AK> end_test AK> test_name = GET Second URL AK> url = http://abc.com/"$URL_PATH" AK> end_test url = "http://abc.com/$URL_PATH" should work -- Ilya Martynov, il...@ip... CTO IPonWEB (UK) Ltd Quality Perl Programming and Unix Support UK managed @ offshore prices - http://www.iponweb.net Personal website - http://martynov.org |