DCSIMG

 Subscribe in a reader

Screen cast: Transactions in unit tests & web tests - Guy kolbis
Wednesday, August 08, 2007 5:44 PM kolbis

Screen cast: Transactions in unit tests & web tests

In the following cast, I will be talking about the transactions for both unit tests and web tests. Transactions specifies one or more steps that are grouped together, in the web test context those steps are a bunch of URLs, where in unit test it is a bunch of code that is marked as a group.

So, why do we need it?

I will try and explain it using an example. Lets say that you have a really complicated scenario that must be executed within a unit test. The scenario requires a long initialization and couple of calls to the CRM service and to the Billing service. Because the initialization and the calls are located in the same unit test method, by default the statistics such as response time will be collected for the entire test method, however we would like to get statistics only for the calls (without the initialization) and we also would like the response time for each call and not just the total.

In this cast, I will explain the way to achieve that.

 

You can download it from here.

תגים:, , , , ,

תוכן התגובה

# Screen cast: Transactions in unit tests & web tests

SRLTeam כתב/ה

I posted a new screen cast that explain the usage of transactions in the scope of load testing. Transactions

Wednesday, August 08, 2007 6:04 PM

# re: Screen cast: Transactions in unit tests & web tests

ke tang כתב/ה

this post is what i want ,thanks a lot .

Monday, December 08, 2008 10:05 PM

# re: Screen cast: Transactions in unit tests & web tests

kolbis כתב/ה

Happy to help!

Tuesday, December 09, 2008 1:33 AM

# re: Screen cast: Transactions in unit tests & web tests

nick_cotrsi כתב/ה

www.message_getchicnael.com

Monday, May 18, 2009 9:58 AM

# re: Screen cast: Transactions in unit tests & web tests

Ganny כתב/ה

Hi,

I could not get to play the screen cast video. I'm looking to know if a simple unit test without any web transactions can be made into a load test and the performance counters can be collected for it.

I appreciate your help !

Cheers,

Ganny

Thursday, July 30, 2009 10:57 AM

שלח תגובה

(שדה חובה) 
(שדה חובה) 
(אופציונלי)
(שדה חובה) 

Enter the numbers above: