Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

POS (Point Of Sale) application program testing method and system

An application and use case technology, applied in the direction of software testing/debugging, can solve inconvenient and cumbersome problems, achieve the effect of flexible operation, simple configuration, overcoming time-consuming, labor-intensive and various conditions.

Active Publication Date: 2015-01-07
FUJIAN LANDI COMML EQUIP CO LTD
View PDF7 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a method and system for POS application program testing, which solves the cumbersome and inconvenient need to repeatedly build a POS application environment for real environment testing after adding or modifying transactions in existing POS application program testing question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • POS (Point Of Sale) application program testing method and system
  • POS (Point Of Sale) application program testing method and system
  • POS (Point Of Sale) application program testing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0078] 1. Open the simulation background, select the specific POS application background and communication method, and listen.

[0079] 2. Open the simulated POS tool, read the simulated pre-log file, and convert it into a transaction configuration data file.

[0080] 3. The simulated POS tool, according to the communication method, connects to the simulated front end, reads a piece of request data, and sends it to the simulated background.

[0081] 4. The simulated background parses the request data and returns the data.

[0082] 5. Simulate the POS tool, receive the data, and judge whether it is consistent with the corresponding returned data, and save the record result.

[0083] Repeat 3-5 until all configurations are completed.

Embodiment 2

[0085] 1. Run the PC-side simulation background, select the corresponding test project (such as the configured UnionPay project), set the communication method (such as TCP), and start the communication listening service;

[0086] 2. Install the UnionPay application program on the POS terminal and set the communication method (such as the TCP server information IP and port are consistent with the PC terminal);

[0087] 3. The POS chooses to make a normal "consumption" transaction request;

[0088] 4. The simulation background receives transaction requests and returns data according to the existing configuration; respectively saves the source data of the request message and the source data of the returned message to the LOG file, which is the use case file;

[0089] 5. After the POS receives the return from the simulated background, it will prompt that the transaction is successful and the transaction is completed.

[0090] 6. If the POS application adds a "balance inquiry" tra...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a POS (Point Of Sale) application program testing method and system. The method comprises the following steps: testing the POS application program through a PC side simulating background to generate and store a use-case file; adding the POS application program or modifying transaction configuration, and correspondingly modifying the configuration of the PC side simulating background; introducing the use-case file to a PC end simulating POS tool; reading the use-case data in the use-case file to obtain the transaction configuration data information in the use-case data and the corresponding expected returning data; building a communication link between the PC side simulating POS tool and the PC side simulating background; sending request message data to the PC side simulating background; receiving and analyzing the request message data through the PC side simulating background, and returning the transaction data according to the analyzing result; determining whether the returned transaction data is consistent with the expected returning data; if so, prompting that the test is passed, and recording the result; otherwise, prompting that the test is not passed, and recording the result. According to the POS application program testing method and system, the original transaction returning configuration is automatically tested, and thus the original transaction returning configuration is not influenced.

Description

technical field [0001] The invention relates to the field of electronic payment terminals, in particular to a method and system for testing POS application programs. Background technique [0002] During the development and testing of POS applications, data communication with the POS center background is required, but the POS center background is often not the manufacturer's own background, so a test method for simulating the POS center's processing of various POS transaction services has been created by simulating the background. In the simulated background test process of the prior art, after all the return data of various transactions are manually configured, the real operation of each transaction is carried out on the actual POS terminal to verify whether the configuration is correct, and the POS application program is a The process of continuous development and testing requires numerous tests to verify the correctness of the POS application. Therefore, when the POS appl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
Inventor 蒋崇真
Owner FUJIAN LANDI COMML EQUIP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products