Same virtual machine mode for distributed test execution
First Claim
Patent Images
1. A method for performing testing in a Java based environment, comprising the operations of:
- launching a test harness in a first Java virtual machine (JVM), starting a virtual machine (VM) agent in a second JVM, the VM agent being in communication with the test harness;
executing a test application utilizing the VM agent, wherein the test application and the VM agent both execute in the second JVM; and
restarting the VM agent using the test harness if the second JVM fails, and further comprising the operation of passing test data from the test harness to the VM agent, the test data including a subroutine name for a subroutine that executes the test application.
2 Assignments
0 Petitions
Accused Products
Abstract
An invention is provided for testing in a Java based environment. The method includes launching a test harness in a first JVM, and starting a virtual machine (VM) agent in a second JVM. The VM agent is placed in communication with the test harness. The VM agent then executes a test application such that both the test application and the VM agent execute in the second JVM. In this manner, the VM agent is restarted using the test harness if the second JVM fails.
-
Citations
18 Claims
-
1. A method for performing testing in a Java based environment, comprising the operations of:
-
launching a test harness in a first Java virtual machine (JVM), starting a virtual machine (VM) agent in a second JVM, the VM agent being in communication with the test harness;
executing a test application utilizing the VM agent, wherein the test application and the VM agent both execute in the second JVM; and
restarting the VM agent using the test harness if the second JVM fails, and further comprising the operation of passing test data from the test harness to the VM agent, the test data including a subroutine name for a subroutine that executes the test application. - View Dependent Claims (2)
-
-
3. A method for performing testing in a Java based environment, comprising the operations of:
-
launching a test harness in a first Java virtual machine (JVM);
starting a virtual machine (VM) agent in a second JVM, the VM agent being in communication with the test harness;
executing a test application utilizing the VM agent, wherein the test application and the VM agent both execute in the second JVM; and
restarting the VM agent using the test harness if the second JVM fails, and further comprising the operation of monitoring the VM agent to detect failure of the VM agent. - View Dependent Claims (4)
-
-
5. A method for performing testing in a Java based environment, comprising the operations of:
-
launching a test harness in a first Java virtual machine (JVM);
starting a virtual machine (VM) agent in a second JVM, the VM agent being in communication with the test harness;
executing a test application utilizing the VM agent, wherein the test application and the VM agent both execute in the second JVM; and
restarting the VM agent using the test harness if the second JVM fails, and wherein a plurality of VM agents are executed, each VM agent being executed in a separate JVM. - View Dependent Claims (6, 7)
-
-
8. A system for performing testing in a Java based environment, comprising:
-
a test harness executed in a first Java virtual machine (JVM); and
a virtual machine (VM) agent executed in a second JVM, the VM agent being in communication with the test harness, wherein the VM agent is capable of launching test applications in the second JVM based on test data received from the test harness, and wherein the test harness is capable of restarting the VM agent using if the second JVM fails, and wherein the test data includes a subroutine name for a subroutine that executes the test application. - View Dependent Claims (9, 10, 11)
-
-
12. A system for performing testing in a Java based environment, comprising:
-
a test harness executed in a first Java virtual machine (JVM); and
a virtual machine (VM) agent executed in a second JVM, the VM agent being in communication with the test harness, wherein the VM agent is capable of launching test applications in the second JVM based on test data received from the test harness, and wherein the test harness is capable of restarting the VM agent using if the second JVM fails, and further comprising a plurality of VM agents, each VM agent being executed in a separate JVM. - View Dependent Claims (13)
-
-
14. A system for performing testing in a distributed Java based environment, comprising:
-
a test harness executed in a first Java virtual machine (JVM) located on a first computer system;
a harness client executed in a second JVM located on a second computer system, the harness client being in communication with test harness; and
a virtual machine (VM) agent executed in a third JVM on the second computer system, the VM agent being in communication with the harness client, wherein the harness client facilitates communication between the test harness and the VM agent, and wherein the VM agent is capable of launching test applications in the third JVM based on test data received from the test harness via the harness client, and wherein the test harness is capable of restarting the VM agent using if the third JVM fails. - View Dependent Claims (15, 16, 17, 18)
-
Specification