Wednesday, November 7th, 2007

TIBCO GI Performance Profiler

Category: Testing, TIBCO

TIBCO has released a new open source Ajax Performance Profiler that aims to answer the questions:

  • How long did it take that service to respond?
  • How long did it take for that component to render?
  • How long did it take that data to parse?
  • How long did it take for that function to execute?

Check out the Craigslist example which uses three Ajax libraries: TIBCO General Interface, dojo for offline capabilities, and Google Maps.

When you setup tests, you do so with a simple DSL:

[json]
{name:”Select Posting”, fct: function(objServer) {
gicx.getResultsTable().selectRecord(gicx.getResultsTable().getSortedIds()[0]);
return gi.test.gipp.SLEEP_LONG;
}},

{name:”Open Posting 1″, fct: function(objServer) {
gicx.openPosting(gicx.getResultsTable().getSortedIds()[0]);
return gi.test.gipp.SLEEP;
}},

{name:”Open Posting 2″, fct: function(objServer) {
gicx.openPosting(gicx.getResultsTable().getSortedIds()[1]);
return gi.test.gipp.SLEEP;
}},

{name:”Search craigslist 2″, fct: function(objServer) {
gicx.APP.getJSXByName(“query”).setValue(“mattress”);
gicx.search();
gi.test.gipp.POLL.poll = function(objServer) {
return gicx.getResultsTable().getSortedIds().length;
};
return gi.test.gipp.POLL;
}},

{name:”Open Posting 3″, fct: function(objServer) {
gicx.openPosting(gicx.getResultsTable().getSortedIds()[0]);
return gi.test.gipp.SLEEP_LONG;
}},
[/json]

TIBGO GI Perf

Posted by Dion Almaer at 5:03 am
Comment here

+++--
3.6 rating from 26 votes

Comments Here »

Comments feed TrackBack URI

Leave a comment

You must be logged in to post a comment.