Quality assurance for a context driven hybrid transaction processing system
AssigneeInternational Business Machines Corporation
InventorsSakthimurugan Arumugam, Harshavardhana M. P, Jithesh Moothoor, Hariharan Venkitachalam
Life of this patent
Estimating the term…
Abstract
A two-phase commit online transaction processing system injects a set of test cases into a logical unit of work (LUW) associated with a transaction. Performance of the test cases, by respective transaction process monitors (TPMs), serves to predict the outcome of the LUW processes, before the TPMs vote with respect to committing or rolling back the transaction. The system contributes to improved transaction process quality assurance by detecting potential problems before the LUW is committed.
Claims14
A computer-implemented method comprising:
- receiving, from a client application, a first request to perform an online transaction, wherein the first request comprises a logical unit of work, and a transaction identifier;
- in response to receiving the first request, sending a second request, to a test center, for a test case based on the transaction identifier;
- receiving, from the test center, the test case;
- in response to receiving the test case, injecting the test case into the logical unit of work to generate an injected logical unit of work;
- sending the injected logical unit of work to a transaction participant;
- receiving, from the transaction participant, a first message, wherein the first message indicates a successful test;
- in response to receiving the first message, sending to the transaction participant, a second message comprising a first command to perform the online transaction;
- receiving, from the transaction participant, a third message wherein the third message indicates that the online transaction was performed successfully;
- and
- in response to receiving the third message, sending to the transaction participant, a fourth message comprising a second command to commit the online transaction.
A computer program product comprising a computer readable storage medium having stored thereon program instructions programmed to perform:
- receiving, from a client application, a first request to perform an online transaction, wherein the first request comprises a logical unit of work, and a transaction identifier;
- in response to receiving the first request, sending a second request, to a test center, for a test case based on the transaction identifier;
- receiving, from the test center, the test case;
- in response to receiving the test case, injecting the test case into the logical unit of work to generate an injected logical unit of work;
- sending the injected logical unit of work to a transaction participant;
- receiving, from the transaction participant, a first message, wherein the first message indicates a successful test;
- in response to receiving the first message, sending to the transaction participant, a second message comprising a first command to perform the online transaction;
- receiving, from the transaction participant, a third message wherein the third message indicates that the online transaction was performed successfully;
- and
- in response to receiving the third message, sending to the transaction participant, a fourth message comprising a second command to commit the online transaction.
A computer system comprising:
- a processor set;
- and
- a computer readable storage medium;
- wherein:
- the processor set is structured, located, connected and/or programmed to run program instructions stored on the computer readable storage medium;
- and
- the program instructions include instructions programmed to perform:
- receiving, from a client application, a first request to perform an online transaction, wherein the first request comprises a logical unit of work, and a transaction identifier;
- in response to receiving the first request, sending a second request, to a test center, for a test case based on the transaction identifier;
- receiving, from the test center, the test case;
- in response to receiving the test case, injecting the test case into the logical unit of work to generate an injected logical unit of work;
- sending the injected logical unit of work to a transaction participant;
- receiving, from the transaction participant, a first message, wherein the first message indicates a successful test;
- in response to receiving the first message, sending to the transaction participant, a second message comprising a first command to perform the online transaction;
- receiving, from the transaction participant, a third message wherein the third message indicated that the online transaction was performed successfully;
- and
- in response to receiving the third message, sending to the transaction participant, a fourth message comprising a second command to commit the online transaction.
Dependencies are inferred from the claim text.