Posted By: Doug Chasman
Date: 2006-03-07 06:59
Summary: ASF 0.4.2 adds session recording/replay support
Project: ActiveSalesforce

Ruby on Rails + ActiveSalesforce (ASF) is a very cool prototyping environment! Especially now that I am almost done with the ASF scaffolding generator that kicks out nice looking pages...

Something that could be very useful for prototyping is the generalized session recording support I added initially for unit testing performance (makes it so our utest run in 1 sec instead of 1.5 minutes) but have recently expanded to allow me to work disconnected (e.g. on the flight to ETech on Monday!).

Basically you can add something like:

recording: true
recording_source: test.recording

to your app's database.yml and run through your demo scenario and all of the sfdc api request/response pairs will be recorded to the file test.recording. When you have exercised the parts of your app you need for the demo scenario (dev/testing scenarios in my case) you shut down your server, comment out:

#recording: true

and restart your server. Now all of your responses will actually come from the recorded session file!!!

Latest News
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28
Runt v0.9.0 Released
    Matthew Lipper - 2013-05-17 00:11
kramdown 1.0.2 released
    Thomas Leitner - 2013-05-09 06:58
mime-types 1.23 Released
    Austin Ziegler - 2013-04-21 01:41
diff-lcs 1.2.4 Released
    Austin Ziegler - 2013-04-21 00:08

 

Forums | Admin

Discussion Forums: asf-0.4.2-adds-session-recording-replay-support

Start New Thread Start New Thread

 

Topic Topic Starter Replies Last Post