Hi,
 today, on irc, there was some discuss about "webtest by canoo" and
its possible use as
a replacement of the actual PSM
 (http://carboy.networkgeek.org:8080/_sndbot/javabot/home/3/%23opennms/2/15/1/02/0/2011/).

Tht's funny :  I'm actually playing with the idea of replacing the
actual PSM with another webtest
software : jwebunit. I feel this replacement is necessary as I monitor
some complex
interdependent services  (identity federation : shibboleth + wayf +
SSO CAS). and debugging
of the PSM is often just too harsh while jwebunits are *much* simpler to write.

IMHO,  pros and cons of PSM replacement/extensions are the followings :

Pros:
+) High level expression of  web browsing
     - Use of a "natural expression " for web browsing :
           You can simulate a click with a high level
'clickLink("login");/<clicklLink>' expression
            instead of the more cumbersome PSM expression
     - Integration of cookie browsing in place of regexp collection
into parameter (PSM).

+) Nearly-Identical formalism in  development and deployment phases
     - You can use  nearly the same code before deployment ( unit tests) and
        after that (Fault monitoring).
    - No need for the PSM sequence groovy script for debugging

 +) for jwebunit : ability to process complex javascript-ed pages. I
don't know for webtest

 +) jwebunit/webtest can be used with the BSFMonitor

Cons:
  PSM is able to measure duration between each page invocation
(duration datasource),
   jwebunit/webtest are not.

So, for jwebunit integration as a poller : my plan is to add to it the
possibility of duration recording
between  pages invocations just as the PSM does.

But before I begin such a dev. I'd like  your thoughts about the
webtest/jwebunit choice ; which
 seems to be the better candidate ?



J.-M.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to