The present application claims priority from Japanese application JP 2012-166503 filed on Jul. 27, 2012, the content of which is hereby incorporated by reference into this application.
The present invention relates to a technology for comparing process contents in two or more information systems. More particularly, the present invention relates to a test transition assistance method and system capable of supporting an old and new verification test, a load test, and the like, for the transition of information systems from a current system to a new system, and thus assisting the transition.
The information communication technology including the packet capture technology has been developed in a variety of ways along with the information system which is the core of the information processing technology. Nowadays, the information communication technology and the information processing technology are inseparable.
Further, Japanese Unexamined Patent Publication No. Hei 8-249279 (1996-249279) describes an “online system” as a technology for comparing the outputs (or process contents) of two or more information systems for test transition assistance or other supports in transition from a current system to a new system. This online system aims to reduce the number of man hours for testing, correctly compare the test results in the transition between current and target host computers, and perform a test of the target host computer in a 24-hour online system.
The existing technology for comparing the outputs of information systems such as the test transition assistance technology is based on the online comparison or test in real time, which does not support an old and new verification test in non-real time by using the storage memory or a load test with the load other than the current load. Further, in Japanese Unexamined Patent Publication No. Hei 8-249279, it is described a method for distributing the data of a terminal to the current host computer and to the target host computer, respectively. However, detailed steps are outside of the scope of this technology.
An object of the present invention is to perform a non-real-time process to effectively compare the results of two or more information systems. For example, it is desirable to provide a method and system, based on the non-real-time test, capable of supporting an old and new verification test, a load test, and the like, for the transition from a current system to a new system in order to reduce the number of days and man-hours and improve the quality, and thus assisting the transition.
To achieve this object, according to the present invention, the outputs of two or more information systems are compared by capturing request and response packets in one information system, storing and accumulating the packet data in a storage unit such as a storage, establishing a connection to exchange the request and response in another information system, transmitting the request captured by the established connection, and comparing the response to the request and the previously captured response. At this time, it is more preferable that the comparison is performed locally in the storage unit.
Further, according to another aspect of the present invention, the following configuration is used to reduce the number of days and man-hours and to improve the quality, namely, to apply to the transition. There is provided a test transition assistance system that supports an old and new verification test, a load test, and the like, for the transition from a current system to a new system. The test transition assistance system includes the steps of: acquiring a request message and a response message from the current system by a packet capture and the like; applying a process such as addition of an identifier and acquisition time; storing the packet data in a storage and the like; applying processes, in non-real time, such as reading of the stored message information, conversion of the message corresponding to the new system, and adjustment of the time to control the number of request message transmissions per load and per unit time; transmitting a request message to the new system; receiving a response message; and comparing the old and new response messages and response times, as well as a plurality of message relations and orders, or other information.
According to the present invention, it is possible to easily compare the output results of two of more information systems. As an example, in order to reduce the number of days and man-hours and improve the quality, it is possible to perform an old and new verification test, a load test, and the like, for the transition from a current system to a new system, and thus assisting the transition.
In the test transition assistance, there is provided a test transition assistance system, based on the non-real-time test, capable of supporting an old and new verification test, a load test, and the like, for the transition from a current system to a new system, in order to reduce the number of days and man-hours and to improve the quality, and thus assisting the transition. The test transition assistance system includes the steps of: acquiring a request message and a response message from the current system by a packet capture and the like; applying a process such as addition of an identifier and acquisition time; storing the message information in a storage and the like; applying processes such as reading of the stored message information, conversion of the message corresponding to the new system, and adjustment of the time to control the number of request messages per load and per unit time in non-real time; transmitting a request message to the new system; receiving a response message; and comparing old and new response messages and response times, as well as a plurality of message relations and orders, or other information. Note that in this embodiment, the comparison is performed between two systems of one current system and one new system. However, it is also possible to compare three or more systems (for example, one current system and two or more new systems).
Hereinafter, an embodiment for implementing the present invention will be described with reference to the drawings.
First, the overall system configuration of the test transition assistance method and system shown in
The test transition assistance method and system is configured by including a test transition assistance system 110, a new system A′ 120, a current system B 130, a current system A 140, and a network 150 that connects these systems.
The test transition assistance system 110 is a computer including: a message acquisition function 111 for acquiring a request message and a response message from the network 150 between the current system B 130 and the current system A 140; a message process and storage function 112 for processing and storing the request message and the response message; a message read and process function 113 for reading and processing the stored message information; a message transmission and reception function 114 for transmitting a request message to the new system A′ 120 and receiving a response message from the new system; and a message comparison function 115 for comparing the old and new messages.
The new system A′ 120 and the current system A 140 are computers each having a request message reception and process function for receiving and processing the request message, as well as a response message transmission function for transmitting the response message.
The current system B 130 is a computer having a request message transmission function for transmitting a request message, and a response message reception function for receiving the response message.
Computers constituting the test transition assistance system 110, the new system A′ 120, the current system B 130, and the current system A 140 include: a control and calculation unit that operates according to a program, a storage unit for storing data, files, and programs that can be accessed from the control and calculation unit; a communication unit for transmitting and receiving data and files through other computers, networks, and the like; an input unit for further receiving instruction from the user; and a display unit for displaying the process results of the control and calculation unit, and the like. The control and operation unit operates by accessing the data and file in the storage according to the program. Thus, each of the functions is achieved.
The test transition assistance system 110 is preferably a computer that can perform the steps of: acquiring a request message and a response message from the current system by a packet capture and the like; applying a process such as addition of an identifier and acquisition time; storing the message information in a storage and the like; applying processes, in non-real time, such as reading of the stored message information, conversion of the message corresponding to the new system, and adjustment of the time to control the number of request message transmissions per load and per unit time; transmitting a request message to the new system; receiving a response message; and comparing the old and new response messages and response times, a plurality of message relations and orders or other information. More specifically, a large computer or a high performance workstation is preferred.
The new system A′ 120, the current system B 130, and the current system A 140 are preferably computers with the capability to process a variety of information. More specifically, a small computer is preferred for the client, and a large computer or high performance workstation is preferred for the server.
The network 150 can be any type of transmission media that can transmit information to other computers.
Hereinafter, the process operation in a preferred embodiment for implementing the present invention will be described with reference to the following drawings.
The request message transmission function of the current system B 130 transmits a current request message to the current system A 140.
In the example of the online trade, it is assumed that the request message transmission function of the Web client, which is the current system B 130, transmits a current request message to the current online trade system which is the current system A 140. More specifically, in the case of an order request message, it includes the session ID, the stock code, the figure, and the unit price. However, the message may not include all of the information.
The request message reception and processing function of the current system A 140 receives and processes the current request message from the current system B 130.
In the example of the online trade, it is assumed that the request message reception and processing function of the current online trade system, which is the current system A 140, receives and processes the current request message from the Web client which is the current system B 130. More specifically, in the case of an order request message, the request message reception and processing function of the current online trade system processes the order reception based on the session ID, the stock code, the figure, and the unit price or other information.
The message acquisition function 111 of the test transition assistance system 110 acquires the current request message from the current system B 130 to the current system A 140 by a packet capture and the like.
In the example of the online trade, it is assumed that the message acquisition function 111 of the test transition assistance system 110 acquires the current request message by a packet capture and the like from the Web client, which is the current system. B 130, to the current online trade system which is the current system A 140. More specifically, in the case of an order request message, it includes the session ID, the stock code, the figure, and the unit price or other information. However, the message may not include all of the information.
The message process and storage function 112 of the test transition assistance system 110 adds the source ID 501, the message ID 502, the message type 503, and the message date and time 504 to the current request message body 505 from the current system B 130 to the current system A 140, which is acquired by a packet capture and the like. Then, the message process and storage function 112 of the test transition assistance system 110 stores the particular message in a storage, and the like, as the message information 500.
In the example of the online trade, it is assumed that the message process and storage function 112 of the test transition assistance system adds the transmission source ID 501, the message ID 502, the message type 503, and the message date and time 504 to the current request message body 505 that is acquired by a packet capture, and the like, from the Web client, which is the current system B 130, to the current online trade system which is the current system A 140. Then, the message process and storage function of the test transition assistance system stores the particular message in the storage, and the like, as the message information 500.
The response message transmission function of the current system A 140 transmits the current response message to the current system B 130.
In the example of the online trade, it is assumed that the response message transmission function of the current online trade system, which is the current system A 140, transmits the current response message to the Web client which is the current system B 130. More specifically, in the case of an order reception response message, it includes the session ID, the stock code, the figure, and the unit price or other information. However, the message may not include all of the information.
The response message reception function of the current system B 130 receives the current response message from the current system A 140, and returns to <Step 231>.
In the example of the online trade, it is assumed that the response message reception function of the Web client, which is the current system B 130, receives the current response message from the current online trade system which is the current system A 140, and returns to the next current request message transmission.
The message acquisition function 111 of the test transition assistance system 110 acquires the current response message by a packet capture, and the like, from the current system A 140 to the current system B 130.
In the example of the online trade, it is assumed that the message acquisition function 111 of the test transition assistance system 110 acquires the current response message by a packet capture, and the like, from the current online trade system which is the current system A 140, to the Web client which is the current system B 130. More specifically, in the case of an order reception response message, it includes the session ID, the stock code, the figure, and the unit price or other information. However, the message may not include all of information.
The message process and storage function 112 of the test transition assistance system 110 adds the transmission source ID 501, the message ID 502, the message type 503, and the message date and time 504 to the current response message body 505 that is acquired by a packet capture, and the like, from the current system A 140 to the current system B 130. Then, the message process and storage function 112 of the test transition assistance system 110 stores the particular message in the storage, and the like, as the message information 500.
In the example of the online trade, it is assumed that the message process and storage function 112 of the test transition assistance system adds the source ID 501, the message ID 502, the message type 503, and the message date and time 504 to the current response message body 505 that is acquired by a packet capture, and the like, from the current online trade system, which is the current system A 140, to the Web client which is the current system B 130. Then, the message process and storage function 112 of the test transition assistance system stores the particular message in the storage, and the like, as the message information 500.
Hereinafter, the message read and process 215 will be described using the detailed message read and process flowchart shown in
The message read and process function 113 of the test transition assistance system 110 reads the current request message and the current response message based on the message read setting 700.
In the example of the online trade, it is assumed that the message read and process function 113 of the test transition assistance system 110 reads 100 order request messages and 100 order reception response messages, respectively, based on the message file path “PathMF” and the number of message reads “100” that are set in the message read setting 700.
The message read and process function 113 of the test transition assistance system 110 converts the current request message into a new request message based on the message process setting 800 and on the message conversion table 900.
In the example of the online trade, it is assumed that the message read and process function 113 of the test transition assistance system 110 refers to the message conversion table 900, based on the message conversion table path “PathMTT” in the message process setting 800. Then, the message read and process function 113 of the test transition assistance system 110 converts the string “SS11” in the current request message corresponding to the source ID “S1” into “TT11” to generate a new request message. This is the same for the transmission source ID “S2” and other transmission source IDs. Further, although commented out with (#) in the message conversion table 900, it is also possible to set the conversion of the current response message and the new response message. In this case, the new response message that has been converted, and the new response message that is the response from the new system A′ 120 are separately managed and compared.
The message read and process function 113 of the test transition assistance system 110 adjusts a plurality of relations between the current request messages and the current response messages, based on the message process setting 800 and on the message conversion table 900.
In the example of the online trade, it is assumed that the message read and process function 113 of the test transition assistance system 110 sorts the message dates and times of the current request messages, and adjusts the transmission interval to 0.5 times smaller than the initial value based on the transmission time rate “0.5” in the message process setting 800. In this way, the message read and process function 113 generates the new request messages.
The message read and process function 113 of the test transition assistance system 110 stores the new request messages and the new response messages after the one message conversion and the adjustment of a plurality of message relations, in the storage and the like as message information′ 600.
In the example of the online trade, it is assumed that the message read and process function 113 of the test transition assistance system 110 converts the string in the current request message according to the source ID in the one message conversion, sorts the message dates and times of the current request messages in the adjustment of a plurality of message relations, adjusts the transmission interval, and stores the new request messages with the adjusted transmission interval in the storage, and the like, as the message information′ 600. Returning to
The message transmission and reception function 114 of the test transition assistance system 110 transmits the new request message to the new system A′ 120.
In the example of the online trade, it is assume that the message transmission and reception function 114 of the test transition assistance system 110 transmits the new request message to the new online trade system which is the new system A′ 120. More specifically, in the case of an order request message, it includes the session ID, the stock code, the figure, and the unit price or other information. However, the message may not include all of the information.
The request message reception and processing function of the new system A′ 120 receives and processes the new request message from the test transition assistance system 110.
In the example of the online trade, it is assumed that the request message reception and processing function of the new online trade system, which is the new system A′ 120, receives and processes the new request message from the test transition assistance system 110. More specifically, in the case of an order request message, the request message reception and processing function of the new system A′ 120 processes the order reception based on the session ID, the stock code, the figure, and the unit price or other information.
The response message transmission function of the new system A′ 120 transmits the new response message to the test transition assistance system 110.
In the example of the online trade, it is assumed that the response message transmission function of the new online trade system, which is the new system A′ 120, transmits the new response message to the test transition assistance system 110. More specifically, in the case of an order reception response message, it includes the session ID, the stock code, the figure, and the unit price or other information. However, the message may not include all of the information.
The message transmission and reception function 114 of the test transition assistance system 110 receives the new response message from the new system A′ 120.
In the example of the online trade, it is assumed that the message transmission and reception function 114 of the test transition assistance system 110 receives the new response message from the new online trade system which is the new system A′ 120.
The message transmission and reception function 114 of the test transition assistance system 110 determines the presence or absence of untransmitted request messages, and if “present”, returns to <Step 216>, and if “absent”, moves to <Step 219>.
In the example of the online trade, it is assumed that the message transmission and reception function 114 of the test transition assistance system 110 determines the presence or absence of untransmitted request messages. In this case, it is determined to be present after the transmission from the first request message to 99th request message, so that the message transmission and reception function 114 returns to <Step 216>. While it is determined to be absent after the transmission of the 100th request message, so that the message transmission and reception function 114 moves to <Step 219>.
Hereinafter, the message comparison 219 will be described using the detailed message comparison flow chart shown in
The Message Comparison Function 115 of the Test transition assistance system 110 performs one message comparison based on the message process setting 800, the message conversion table 900, and the message comparison setting 1000.
In the example of the online trade, it is assumed that the message comparison function 115 of the test transition assistance system 110 performs one message text comparison by referring to the message conversion table 900 and the one message comparison “necessary (1)” in the message comparison setting 1000, based on the message conversion table path “PathMTT” in the message process setting 800. In this case, an example of the message comparison results is shown in the message comparison result 1100, and particularly in the one message difference (OldRes) 1103 and the one message difference (NewRes) 1104. Further, conversion between the current response message and a new response message of the message conversion table 900 as well as line head string and tag which are not to be compared by the message comparison setting 1000, commented out with (#), can also be set. An example of the message comparison results after removing the comment out (#) is shown in the message comparison result 1200, and particularly in the one message difference (OldRes) 1203 and in the one message difference (NewRes) 1204. The conversion of the current response message and the new response message in the message conversion table 900 can be used in <Step 302> of the one message conversion in which the new response message after conversion is generated in advance, or can be used for the comparison in <Step 401> of the one message comparison.
The message comparison function 115 of the test transition assistance system 110 performs the one message time comparison based on the message comparison setting 1000.
In the example of the online trade, it is assumed that the message comparison function 115 of the test transition assistance system 110 performs one message response time comparison, and the like, by referring to the one message time comparison “necessary (1)” in the message comparison setting 1000 of the test transition assistance system 110. In this case, an example of the message comparison results is shown in the message comparison result 1100, and particularly in the one message time (Old) 1105 and the one message time (New) 1106.
The message comparison function 115 of the test transition assistance system 110 performs the comparison of a plurality of message relations based on the message comparison setting 1000.
In the example of the online trade, it is assumed that the message comparison function 115 of the test transition assistance system 110 performs the comparison of a plurality of message order relations, and the like, by referring to the message relations comparison “necessary (1)” in the message comparison setting 1000 of the test transition assistance system 110. In this case, an example of the message comparison results is shown in the message comparison result 1300.
The message comparison function 115 of the test transition assistance system 110 performs the comparison of a plurality of message times based on the message comparison setting 1000.
In the example of the online trade, it is assumed that the message comparison function 115 of the test transition assistance system 110 performs the comparison of a plurality of message average response times, and the like, by referring to the message times comparison “necessary (1)” in the message comparison setting 1000 of the test transition assistance system 110. In this case, an example of the message comparison results is shown in the message comparison result 1100, and particularly in the summary of one message time (Old) (average) 1108 and in the summary of one message time (New) (average) 1109.
The message comparison function 115 of the test transition assistance system 110 stores the new response message received from the new system A′ 120, in the storage and the like as the message information′ 600.
In the example of the online trade, it is assumed that the message comparison function 115 of the test transition assistance system 110 stores the new response message received from the new online trade system, which is the new system A′ 120, in the storage and the like as the message information′ 600.
The message comparison function 115 of the test transition assistance system 110 stores the message compassion results in the storage, and the like, as the message information′ 600.
In the example of the online trade, it is assumed that the message comparison function 115 of the test transition assistance system 110 stores the message comparison results in the storage, and the like, as the message comparison results 1100, 1200, and 1300.
As described above, according to the this embodiment, the test transition system includes the steps of: acquiring a request message and a response message from the current system by a packet capture and the like; applying a process such as addition of an identifier and acquisition time; storing the message information in a storage and the like; applying processes, in non-real-time, such as reading of the stored message information, conversion of the message corresponding to a new system, and adjustment of the time to control the number of request message transmissions per load and per unit time; transmitting the request message to the new system; receiving the response message; and comparing the old and new response messages and response times, as well as a plurality of message relations and orders, or other information. Thus, in the test transition assistance, it is possible to provide a method and system, based on the non-real-time test, capable of supporting an old and new verification test and a load test, and the like, for the transition from the current system to the new system in order to reduce the number of days and man-hours and to improve the quality, and thus assisting the transition.
Further, there are the following configurations: (1) in the message relations adjustment, the response time is checked by reducing the current request transmission interval at a constant rate to increase the load for the load (nonfunctional) test, or the total request transmission and test time is reduced with a fixed transmission interval for the old and new verification (functional) test; (2) in the one message conversion and the message relations adjustment, the conversion and adjustment are added in terms of the security (cyber-attack) test; and (3) in the message comparison result storage, the response time change rate and the resource use change in the current and new messages, are stored and visualized.
A preferred embodiment of the present invention has been described under the assumption that the current system B 130 is the Web client of a securities company, and that the new system A′ 120 and the current system A 140 are the online systems, respectively. For example, this can be applied to the corporate information systems in the industry sectors such as finance, manufacturing, distribution, public service, and communication. Further, the present invention can also be applied to other tests in addition to the “test for transition” that has been described above.
Further,
Number | Date | Country | Kind |
---|---|---|---|
2012-166503 | Jul 2012 | JP | national |