CN108038125A - Automatic control methods, device, equipment and the storage medium of fund system test value - Google Patents

Automatic control methods, device, equipment and the storage medium of fund system test value Download PDF

Info

Publication number
CN108038125A
CN108038125A CN201711082880.1A CN201711082880A CN108038125A CN 108038125 A CN108038125 A CN 108038125A CN 201711082880 A CN201711082880 A CN 201711082880A CN 108038125 A CN108038125 A CN 108038125A
Authority
CN
China
Prior art keywords
field
message
contrast
response
desired 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.)
Granted
Application number
CN201711082880.1A
Other languages
Chinese (zh)
Other versions
CN108038125B (en
Inventor
伍朗
伍振亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201711082880.1A priority Critical patent/CN108038125B/en
Priority to PCT/CN2017/112271 priority patent/WO2019090825A1/en
Publication of CN108038125A publication Critical patent/CN108038125A/en
Application granted granted Critical
Publication of CN108038125B publication Critical patent/CN108038125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Operations Research (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Debugging And Monitoring (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present invention relates to the automatization testing technique field of fund system, the present invention discloses automatic control methods, device, equipment and the storage medium of fund system test value, in the control methods of the fund system automatic test value, according to HTTP request returning response information, the initial data of default desired value is obtained at the same time, and the initial data includes field and field message;Format analysis processing is carried out to the response message that the HTTP request returns and obtains response field and response field message;Field in the initial data of the default desired value carries out the field of the response message screening and obtains contrast field and contrast field message, it can intuitively show the contrast test different from the default desired value of user's setting as a result, making the test operation of user more easy.

Description

Automatic control methods, device, equipment and the storage medium of fund system test value
Technical field
The present invention relates to the automatization testing technique field of fund system, more particularly to a kind of fund system test value from Dynamic control methods, device, equipment and storage medium.
Background technology
The automatic test result of fund system includes the test result of multiple and different test cases, existing fund system The test report unfolding mode of system, which needs to rely on other instruments, to be opened, and only have recorded the test result of request message, The test result of user demand cannot intuitively be reacted, it is necessary to user searches the test result in test report one by one, added Tedious steps, reduce the experience of user.
The content of the invention
It is an object of the invention to provide a kind of automatic control methods, device, equipment and the storage of fund system test value Medium, can intuitively show the contrast test result different from the default desired value of user's setting.
The present invention is achieved in that first aspect present invention provides a kind of the automatic to analogy of fund system test value Method, the automatic control methods of the fund system test value include:
According to HTTP request returning response information, while obtain the initial data of default desired value, the raw data packets Include field and field message;
Format analysis processing is carried out to the response message that the HTTP request returns and obtains response field and response field message;
Field in the initial data of the default desired value carries out screening acquisition to the field of the response message Contrast field and contrast field message;
The contrast field message and the field message of the default desired value are contrasted, and will be with the default phase The contrast field message that the field message of prestige value is different is identified.
Second aspect of the present invention provides a kind of automatic contrast device of fund system test value, the fund system test value Automatic contrast device include:
Data acquisition module, for according to HTTP request returning response information, while obtains the original number of default desired value According to;
Data processing module, the response message for being returned to the HTTP request carry out processing and obtain response field and sound Answer field message;
Field contrast module, sieves the response field for the field in the initial data according to default desired value Choosing obtains contrast field and contrast field message, and the field message of contrast field message and the default desired value is carried out pair Than;
Field display module, the contrast field message different from the field message of the default desired value is identified.
Third aspect present invention provides a kind of terminal device, including memory, processor and is stored in the memory In and the computer program that can run on the processor, the processor realize such as this hair when performing the computer program The step of bright first aspect the method.
Fourth aspect present invention provides a kind of computer-readable recording medium, and the computer-readable recording medium storage has Computer program, when the computer program is executed by processor realize as described in the first aspect of the invention method the step of.
The present invention provides a kind of automatic control methods, device, equipment and the storage medium of fund system test value, by HTTP The response message of request is handled by formatting, and the field after handling formatting is ranked up, and is filtered out in sort field Field is contrasted, to filtering out contrast field carry out pair with the field of default desired value with postponing by configuration file, contrast Result marked in a manner of highlighted or with specific, realize intuitively display comparison test result, use The test operation at family is more easy.
Brief description of the drawings
Fig. 1 is a kind of stream for control methods based on fund system automatic test value that an embodiment of the present invention provides Cheng Tu;
Fig. 2 is in a kind of control methods based on fund system automatic test value that an embodiment of the present invention provides The particular flow sheet that a kind of embodiment of step S30 provides;
Fig. 3 is a kind of contrast device based on fund system automatic test value that another embodiment of the invention provides Structure diagram;
Fig. 4 is in a kind of contrast device based on fund system automatic test value that another embodiment of the invention provides Contrast module a kind of embodiment provide concrete structure schematic diagram;
Fig. 5 is the structure diagram for the terminal device that another embodiment of the invention provides.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In order to illustrate technical scheme, illustrated below by specific embodiment.
The embodiment of the present invention provides a kind of automatic control methods of fund system test value, as shown in Figure 1, the fund system The automatic control methods of test value includes step S10, step S20, step S30 and step S40, the particular content of each step It is as follows:
Step S10. obtains the initial data of default desired value, the original according to HTTP request returning response information Beginning data include field and field message.
In step slo, HTTP request message is obtained after the completion of test, can performs and then receive in order using CURL To actual response message, the initial data with test result is included in response message, needs pair are contained in initial data The field code and test result of ratio.The initial data of default desired value for user set according to demand in fund system into The field and field message of row contrast, are specially the code that user writes, and the original of default desired value can be obtained in DATA domains Beginning data, desired value can modify, and can also be used as default desired value by importing the message of exterior terminal equipment, preset The form of desired value has a variety of, and classification storage is carried out according to the attribute of default desired value, title and contrast information such as field etc. In fund system Database Folder, contrast field includes the amount of money, date and account applied to purchase or redeemed etc..
The response message that step S20. returns to the HTTP request carries out format analysis processing and obtains response field and response word Section message.
In step S20, to HTTP request return response message be JSON formatted datas, and JSON formatted datas be with A kind of continuous character string forms are shown, per data line in may include multiple fields and each field is corresponding disappears Breath, is not easy to read and screens for the developer of front end, for the ease of reading, by corresponding instrument to JSON form numbers According to format analysis processing is carried out, it is a field and the corresponding message of the field to make every data line.
Step S30. sieves the field in the response message according to the field in the initial data for presetting desired value Choosing obtains contrast field and contrast field message.
In step s 30, the field in response message after processing of reordering contains many fields, each field list Is solely a line, then can include multirow field, need multirow field is screened to obtain to carry out field contrast and carry out pair The field of ratio, the mode of screening is to be screened according to the field set in default desired value, by presetting the original of desired value Field filter in data goes out response field with it is expected the contrast field of value field, wherein, response field is filtered out by from sound Answer and the remaining field of other fields field as a comparison is filtered out or screened out in message.
For example, when it is implemented, response message includes tri- row field of A, B, C, it is necessary to which the field of screening is A, Yong Hushe Put and A is filtered out into field as a comparison or filters out B, C, remaining A fields as a comparison.
Step S40. will contrast field message and the field message of default desired value is contrasted, and will be with default desired value The different contrast field message of field message be identified.
In step s 40, the field in response message is screened after obtaining contrast field, it is possible to field will be contrasted Contrasted with the field of initial data in default desired value, specifically, can be disappeared by DIFF or SDIFF by field is contrasted Cease and contrasted with the field message of default desired value, show all field and field message, field and field message package Contrast field and field message, the field and field message of default desired value are included, and according to contrast sequencing to field And field message is ranked up display.The application is not especially limited contrast content, in the application can by DIFF or SDIFF is carried out comprising once but being not limited to contrast once, can also will contrast field with the alternative document in fund system into Row contrast, and comparing result is included in the position of default display in the test report page.
For example, field and field message after being handled by the response message that DIFF or SDIFFHTTP requests return Comparing result after being contrasted with default expectation value field and field message, will be right again by DIFF or SDIFF Derived file is contrasted when than result and fund system daily clearance, and survey is intuitively shown by the test report page Content field and field message are tried, the field for being arranged as required to default desired value is placed on test report with field message The left side, the field and field message of the current response message that HTTP request returns are placed on the right of test report, make to preset The field and field message for the current response message that the field of desired value is returned with field message with HTTP request correspond Place, improve user experience, realize and intuitively reflect test result comprehensively.
Meanwhile the report of fund system automatic test is the html file of a single-page, it is in need to contain institute Javascript codes and CSS codes, can easily open in the case where not depending on other instruments, and HTML is used for structure Set;Javascript codes are set for behavior, and JS codes are the one section of programs performed in browser, and the page can be carried out Dynamic changes, and can also control the state of CSS;CSS codes be used for control webpage to show, as the width of element, height, color, Font size and line-spacing etc..The field message of default desired value and contrast field message it is distinguishing by CSS codes with height Bright mode is marked with specific, is shown when showing fiducial value by show tools in a manner of html file, Comprising key element possessed by general report in report, such as perform how many, succeeded how many, perform the information such as time, herein not It is described in detail, can be also included in report:The comparing result of request message based on HTTP and fund system database table with and The comparing result that derived file is contrasted when fund system is cleared daily;Client browser is sent out by contrasting instrument Derived file carries out when the comparing result and fund system of the HTTP request message sent and default desired value are monthly cleared The comparing result of contrast;The content shown in report is usually the difference of HTTP request message and the default desired value of fund system Not, the contrast difference in report marks in a manner of highlighted or with specific.
The present invention provides a kind of control methods of fund system automatic test value, and the response message of HTTP request is passed through Formatting is handled, and the field after handling formatting is ranked up, and the contrast field in sort field is filtered out, by configuring text Part to filtering out contrast field carry out pair with the field of default desired value with postponing, the result of contrast in a manner of highlighted or Person is marked with specific, realizes intuitively display comparison test result.
For the step S20 in above-described embodiment, as a kind of embodiment, the response that the HTTP request returns is believed Breath, which carries out format analysis processing acquisition response field and response field message, to be included:
Step S201. makes the response message that the HTTP request returns by Formatting Facility progress format analysis processing each Response field and response field message are arranged by row.
In step s 201, it can refer to JQ tool functions as a kind of embodiment, Formatting Facility, pass through JQ instruments The JSON message that function pair returns is formatted processing, the content of displaying is more visualized and can be screened.
Specifically, the working method of JQ tool functions:1st, user-defined format exports certain one or more;2nd, according to field And field message obtains a certain item array;3rd, highlight and press attribute sequencing display;4th, output format, realizes beautiful display effect Fruit;JQ tool functions allow directly to operate JSON under order line, including burst, filtering, conversion etc. operation.
In step s 201, as another embodiment, first, the maximum length for treating sort field is set;Then, it is right Treat that sort field distinguishes calculated field length;Finally, carried out mending 0 operation according to length, field is converted to the word of equal length Symbol string.Such as setting treats that the maximum length of sort field is 15, former character string is " trade ", then is after changing “000000trade”.Transformed multi-field is combined into a new character string, and is assigned to interim field.For example, will " trade " is combined as " 000000trade00123.12345 with " 123.12345 ".Due to pre-defined " trade " with The maximum length of " 123.12345 ", it is possible to which each attribute field in combining characters string is marked off according to length setting Value.Interim field is ranked up using individual character section sort method.Obtained combining characters string is essentially an individual character section, can So that each response field and response field message are arranged by row.
For the step S30 in above-described embodiment, as a kind of embodiment, as shown in Fig. 2, according to default desired value Field in initial data carries out the response field screening and obtains contrast field and contrast field message, including:
The field that step S301. obtains default desired value puts in order rule, is arranged according to the field of default desired value suitable Sequence rule is ranked up the response field.
In step S301, field be ordered as being ranked up in alphabetical order or according to the significance level of field and Difference is ranked up, and it is also different to contrast discrepant the results show mark, for example, field includes sp-user, trade, order- Date and retcode, when user setting is ranked up by the letter of field, field according to retcode, sp-user, trade, Order-date is ranked up.For example, significant field is shown according to color difference, color can be purple aobvious by the yellowish green ultramarine of human society Show different significance levels, can be shown successively according to color after being ranked up to significance level, it is significance level to preset red For highest, then purple is that significance level is minimum, further, there is three fields when being ranked up to each field in message For A, B, C, if being ordered as C, B, A according to the significance level of field, C is that significance level is highest, can be carried out with red-label Display;B can be shown with orange mark;A is minimum for significance level, is shown with yellow flag;In addition, the difference by field The mark of not different displays is also different, for example, the difference difference of field is shown according to color difference, color can be yellow by human society Malachite royal purple shows different significance levels, can be shown successively according to color after being ranked up to significance level, presets red It is highest for significance level, then purple is that significance level is minimum, and each field in message has three fields when being ranked up For A, B, C, if A takes second place with presetting desired value difference in fund system for maximum, B, A is with presetting desired value difference in fund system For minimum, then A can be shown with red-label;B can be shown with orange mark;C can be shown with yellow flag, no It is marked with showing to mark in the present embodiment including but not limited to color.
Step S302. carries out the response field for completing sequence screening according to the field of default desired value and obtains contrast field And contrast field message.
In step s 302, can be carried out sieving after the field of response is ranked up according to the field of default desired value Choosing, putting in order with putting in order for the field of default desired value for the contrast field filtered out is identical, and then realizes word Contrast between section.
Step S303. is configured the field of the default desired value and the contrast field by configuration file, is made The field of the default desired value is corresponded with the contrast field.
In step S303, for example, in the specific embodiment of the invention, preset the field of desired value according to retcode, Sp-user, trade, order-date are ranked up, and contrast field is when being configured, the contrast field filtered out also according to Retcode, sp-user, trade, order-date are ranked up, and field and the contrast field one for presetting desired value are a pair of Should, as the field retcode of default desired value corresponds to the retcode in contrast field.
A kind of control methods of fund system automatic test value is provided in the embodiment of the present invention, by JQ instruments to HTTP The response message that request returns is formatted processing, obtains clear intuitively response message;Response message field actually receives Order it is different from the sequence of desired value message field, response message is arranged according to the default ordering rule for it is expected value field Sequence, realizes that the order of response message field is identical with desired value order of the field, will not produce failure result because order is different; After completing sequence, response message field is screened, filters out the field contrasted with it is expected value field;By configuring text Part to contrast field configure, easy to by DIFF or SDIFF to response message field and field message and desired value Field and field message are contrasted, can reach by the message of HTTP request returning response with it is default it is expected value field with And field message accurately contrasts.
Another kind embodiment of the invention provides a kind of automatic contrast device 40 of fund system test value, as shown in figure 3, base The automatic contrast device of golden system testing value includes:
Data acquisition module 401, for according to HTTP request returning response information, while obtains the original of default desired value Data;
Data processing module 402, the response message for being returned to the HTTP request carry out processing and obtain response field And response field message;
Field contrast module 403, for the field in the initial data according to default desired value to the response field into Row screening obtains contrast field and contrast field message, and the field message of the contrast field message and default desired value is carried out Contrast;
Field display module 404, by the contrast field message different from the field message of the default desired value into rower Know.
Further, the data processing module 402 is additionally operable to pass through lattice to the response message that the HTTP request returns Formula chemical industry tool, which carries out format analysis processing, makes each response field and response field message be arranged by row.
Further, as shown in figure 4, the field contrast module 403 includes:
Queueing discipline acquiring unit 410, the field in initial data for obtaining default desired value put in order rule;
Field sequencing unit 411, for according to the field of default desired value put in order rule to the response field into Row sequence;
Field filter unit 412, for being screened according to the field of default desired value to the response field for completing sequence Obtain contrast field and contrast field message;
Field configuration module 413, for by configuration file by the field of the default desired value and the contrast field Configured, the field and the contrast field for making the default desired value correspond.
The specific work process of module in above-mentioned terminal device, may be referred to the corresponding process in preceding method embodiment, Details are not described herein.
Another kind embodiment of the invention provides a computer-readable recording medium, is stored on the computer-readable recording medium There is computer program, which realizes the automatic of the fund system test value in above-described embodiment when being executed by processor Control methods, to avoid repeating, which is not described herein again.Alternatively, the computer program realizes above-mentioned implementation when being executed by processor The automatic function of contrasting each module/unit in device of fund system test value in example, to avoid repeating, which is not described herein again.
Fig. 5 is the schematic diagram of terminal device in the present embodiment.As shown in figure 5, terminal device 5 includes processor 50, storage Device 51 and it is stored in the computer program 52 that can be run in memory 51 and on processor 50.Processor 50 performs computer A kind of each step of the control methods based on fund system automatic test value in above-described embodiment is realized during program 52, such as Step S10, S20, S30 and S40 shown in Fig. 1.Alternatively, processor 50 is realized in above-described embodiment when performing computer program 52 A kind of function of contrast device modules/unit based on fund system automatic test value, data acquisition as shown in Figure 3 Module 401, data processing module 402, the function of field contrast module 403 and field display module 404.
The terminal device 5 can be the computing devices such as desktop PC, notebook, palm PC and cloud server. Terminal device may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that Fig. 5 is only The example of terminal device 5, does not form the restriction to terminal device 5, can include components more more or fewer than diagram, or Combine some components, or different components, for example, terminal device can also include input-output equipment, network access equipment, Bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
Memory 51 can be the internal storage unit of terminal device 5, such as the hard disk or memory of terminal device 5.Storage Device 51 can also be the plug-in type hard disk being equipped with the External memory equipment of terminal device 5, such as terminal device 5, intelligent storage Block (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc.. Further, memory 51 can also both include the internal storage unit of terminal device 5 or including External memory equipment.Memory 51 are used to store computer program and other programs and data needed for terminal device.Memory 51 can be also used for temporarily Store the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer-readable recording medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to foregoing each Technical solution described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical solution, should all Within protection scope of the present invention.

Claims (10)

  1. A kind of 1. automatic control methods of fund system test value, it is characterised in that the fund system test value it is automatic right Ratio method includes:
    According to HTTP request returning response information, while the initial data of default desired value is obtained, the initial data includes word Section and field message;
    Format analysis processing is carried out to the response message that the HTTP request returns and obtains response field and response field message;
    Field in the initial data of the default desired value carries out the field of the response message screening and obtains contrast Field and contrast field message;
    The contrast field message and the field message of the default desired value are contrasted, and will be with the default desired value The different contrast field message of field message be identified.
  2. 2. the automatic control methods of fund system test value according to claim 1, it is characterised in that described to described The response message that HTTP request returns, which carries out format analysis processing acquisition response field and response field message, to be included:
    Carrying out format analysis processing by Formatting Facility to the response message that the HTTP request returns makes each response field and sound Field message is answered to be arranged by row.
  3. 3. the automatic control methods of fund system test value according to claim 1, it is characterised in that according to default expectation Field in the initial data of value carries out the response field screening and obtains contrast field and contrast field message, including:
    The field in the initial data of default desired value is obtained to put in order rule;
    According to the field of default desired value put in order rule the response field is ranked up;
    Screening acquisition contrast field carries out the response field for completing sequence according to the field of default desired value and contrast field disappears Breath.
  4. 4. the automatic control methods of fund system test value according to claim 3, it is characterised in that according to default expectation The field of value carries out the response field for completing sequence screening and obtains contrast field and contrast field message, further includes afterwards:
    The field of the default desired value and the contrast field are configured by configuration file, make the default desired value Field with it is described contrast field correspond.
  5. 5. the automatic control methods of fund system test value according to claim 4, it is characterised in that the field arrangement Cahn-Ingold-Prelog sequence rule is to be ranked up or be ranked up according to the significance level of field in alphabetical order.
  6. A kind of 6. automatic contrast device of fund system test value, it is characterised in that the fund system test value it is automatic right Include than device:
    Data acquisition module, for according to HTTP request returning response information, while obtains the initial data of default desired value;
    Data processing module, the response message for being returned to the HTTP request carry out processing and obtain response field and response word Section message;
    Field contrast module, carries out screening to the response field for the field in the initial data according to default desired value and obtains Contrast field and contrast field message are taken, the contrast field message and the field message of default desired value are contrasted;
    Field display module, the contrast field message different from the field message of the default desired value is identified.
  7. 7. the automatic contrast device of fund system test value according to claim 6, it is characterised in that the data processing Module is additionally operable to make each response word by Formatting Facility progress format analysis processing to the response message that the HTTP request returns Section and response field message are arranged by row.
  8. 8. the automatic contrast device of fund system test value according to claim 6, it is characterised in that the field contrast Module includes:
    Queueing discipline acquiring unit, the field in initial data for obtaining default desired value put in order rule;
    Field sequencing unit, for being put in order according to the field for presetting desired value, rule is ranked up the response field;
    Field filter unit, carries out screening to the response field for completing sequence for the field according to default desired value and obtains contrast Field and contrast field message;
    Field configuration module, for being matched somebody with somebody the field of the default desired value and the contrast field by configuration file Put, the field and the contrast field for making the default desired value correspond.
  9. 9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that the processor realizes such as claim 1 to 5 when performing the computer program The step of automatic control methods of any one fund system test value.
  10. 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In, when the computer program is executed by processor realize as described in any one of claim 1 to 5 fund system test value oneself The step of dynamic control methods.
CN201711082880.1A 2017-11-07 2017-11-07 Method, device, equipment and storage medium for automatically comparing fund system test values Active CN108038125B (en)

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 true CN108038125A (en) 2018-05-15
CN108038125B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
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
CN110688302A (en) * 2019-08-27 2020-01-14 天津开心生活科技有限公司 Automatic field library testing method and device
CN116483689A (en) * 2023-03-13 2023-07-25 深圳华锐分布式技术股份有限公司 Method, device, equipment and medium for testing option brokerage quick trading system

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090287734A1 (en) * 2005-10-21 2009-11-19 Borders Kevin R Method, system and computer program product for comparing or measuring information content in at least one data stream
US7644083B1 (en) * 2004-09-30 2010-01-05 Teradata Us, Inc. Efficiently performing inequality joins
CN101764720A (en) * 2009-11-24 2010-06-30 福建星网锐捷网络有限公司 Method and system for testing filtration performance
CN102222038A (en) * 2010-04-16 2011-10-19 中国工商银行股份有限公司 Transaction software test method and system based on banking business
CN104965865A (en) * 2015-06-08 2015-10-07 北京广利核系统工程有限公司 Quick inspection method of nuclear power plant DCS electronic alarm card
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
CN106155891A (en) * 2015-04-02 2016-11-23 阿里巴巴集团控股有限公司 Interface test method, interface description data library generating method and device
CN106445815A (en) * 2016-09-06 2017-02-22 合网络技术(北京)有限公司 Automated testing method and device
CN106503268A (en) * 2016-12-07 2017-03-15 广东神马搜索科技有限公司 Data Comparison methods, devices and systems
CN106776264A (en) * 2015-11-24 2017-05-31 北京国双科技有限公司 The method of testing and device of application code

Family Cites Families (2)

* Cited by examiner, † Cited by third party
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
CN103312551B (en) * 2012-03-12 2016-02-17 腾讯科技(深圳)有限公司 The method of testing of CGI(Common gateway interface) and testing apparatus

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7644083B1 (en) * 2004-09-30 2010-01-05 Teradata Us, Inc. Efficiently performing inequality joins
US20090287734A1 (en) * 2005-10-21 2009-11-19 Borders Kevin R Method, system and computer program product for comparing or measuring information content in at least one data stream
CN101764720A (en) * 2009-11-24 2010-06-30 福建星网锐捷网络有限公司 Method and system for testing filtration performance
CN102222038A (en) * 2010-04-16 2011-10-19 中国工商银行股份有限公司 Transaction software test method and system based on banking business
CN106155891A (en) * 2015-04-02 2016-11-23 阿里巴巴集团控股有限公司 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
CN106776264A (en) * 2015-11-24 2017-05-31 北京国双科技有限公司 The method of testing and device of application code
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
CN106445815A (en) * 2016-09-06 2017-02-22 合网络技术(北京)有限公司 Automated testing method and device
CN106503268A (en) * 2016-12-07 2017-03-15 广东神马搜索科技有限公司 Data Comparison methods, devices and systems

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨清玉 等: "HTTP接口自动化测试方法研究", 《微型机与应用》 *

Cited By (5)

* Cited by examiner, † Cited by third party
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
CN110688302A (en) * 2019-08-27 2020-01-14 天津开心生活科技有限公司 Automatic field library testing method and device
CN110688302B (en) * 2019-08-27 2023-03-31 天津开心生活科技有限公司 Automatic field library testing method and device
CN116483689A (en) * 2023-03-13 2023-07-25 深圳华锐分布式技术股份有限公司 Method, device, equipment and medium for testing option brokerage quick trading system
CN116483689B (en) * 2023-03-13 2024-01-05 深圳华锐分布式技术股份有限公司 Method, device, equipment and medium for testing option brokerage quick trading system

Also Published As

Publication number Publication date
WO2019090825A1 (en) 2019-05-16
CN108038125B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
CN111125560B (en) Data visualization processing method, device and computer system
CN109101469A (en) The information that can search for is extracted from digitized document
CN110910982A (en) Self-coding model training method, device, equipment and storage medium
CN108038125A (en) Automatic control methods, device, equipment and the storage medium of fund system test value
CN104407779B (en) The arrangement display methods and device of graphical interfaces
CN107451112B (en) Form tool data checking method, device, terminal equipment and storage medium
CN110059267A (en) Methods of exhibiting, device, computer equipment and the storage medium of data analysis result
CN106447295A (en) Sign-off file template generation method and apparatus thereof
CN108399025A (en) A kind of method, apparatus and terminal device for correcting identification deviation
CN107491422A (en) Character displaying method, device and electronic equipment
CN108305053A (en) Implementation method, device, electronic equipment and the storage medium of approval process
CN106775970A (en) The window operation synchronous method of striding course, device and electronic equipment
US8108823B2 (en) User selected grid for logically representing an electronic circuit
CN108198322A (en) A kind of magnetic stripe localization method and device
CN110297957A (en) Data processing method and device, electronic equipment and storage medium
CN104484093B (en) The arrangement display methods and device of graphical interfaces
CN104461547B (en) The arrangement display methods and device of graphical interfaces
CN106934958A (en) The method to set up and device of POS printing
CN110287459A (en) Table batch processing method, system, device and can storage medium
CN109101471A (en) A kind of data reordering method, electronic equipment and readable storage medium storing program for executing
Buttrey An excel add-in for statistical process control charts
CN111933228B (en) Method and device for realizing project distribution and management system in clinical research
CN108287810A (en) A kind of business datum display methods, device, equipment and storage medium
CN112487771A (en) Report generation method, report generation device and terminal
CN108416300A (en) A kind of method, apparatus and terminal device of identification handwriting trace

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