CN108038125B - Method, device, equipment and storage medium for automatically comparing fund system test values - Google Patents
Method, device, equipment and storage medium for automatically comparing fund system test values Download PDFInfo
- Publication number
- CN108038125B CN108038125B CN201711082880.1A CN201711082880A CN108038125B CN 108038125 B CN108038125 B CN 108038125B CN 201711082880 A CN201711082880 A CN 201711082880A CN 108038125 B CN108038125 B CN 108038125B
- Authority
- CN
- China
- Prior art keywords
- field
- comparison
- fields
- response
- expected value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/06—Asset management; Financial planning or analysis
Abstract
The invention relates to the technical field of automated test of fund systems, and discloses a method, a device, equipment and a storage medium for automatically comparing test values of fund systems, wherein in the method for comparing the automated test values of the fund systems, response information is returned according to an HTTP request, and meanwhile, original data of a preset expected value is obtained, and the original data comprises fields and field information; processing the format of the response information returned by the HTTP request to acquire a response field and a response field message; and screening the fields of the response message according to the fields in the original data of the preset expected value to obtain comparison fields and comparison field messages, so that comparison test results different from the preset expected value set by the user can be visually displayed, and the test operation of the user is simpler and more convenient.
Description
Technical Field
The invention relates to the technical field of automated testing of fund systems, in particular to a method, a device, equipment and a storage medium for automatically comparing fund system test values.
Background
The automatic test results of the fund system comprise test results of a plurality of different test cases, the test report opening mode of the existing fund system needs to be opened by other tools, only the test result of the request message is recorded, the test result required by the user cannot be reflected intuitively, the user needs to search the test results in the test report one by one, the complicated steps are added, and the user experience is reduced.
Disclosure of Invention
The invention aims to provide a method, a device, equipment and a storage medium for automatically comparing fund system test values, which can intuitively display comparison test results different from preset expected values set by a user.
The present invention is achieved in this way, and a first aspect of the present invention provides a method for automatically comparing fund system test values, the method comprising:
returning response information according to the HTTP request, and simultaneously acquiring original data of a preset expected value, wherein the original data comprises fields and field messages;
processing the format of the response information returned by the HTTP request to acquire a response field and a response field message;
screening the fields of the response message according to the fields in the original data of the preset expected value to obtain comparison fields and comparison field messages;
and comparing the comparison field message with the preset expected value, and identifying the comparison field message different from the field message with the preset expected value.
A second aspect of the present invention provides an apparatus for automatically comparing fund system test values, comprising:
the data acquisition module is used for returning response information according to the HTTP request and simultaneously acquiring original data of a preset expected value;
the data processing module is used for processing response information returned by the HTTP request to acquire a response field and a response field message;
the field comparison module is used for screening the response field according to the field in the original data of the preset expected value to obtain a comparison field and a comparison field message, and comparing the comparison field message with the field message of the preset expected value;
and the field display module is used for identifying the comparison field message different from the field message with the preset expected value.
A third aspect of the present invention provides a terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to the first aspect of the present invention when executing the computer program.
A fourth aspect of the invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method according to the first aspect of the invention.
The invention provides a method, a device, equipment and a storage medium for automatically comparing test values of a fund system, wherein response messages of HTTP requests are subjected to formatting treatment, fields subjected to formatting treatment are sorted, comparison fields in the sorted fields are screened out, the screened comparison fields are configured through a configuration file and then are compared with fields with preset expected values, and comparison results are marked in a highlight mode or specific marks, so that the comparison test results are visually displayed, and the test operation of a user is simpler and more convenient.
Drawings
FIG. 1 is a flow chart of a comparison method based on automated test values for a fund system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating the details of one embodiment of step S30 of the automated fund system test value-based comparison method according to one embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a comparison apparatus based on automated test values of a fund system according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of a specific structure provided by an embodiment of a comparison module in a comparison device based on an automated test value of a fund system according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
The embodiment of the invention provides an automatic comparison method of fund system test values, as shown in fig. 1, the automatic comparison method of fund system test values comprises a step S10, a step S20, a step S30 and a step S40, and the specific content of each step is as follows:
and S10, returning response information according to the HTTP request, and simultaneously acquiring original data of a preset expected value, wherein the original data comprises fields and field messages.
In step S10, after the test is completed, the HTTP request message is obtained, the CURL may be executed on the command to receive an actual response message, where the response message includes original data with a test result, and the original data includes a field code to be compared and the test result. The original DATA of the preset expected value is a field and a field message which are set in the fund system by a user according to requirements and are compared, specifically, a code written by the user can acquire the original DATA of the preset expected value in a DATA field, the expected value can be modified, a message imported into an external terminal device can be used as the preset expected value, the preset expected value is in various forms, the original DATA is classified and stored in a fund system database folder according to information such as attributes, names, comparison fields and the like of the preset expected value, and the comparison fields comprise purchase or redemption amounts, dates, accounts and the like.
And S20, processing the format of the response information returned by the HTTP request to acquire a response field and a response field message.
In step S20, the response information returned to the HTTP request is JSON-formatted data, and the JSON-formatted data is displayed in a continuous string form, each line of data may include a plurality of fields and messages corresponding to each field, which is inconvenient for the front-end developer to read and filter, and for easy reading, the JSON-formatted data is formatted by a corresponding tool, so that each line of data is a field and a message corresponding to the field.
And S30, screening fields in the response message according to fields in the original data with preset expected values to obtain comparison fields and comparison field messages.
In step S30, the fields in the response message after the reordering process include a plurality of fields, each field is a single line, and the fields include a plurality of lines of fields, and the fields that need to be screened for comparison are screened according to the fields set in the preset expected value, and the fields that are compared between the response field and the expected value field are screened out through the fields in the original data of the preset expected value, wherein the screened response field is screened out or the remaining fields of other fields are screened out from the response message as comparison fields.
For example, in specific implementation, the response message includes A, B, C three rows of fields, the field to be filtered is a, the user sets that a is filtered as the comparison field or B, C is filtered, and the rest of a is used as the comparison field.
And S40, comparing the comparison field message with the preset expected value, and identifying the comparison field message different from the field message with the preset expected value.
In step S40, after the fields in the response message are screened to obtain the comparison fields, the comparison fields may be compared with the fields of the original data in the preset expected value, specifically, the comparison field message may be compared with the field message of the preset expected value by DIFF or SDIFF, all the fields and the field messages are displayed, the fields and the field messages include the comparison fields and the field messages, the fields and the field messages of the preset expected value, and the fields and the field messages are displayed in sequence according to the comparison order. The content of comparison is not specifically limited in the present application, and the comparison may be performed once but not limited to once through DIFF or SDIFF, and the comparison field may also be compared with other files in the fund system, and the comparison result is displayed at a preset display position on the test report page.
For example, the field and field message after the response message returned by the DIFF or SDIFFHTTP request is processed is compared with the preset expected value field and field message, the comparison result is compared with the file exported by the fund system every day through the DIFF or SDIFF, the test content field and field message are visually displayed on the test report page, the field and field message with the preset expected value are set on the left side of the test report as required, the field and field message of the current response message returned by the HTTP request are set on the right side of the test report, the field and field message with the preset expected value are placed in one-to-one correspondence with the field and field message of the current response message returned by the HTTP request, the user experience is improved, and the test result is comprehensively and visually reflected.
Meanwhile, the fund system automatic test report is a single-page HTML file, contains all needed Javascript codes and CSS codes, can be conveniently opened without depending on other tools, and HTML is used for structure setting; the Javascript code is used for setting behaviors, and the JS code is a section of program executed in a browser, can dynamically change a page and can also control the state of the CSS; CSS code is used to control web page rendering such as element width, height, color, font size, and line spacing. The field message with the preset expected value and the comparison field message are distinguished and marked in a highlight mode or a specific identification mode through the CSS code, the comparison value is displayed in an HTML file mode through a display tool, the report includes elements of a general report, such as the executed amount, the successful amount, the execution time and other information, detailed description is not repeated here, and the report may further include: comparing the request message based on HTTP with the database table of the fund system with the comparison result of the file exported by the fund system in daily clearing; comparing the HTTP request message sent by the client browser with the comparison result of a preset expected value and the comparison result of a file exported by the fund system during monthly clearing through a comparison tool; the content displayed in the report is generally the difference between the HTTP request message and the expected value preset by the fund system, and the contrast difference in the report is indicated in a highlighted manner or by a specific identifier.
The invention provides a method for comparing automated test values of a fund system, which comprises the steps of carrying out formatting treatment on response messages of HTTP requests, sequencing fields after the formatting treatment, screening comparison fields in the sequencing fields, configuring the screened comparison fields through a configuration file, then comparing the comparison fields with preset expected values, marking comparison results in a highlight mode or specific marks, and visually displaying the comparison test results.
As to step S20 in the foregoing embodiment, as an implementation manner, performing format processing on the response information returned by the HTTP request to obtain a response field and a response field message includes:
and S201, processing the format of the response message returned by the HTTP request through a formatting tool to arrange each response field and the response field message according to rows.
In step S201, as an implementation manner, the formatting tool may be a JQ tool function, and the JQ tool function formats the returned JSON message, so that the displayed content is more visualized and can be screened.
Specifically, the working mode of the JQ tool function is: 1. outputting one or more items in a custom format; 2. acquiring a certain array according to the field and the field message; 3. highlighting and displaying in sequence according to the attributes; 4. outputting formatting to realize beautiful display effect; JQ tool functions allow JSON operations to be performed directly under the command line, including slicing, filtering, converting, and so on.
In step S201, as another embodiment, first, a maximum length of a field to be sorted is set; then, respectively calculating the field lengths of the fields to be sorted; and finally, performing 0 complementing operation according to the length, and converting the field into a character string with the same length. For example, the maximum length of the field to be sorted is set to 15, the original character string is "trade", and then "000000 trade" is obtained after the conversion. And combining the converted multiple fields into a new character string and assigning the new character string to the temporary field. For example, "trade" is combined with "123.12345" to "000000 trade 00123.12345. Since the maximum lengths of "trade" and "123.12345" are predefined, the value of each attribute field in the combined string can be divided according to the length setting. And sorting the temporary fields by adopting a single-field sorting method. The resulting combined string is essentially a single field, allowing each response field and response field message to be arranged in rows.
As to step S30 in the foregoing embodiment, as an implementation manner, as shown in fig. 2, the obtaining of the comparison field and the comparison field message by filtering the response field according to the field in the original data with the preset expected value includes:
and S301, acquiring a field arrangement sequence rule of a preset expected value, and sequencing the response fields according to the field arrangement sequence rule of the preset expected value.
In step S301, the fields are sorted alphabetically or according to their importance and difference, and the result display flags for comparing differences are also different, for example, the fields include sp-user, trade, order-date and retcode, and when the user sets that the fields are sorted alphabetically, the fields are sorted according to retcode, sp-user, trade, order-date. For example, the important fields are displayed according to different colors, the colors can display different importance degrees according to red dust, yellow green, cyan and purple, the importance degrees can be sequentially displayed according to the colors after being sorted, the preset red is the highest importance degree, the purple is the lowest importance degree, furthermore, three fields are A, B, C when each field in the message is sorted, if the importance degree of the field is C, B, A, the C is the highest importance degree, and the red mark can be used for displaying; b may be displayed with an orange mark; a is the least important, and is displayed with a yellow mark; in addition, the marks displayed according to the difference of the fields are different, for example, the difference of the fields is displayed according to different colors, the colors can display different importance degrees according to red dust, yellow, green, cyan and purple, the importance degrees can be sequentially displayed according to the colors after being sorted, the importance degree of the preset red is the highest, the importance degree of the purple is the lowest, three fields are A, B, C when each field in the message is sorted, if the difference between A and the preset expected value in the fund system is the largest, and the difference between B times is the smallest, the difference between A and the preset expected value in the fund system is the smallest, the A can be displayed by a red mark; b may be displayed with an orange mark; c may be displayed with a yellow mark, but in various embodiments the display mark includes, but is not limited to, a color mark.
And S302, screening the sorted response fields according to the fields with preset expected values to obtain comparison fields and comparison field information.
In step S302, the fields that respond are sorted according to the fields with the preset expected value, and then the fields can be screened, and the arrangement order of the screened comparison fields is the same as the arrangement order of the fields with the preset expected value, so as to implement comparison between the fields.
And S303, configuring the field of the preset expected value and the comparison field through a configuration file, so that the field of the preset expected value and the comparison field are in one-to-one correspondence.
In step S303, for example, in the specific embodiment of the present invention, the fields of the preset expected value are sorted according to a retcode, an sp-user, a trade, and an order-date, when the comparison fields are configured, the screened comparison fields are also sorted according to a retcode, an sp-user, a trade, and an order-date, the fields of the preset expected value correspond to the comparison fields one by one, for example, the field retcode of the preset expected value corresponds to the retcode in the comparison fields.
The embodiment of the invention provides a method for comparing automated test values of a fund system, which carries out formatting treatment on a response message returned by an HTTP request through a JQ tool to obtain a clear and intuitive response message; the actual received sequence of the response message field is different from the sequence of the expected value message field, the response message is sequenced according to the sequencing rule of the preset expected value field, the sequence of the response message field is the same as the sequence of the expected value field, and a failure result cannot be generated due to the different sequences; after finishing sorting, screening the response message fields, and screening out fields which are compared with the expected value fields; the comparison fields are configured through the configuration file, so that the response message fields and the field messages can be compared with the expected value fields and the field messages through DIFF or SDIFF conveniently, and the accurate comparison of the messages returned through HTTP requests and the preset expected value fields and the field messages can be achieved.
Another embodiment of the present invention provides an automatic comparison apparatus 40 for fund system test values, as shown in fig. 3, the automatic comparison apparatus for fund system test values comprising:
the data acquisition module 401 is configured to return response information according to the HTTP request and acquire original data of a preset expected value at the same time;
a data processing module 402, configured to process response information returned by the HTTP request to obtain a response field and a response field message;
a field comparison module 403, configured to filter the response field according to a field in the original data of a preset expected value to obtain a comparison field and a comparison field message, and compare the comparison field message with a field message of a preset expected value;
and a field display module 404, configured to identify a comparison field message different from the field message of the preset expected value.
Further, the data processing module 402 is further configured to format the response message returned by the HTTP request by a formatting tool, so that each response field and the response field message are arranged in rows.
Further, as shown in fig. 4, the field comparison module 403 includes:
an arrangement rule obtaining unit 410, configured to obtain a field arrangement order rule in original data of a preset expected value;
a field sorting unit 411, configured to sort the response fields according to a field arrangement order rule of a preset expected value;
a field screening unit 412, configured to screen the sorted response fields according to the fields with the preset expected values to obtain comparison fields and comparison field messages;
a field configuration module 413, configured to configure the field of the preset expected value and the comparison field through a configuration file, so that the field of the preset expected value and the comparison field correspond to each other one to one.
The specific working process of the module in the terminal device may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Another embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for automatically comparing fund system test values in the foregoing embodiments is implemented, and details are not repeated here to avoid repetition. Or, when being executed by the processor, the computer program implements the functions of each module/unit in the automatic comparison apparatus for fund system test values in the above embodiments, and is not described herein again to avoid repetition.
Fig. 5 is a schematic diagram of the terminal device in the present embodiment. As shown in fig. 5, the terminal device 5 includes a processor 50, a memory 51, and a computer program 52 stored in the memory 51 and executable on the processor 50. The processor 50, when executing the computer program 52, implements the steps of a fund system automation test value based comparison method in the above embodiments, such as the steps S10, S20, S30 and S40 shown in fig. 1. Alternatively, the processor 50 executes the computer program 52 to implement the functions of the modules/units of the comparison apparatus based on the fund system automation test value in the above embodiment, such as the functions of the data acquisition module 401, the data processing module 402, the field comparison module 403 and the field display module 404 shown in fig. 3.
The terminal device 5 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 5 and does not constitute a limitation of terminal device 5 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input output devices, network access devices, buses, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 51 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk provided on the terminal device 5, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 51 may also include both an internal storage unit of the terminal device 5 and an external storage device. The memory 51 is used for storing computer programs and other programs and data required by the terminal device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
Claims (10)
1. A method for automatically comparing fund system test values is characterized by comprising the following steps:
returning response information according to the HTTP request, and simultaneously acquiring original data of a preset expected value, wherein the original data comprises fields and field messages;
processing the format of the response information returned by the HTTP request to acquire a response field and a response field message;
screening the response field according to the field in the original data of the preset expected value to obtain a comparison field and a comparison field message;
comparing the comparison field message with the field message of the preset expected value, and identifying the comparison field message different from the field message of the preset expected value;
comparing the comparison field message with the field message of the preset expected value, and then further comprising:
displaying all fields and field messages, wherein the fields and the field messages comprise comparison fields and field messages, fields and field messages of preset expected values, and sequencing and displaying the fields and the field messages according to a comparison sequence;
comparing the comparison field message with the field message of the preset expected value, and then further comprising:
comparing the comparison field with other files in the fund system, and displaying the comparison result at a preset display position on a test report page, wherein the test report comprises: comparing the request message based on HTTP with the comparison result of the fund system database table, and comparing the comparison field with the file exported by the fund system in daily clearing; and comparing the comparison result of the HTTP request message sent by the client browser with a preset expected value and the comparison result of the comparison field with the file exported by the fund system in monthly clearing by using a comparison tool.
2. The method according to claim 1, wherein the formatting the response information returned from the HTTP request to obtain the response field and the response field message comprises:
and formatting the response messages returned by the HTTP request through a formatting tool to arrange each response field and the response field messages according to rows.
3. The method of claim 1, wherein the step of screening the response field according to the field in the raw data with the preset expected value to obtain the comparison field and the comparison field message comprises:
acquiring a field arrangement sequence rule in original data of a preset expected value;
sorting the response fields according to a field arrangement sequence rule of a preset expected value;
and screening the sorted response fields according to the fields with preset expected values to obtain comparison fields and comparison field information.
4. The method of claim 3, wherein the step of screening the sorted response fields according to the field of the preset expected value to obtain the comparison field and the comparison field message further comprises the steps of:
and configuring the field of the preset expected value and the comparison field through a configuration file, so that the field of the preset expected value corresponds to the comparison field one by one.
5. The method of claim 4, wherein the field ordering rule is alphabetical ordering or sorting by field importance.
6. An apparatus for automatically comparing test values of a fund system, the apparatus comprising:
the data acquisition module is used for returning response information according to the HTTP request and simultaneously acquiring original data of a preset expected value;
the data processing module is used for processing response information returned by the HTTP request to acquire a response field and a response field message;
the field comparison module is used for screening the response field according to the field in the original data of the preset expected value to obtain a comparison field and a comparison field message, and comparing the comparison field message with the field message of the preset expected value;
the field display module is used for identifying comparison field messages different from the field messages with the preset expected values;
the automatic comparison device for the fund system test value is also used for:
comparing the comparison field message with the preset expected value, displaying all the fields and the field messages, wherein the fields and the field messages comprise the comparison fields and the field messages, the fields with the preset expected value and the field messages, and sequencing and displaying the fields and the field messages according to the comparison sequence; and comparing the comparison field with other files in the fund system, and displaying the comparison result at a preset display position on a test report page, wherein the test report comprises: comparing the request message based on HTTP with the comparison result of the fund system database table, and comparing the comparison field with the file exported by the fund system in daily clearing; and comparing the comparison result of the HTTP request message sent by the client browser with a preset expected value and the comparison result of the comparison field with the file exported by the fund system in monthly clearing by using a comparison tool.
7. The apparatus according to claim 6, wherein the data processing module is further configured to format the response message returned from the HTTP request by a formatting tool such that each response field and response field message are arranged in rows.
8. The apparatus of claim 6, wherein the field comparison module comprises:
the arrangement rule obtaining unit is used for obtaining a field arrangement sequence rule in original data of a preset expected value;
the field sorting unit is used for sorting the response fields according to a field arrangement sequence rule of a preset expected value;
the field screening unit is used for screening the sorted response fields according to the fields with preset expected values to obtain comparison fields and comparison field messages;
and the field configuration module is used for configuring the fields of the preset expected values and the comparison fields through a configuration file, so that the fields of the preset expected values and the comparison fields are in one-to-one correspondence.
9. A terminal device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, characterized in that said processor, when executing said computer program, carries out the steps of a method for automatic comparison of fund system test values according to any one of claims 1 to 5.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method for automatic comparison of test values of a fund system according to any one of claims 1 to 5.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711082880.1A CN108038125B (en) | 2017-11-07 | 2017-11-07 | Method, device, equipment and storage medium for automatically comparing fund system test values |
PCT/CN2017/112271 WO2019090825A1 (en) | 2017-11-07 | 2017-11-22 | Automatic comparison method, apparatus and device for fund system testing values and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711082880.1A CN108038125B (en) | 2017-11-07 | 2017-11-07 | Method, device, equipment and storage medium for automatically comparing fund system test values |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108038125A CN108038125A (en) | 2018-05-15 |
CN108038125B true CN108038125B (en) | 2021-06-01 |
Family
ID=62093877
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711082880.1A Active CN108038125B (en) | 2017-11-07 | 2017-11-07 | Method, device, equipment and storage medium for automatically comparing fund system test values |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108038125B (en) |
WO (1) | WO2019090825A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109299002A (en) * | 2018-08-24 | 2019-02-01 | 平安科技(深圳)有限公司 | Generation method, computer readable storage medium and the terminal device of test report |
CN110688302B (en) * | 2019-08-27 | 2023-03-31 | 天津开心生活科技有限公司 | Automatic field library testing method and device |
CN116483689B (en) * | 2023-03-13 | 2024-01-05 | 深圳华锐分布式技术股份有限公司 | Method, device, equipment and medium for testing option brokerage quick trading system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105468524A (en) * | 2015-11-25 | 2016-04-06 | 上海斐讯数据通信技术有限公司 | Automatic test method and system of WEB interface |
CN105893249A (en) * | 2015-12-31 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Software testing method and device |
CN106095673A (en) * | 2016-06-07 | 2016-11-09 | 深圳市泰久信息系统股份有限公司 | Automated testing method based on WEB interface and system |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6981180B1 (en) * | 2000-03-16 | 2005-12-27 | Akamai Technologies, Inc. | Method and apparatus for testing request-response service using live connection traffic |
US7644083B1 (en) * | 2004-09-30 | 2010-01-05 | Teradata Us, Inc. | Efficiently performing inequality joins |
US8515918B2 (en) * | 2005-10-21 | 2013-08-20 | Kevin R. Borders | Method, system and computer program product for comparing or measuring information content in at least one data stream |
CN101764720B (en) * | 2009-11-24 | 2012-01-25 | 福建星网锐捷网络有限公司 | Method and system for testing filtration performance |
CN102222038B (en) * | 2010-04-16 | 2014-05-07 | 中国工商银行股份有限公司 | Transaction software test method and system based on banking business |
CN103312551B (en) * | 2012-03-12 | 2016-02-17 | 腾讯科技(深圳)有限公司 | The method of testing of CGI(Common gateway interface) and testing apparatus |
CN106155891B (en) * | 2015-04-02 | 2019-07-05 | 阿里巴巴集团控股有限公司 | Interface test method, interface description data library generating method and device |
CN104965865A (en) * | 2015-06-08 | 2015-10-07 | 北京广利核系统工程有限公司 | Quick inspection method of nuclear power plant DCS electronic alarm card |
CN106776264B (en) * | 2015-11-24 | 2020-07-03 | 北京国双科技有限公司 | Application program code testing method and device |
CN106445815B (en) * | 2016-09-06 | 2019-04-23 | 优酷网络技术(北京)有限公司 | A kind of automated testing method and device |
CN106503268B (en) * | 2016-12-07 | 2019-08-23 | 广东神马搜索科技有限公司 | Data comparison methods, devices and systems |
-
2017
- 2017-11-07 CN CN201711082880.1A patent/CN108038125B/en active Active
- 2017-11-22 WO PCT/CN2017/112271 patent/WO2019090825A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105468524A (en) * | 2015-11-25 | 2016-04-06 | 上海斐讯数据通信技术有限公司 | Automatic test method and system of WEB interface |
CN105893249A (en) * | 2015-12-31 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Software testing method and device |
CN106095673A (en) * | 2016-06-07 | 2016-11-09 | 深圳市泰久信息系统股份有限公司 | Automated testing method based on WEB interface and system |
Non-Patent Citations (1)
Title |
---|
HTTP接口自动化测试方法研究;杨清玉 等;《微型机与应用》;20160930;第35卷(第18期);22-25 * |
Also Published As
Publication number | Publication date |
---|---|
CN108038125A (en) | 2018-05-15 |
WO2019090825A1 (en) | 2019-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108038125B (en) | Method, device, equipment and storage medium for automatically comparing fund system test values | |
CN107977346B (en) | PDF document editing method and terminal equipment | |
CN102314460A (en) | Data analysis method and system and servers | |
JPWO2017115458A1 (en) | Log analysis system, method and program | |
CN109726388A (en) | Pdf document analytic method, device, equipment and computer readable storage medium | |
CN107451112B (en) | Form tool data checking method, device, terminal equipment and storage medium | |
CN111460232A (en) | Functional module searching method, device, terminal and computer readable storage medium | |
US8108823B2 (en) | User selected grid for logically representing an electronic circuit | |
CN115167718A (en) | OFD document local amplification display method, device, equipment and storage medium | |
CN111061733B (en) | Data processing method, device, electronic equipment and computer readable storage medium | |
CN114757157B (en) | Method, apparatus, device and medium for generating an aircraft kit | |
CN112487771B (en) | Report generation method, report generation device and terminal | |
CN114371762A (en) | Method and device for printing customized label and storage medium | |
CN114745452A (en) | Equipment management method and device and electronic equipment | |
CN113920519A (en) | File detection method, terminal device and storage medium | |
CN113806526B (en) | Feature extraction method, device and storage medium | |
JP2016181045A (en) | Book data browsing program, book data browsing method, and information processing apparatus | |
CN111221977A (en) | Knowledge graph display method and device | |
CN112487022B (en) | Method, system, storage medium and electronic equipment for collecting associated data | |
CN109344210B (en) | Grid correction method and device and terminal equipment | |
CN116629199B (en) | Automatic modification method, device, equipment and storage medium of circuit schematic diagram | |
CN113821482A (en) | Information processing method and device, electronic equipment and readable storage medium | |
CN113868073A (en) | Graphical analysis method and device for state jump log and storage medium | |
CN116483687A (en) | Front-end automatic verification method, device, equipment and storage medium | |
CN114861617A (en) | Data table template name display method, device, equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |