IP Library Granted Patent US 9,231,896
Granted Patent B2
US 9,231,896 · App. 14/798,172 · Granted Jan 5, 2016

Computer system and computer-implemented method for service and application load testing

Inventors: Mahalingam Kamalahasan (Springfield, MA); Christopher Padmore (Simsbury, CT)
Assignee: HARTFORD FIRE INSURANCE COMPANY
H04L51/08G06F11/3414G06F11/3433H04L67/02H04L67/06
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,231,896
App. No.
14/798,172
Granted
Jan 5, 2016
Kind
B2
Abstract

A computer system for use in load testing a service-oriented architecture (SOA) service has a processor and a memory storage device in communication with the processor. The processor is adapted to receive an XML message, an address for a service to be tested, an action compliant with a protocol for exchanging structured information in a decentralized, distributed environment and associated with the service; create and store in memory a template message package compliant with the protocol; create a populated message package compliant with the protocol by incorporating in the template message package the XML message, the address and the action; establish a connection to the service and furnish one or more documents and attachments to the service; and receive a response from the service.

Claims (52)

1. A computer system for use in load testing, comprising:

a processor; and

a memory storage device in communication with the processor, the memory storage device storing processor-executable instructions which, when executed by the processor, cause the processor to:

generate for display on a display device data indicative of a user interface, the user interface including fields for input of an Extensible Markup Language (XML) message, a file for attachment to the XML message, an address of a service to be tested and an action compliant with a protocol;

receive via the user interface an XML message, a path of a file, an address of a service to be tested, and an action compliant with a protocol;

generate a message package, compliant with the protocol, incorporating the XML message, the file, the address and the action; and

provide the message package to the service and receive a response, for monitoring by the processor executing a virtual user generator program, the processor being configured to execute the virtual user generator program to generate a script for load testing based on the monitoring;

wherein the receipt of the XML message, the path of the file, the address of the service to be tested, and the action, via the user interface, is sufficient for the generation of the message package.

2. The computer system of claim 1 , wherein the instructions further cause the processor to create and store in memory a template message package compliant with the protocol, and the creating the message package is performed by populating the template message package.

3. The system of claim 1 , wherein the protocol is Simple Object Access Protocol (SOAP).

4. The computer system of claim 3 , wherein the instructions cause the processor to, in creating the message package, separately (a) generate a message body, incorporating data from the XML message, and (b) generate an envelope element comprising the attachment.

5. The computer system of claim 1 , wherein the instructions cause the processor, to, in generating the message package:

generate an object compliant with the protocol;

add a header and a message body, compliant with the protocol, to the generated object;

wrap the object with an envelope; and

add one or more attachments to the envelope.

6. A computer-implemented method for use in connection with load testing of computer systems, comprising:

generating, by a processor of a computer system, for display on a display device, data indicative of a user interface, the user interface including fields for input of an Extensible Markup Language (XML) message, a file for attachment to the XML message, an action compliant with a protocol, and an address of a service to be tested;

receiving, by the processor, via the user interface, an XML message, a path of a file, an action, and an address of a service to be tested; and

generating, by the processor, a message package, compliant with the protocol, incorporating the XML message, the file, the address and the action; and

providing, by the processor, the message package to the service and receiving a response, for monitoring by the processor executing a virtual user generator program, the processor being configured to execute the virtual user generator program to generate a script for load testing based on the monitoring;

wherein the receipt of the XML message, the path of the file and the address of the service to be tested via the user interface is sufficient for the generation of the message package.

7. The computer-implemented method of claim 6 , further comprising generating a template message package compliant with the protocol, and the generating the message package is performed by populating the template message package.

8. The computer-implemented method of claim 6 , wherein the protocol is Simple Object Access Protocol (SOAP).

9. The computer-implemented method of claim 8 , wherein the generating the message package comprises generating a message body, incorporating data from the XML message, and separately generating an envelope element comprising the attachment.

10. The computer-implemented method of claim 6 , wherein the generating the message package comprises:

generating an object compliant with the protocol;

adding a header and a message body, compliant with the protocol, to the generated object;

wrapping the object with an envelope; and

adding one or more attachments to the envelope.

11. A computer system for use in load testing computer software applications employing an asynchronous communications protocol on a computer system for testing, comprising:

a processor; and

a memory storage device in communication with the processor, the memory storage device storing processor-executable instructions which, when executed by the processor, cause the processor to:

generate data indicative of a user interface, the user interface configured for input of: a connection name for the computer system for testing and message queue identification information,

receive via the user interface the connection name for the computer system for testing and the message queue identification information;

generate, based on the received connection name and message queue identification information, executable message queue code, for providing messages to a message queue and receiving replies from the message queue, the executable message queue code having undefined variables, wherein the receipt of the connection name and the message queue identification information, is sufficient for the processor to generate the executable message queue code;

assign definitions to the undefined variables based on the received inputs; and

based on the definitions and the executable message queue code, generate load test executable code, configured to load test and permit monitoring of the testing by the processor executing virtual user generator code.

12. The system of claim 11 , wherein the asynchronous communications protocol is a Message Queue (MQ) protocol.

13. The system of claim 11 , wherein the message queue identification information comprises: the message queue manager name corresponding to the message queue for the computer system for testing, a message queue channel name for the message queue, a request queue name and a response queue name.

14. The system of claim 11 , wherein the load test executable code is in JAVA format and the instructions further cause the processor to cause the user interface to display the load test executable code.

15. The system of claim 14 , wherein the instructions further cause the processor import message queue packages.

16. A computer-implemented method, in a computer having a processor and a memory coupled to the processor, for use in load testing computer software applications employing an asynchronous communications protocol on a computer system for testing, comprising:

generating by the processor data indicative of a user interface, the user interface configured for input of: a connection name for the computer system for testing and message queue identification information,

receiving by the processor via the user interface the connection name for the computer system for testing and the message queue identification information;

generating, by the processor, based on the received connection name and message queue identification information, executable message queue code, for providing messages to a message queue and receiving replies from the message queue, the executable message queue code having undefined variables, wherein the receipt of the connection name and the message queue identification information, is sufficient for the processor to generate the executable message queue code;

assigning by the processor definitions to the undefined variables based on the received inputs; and

based on the definitions and the executable message queue code, generating by the processor load test executable code, configured to load test and permit monitoring of the testing by the processor executing virtual user generator code.

17. The computer-implemented method of claim 16 , wherein the asynchronous communications protocol is a Message Queue (MQ) protocol.

18. The computer-implemented method of claim 16 , wherein the message queue identification information comprises: the message queue manager name corresponding to a message queue for the computer system for testing, a message queue channel name for the message queue, a request queue name and a response queue name.

19. The computer-implemented method of claim 16 , wherein the load test executable code is in JAVA format and further comprising causing the user interface to display the load test executable code.

20. The computer-implemented method of claim 16 , wherein the user interface is further configured for input of an identification of a type of code to be generated.

Continuity (2)
Continuation 12338784 · Dec 18, 2008
Related Publication 20150319117A1 · Nov 5, 2015