1. A method for testing a transactional software application interacting with a database structure, the software application including a plurality of application units adapted to be executed at least in part concurrently, the method comprising: executing the software application, wherein executing the software application comprises executing a plurality of transaction operations on the database structure by a plurality of respective invocations of a database management system of the database structure by the respective plurality of application units; determining locks being applied by the database management system on elements of the database structure for each transaction operation executed by each application unit individually; and identifying potential lock conditions of the software application in possible successions of application of the locks according to possible interleaving of the application units.