Package funkload :: Module Recorder :: Class RecorderProgram
[show private | hide private]
[frames | no frames]

Class RecorderProgram


A tcpwatch to funkload recorder.
Method Summary
  __init__(self, argv)
  convertToFunkLoad(self, request)
return a funkload python instruction.
  extractRequests(self, files)
Filter and extract request from tcpwatch files.
  extractScript(self)
Convert a tcpwatch capture into a FunkLoad script.
  parseArgs(self, argv)
Parse programs args.
  reindent(self, code, indent)
Improve indentation.
  run(self)
run it.
  searchFiles(self)
Search tcpwatch file.
  startProxy(self)
Start a tcpwatch session.
  writeConfiguration(self)
Write the FunkLoad configuration test script.
  writeScript(self, script)
Write the FunkLoad test script.

Class Variable Summary
str USAGE = '%prog [options] [test_name]\n\n%prog launch a T...

Method Details

convertToFunkLoad(self, request)

return a funkload python instruction.

extractRequests(self, files)

Filter and extract request from tcpwatch files.

extractScript(self)

Convert a tcpwatch capture into a FunkLoad script.

parseArgs(self, argv)

Parse programs args.

reindent(self, code, indent=8)

Improve indentation.

run(self)

run it.

searchFiles(self)

Search tcpwatch file.

startProxy(self)

Start a tcpwatch session.

writeConfiguration(self)

Write the FunkLoad configuration test script.

writeScript(self, script)

Write the FunkLoad test script.

Class Variable Details

USAGE

Type:
str
Value:
'''%prog [options] [test_name]

%prog launch a TCPWatch proxy and record activities, then output
a FunkLoad script or generates a FunkLoad unit test if test_name is sp\
ecified.

The default proxy port is 8090.

...                                                                    

Generated by Epydoc 2.1 on Tue Feb 27 10:41:42 2007 http://epydoc.sf.net