[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] URLplus
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] URLplus
- From: "Gary Baluha" <gumby3203 (at) gmail.com>
- Date: Wed, 30 Apr 2008 10:12:40 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=LJ5qrzd0PuKi/T2nZkMRPL+gfAPU8bawWH2WaLufFMw=; b=t288jC8hsMJFOvyodfIlhlFNqCFAGe/AgpL3f6CBZsBreDBAB3MhXY1OdgPECDxRcCbTBAeDFY5DlF8JkM7e+hUtwDenJO06ve/eWMRb6loS4hNjAk1UQM4bHrARyrfFbgldzx2qW3vaLiq0i7TPyg5tmkxBHuUl8Go+SUiC1Ko=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=O9AEVI85Ht5g9+wxdLGBtaNugYJzzi+OGn8FobO+6znlHDEcPC/t88ujT59wqYIy4L0xZ2eCtqNfHjnkzE+LfM0AKeAZqvfHigcTPjVW75N6HZ9aonY/pTn+69Mnvs8tx0RyHkjQdbHKLc/6ElbKD2n0323/4zU6P8C3R9Zc8Tc=
- References: <997a524e0804291304h4b80f284jecda136de2840b9d (at) mail.gmail.com> <OF7E493A4A.5553E7AB-ONC125743B.002D6F02-C125743B.002D8038 (at) machcorp.lan>
I have an updated version of URLPLus which supports single-form submissions.
I haven't gotten around to being able to submit directly to The Shire, so
I'm attaching it here.
I've also updated this to do multi-page checking (i.e. full "end-to-end"
transaction monitoring), but consider that feature mostly experimental at
this time.
On Wed, Apr 30, 2008 at 4:16 AM, Thomas Laurids Pedersen <tlp (at) mach.com>
wrote:
> Would you share the bourne script. I need something quickly for only 1
> site at the moment, so anything will do.
>
> Regards, Thomas
>
> [image: Inactive hide details for "Ralph Mitchell"
> <ralphmitchell (at) gmail.com>]"Ralph Mitchell" <ralphmitchell (at) gmail.com>
>
>
>
> *"Ralph Mitchell" <ralphmitchell (at) gmail.com>*
>
> 29-04-2008 22:04
> Please respond to
> hobbit (at) hswn.dk
>
>
> To
>
> hobbit (at) hswn.dk
> cc
>
>
> Subject
>
> Re: [hobbit] URLplus
>
> On Tue, Apr 29, 2008 at 2:28 PM, Thomas Laurids Pedersen <*tlp (at) mach.com*<tlp (at) mach.com>>
> wrote:
>
> Can this new extension do the post like the builtin http test can do
> ?
>
> Regards, Thomas
>
>
> I don't think so, as it currently stands. This line:
>
> $ret=qx(curl -m $tout -s -k -S $pstr "$url" 2>&1);
>
> in showUrl is the bit that actually fetches the web page. To do a POST
> using curl, you would need to change that to:
>
> $ret=qx(curl -m $tout -s -k -S -d $postArgs $pstr "$url" 2>&1);
>
> with matching additions elsewhere to fill the $postArgs variable with
> whatever you want to post. If you're wanting to implement something that
> performs a login, you'd probably want to track cookies as well.
>
> I'm not much of a perl programmer, so I'm not confident about making such
> changes. On the other hand, I've done quite a lot of this in Bourne shell...
>
> Ralph Mitchell
>