vote up 2 vote down star

Is there a tool I can use in Windows to record and then programmatically (i.e. under a script or batch file) replay a specific interchange between a browser (either Firefox or IE) and a website?

Here’s my application: I want to set up a non-SuperUser’s computer to turn port forwarding on and off. There are a variety of applications (e.g. certain games or VNC) that require this user to have port forwarding set up, but due to the security concerns, I don’t want to leave it on all the time (nor is there a predetermined schedule). It occurred to me that I should be able to record the specific interactions I have with the webGUI interface to this person’s router to turn port forwarding on and off, and then set up a shortcut to an application that runs the script of those steps. Basically, this would equivalent to a macro recorder, but for http.

I’m doing this on a Windows 7 machine that uses Firefox as the primary browser, but would be interested in solutions under XP or Vista. The particular router in question is a Netgear (I can edit this to supply specific model), though if the technique I’m suggesting is feasible, the specifics of the router and its webGUI shouldn’t matter.

I tried locating such an application through Google and I did find one possibility, but thought I might locate more/better options here.

flag

0% accept rate
why you don't use TELNET ? it let you manage the router via some sheduled scripts... – Revolter Dec 13 at 14:46

2 Answers

vote up 1 vote down

Recording HTTP requests is not how that kind of thing is usually done; instead, there are tools that record and play back your interaction with the actual HTML pages. The currently most popular one seems to be Selenium.

link|flag
vote up 0 vote down

You might be able to use a web testing tool like Solex. Most tools like this set themselves up as a local proxy and you configure your browser to use the proxy. This allows the tool to record the request and then execute it, returning the result to the browser.

There are also tools like Fiddler2 or FireFox's Tamper Data plugin to capture requests, but I don't think they can do more than re-execute individual requests.

If those are too heavy for your need, maybe the DejaClick plugin for FireFox could record your interaction and replay it at will.

link|flag

Your Answer

Get an OpenID
or
never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.