[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grinder-use
Subject:    Re: [Grinder-use] synthetic transactions
From:       Stephen Hillier <shillier () halogensoftware ! com>
Date:       2008-11-20 16:42:40
Message-ID: 621A6D1F8B3BB44E88963768CF3B4001021B7D69A5 () CAOTWPMXHUB1 ! halogen ! local
[Download RAW message or body]

thanks -- I was hoping it was something straightforward like that ;)

steve.

-----Original Message-----
From: Philip Aston [mailto:philip.aston@oracle.com]
Sent: Thursday, November 20, 2008 8:02 AM
To: grinder-use
Subject: Re: [Grinder-use] synthetic transactions

Stephen Hillier wrote:
>
> I'd like to introduce a new layer of abstraction in the test
> instrumentation – grouping a subset of multiple pages (ie: a series of
> user clicks) into a single ‘synthetic transaction' and instrument it
> the way we do regular page and page element requests. Is this doable?
> Anyone have an example I could look at?
>
>
>
> Steve.
>
>
>

Sure - just follow the same pattern used for pages - create a method and
instrument it. Something along the lines of....

    def mySyntheticTransaction(self):
       self.page1()
       self.page2()

    # ...

    def __call__(self):

       # self.page1()
       # self.page2()
       self.mySyntheticTransaction()
#...

instrumentMethod(TestRunner.mySyntheticTransaction)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic