CN107992389A - A kind of test method and device - Google Patents

A kind of test method and device Download PDF

Info

Publication number
CN107992389A
CN107992389A CN201711405766.8A CN201711405766A CN107992389A CN 107992389 A CN107992389 A CN 107992389A CN 201711405766 A CN201711405766 A CN 201711405766A CN 107992389 A CN107992389 A CN 107992389A
Authority
CN
China
Prior art keywords
eigenvalue
test
output
measured
cryptographic hash
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.)
Pending
Application number
CN201711405766.8A
Other languages
Chinese (zh)
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.)
Wireless Living (hangzhou) Mdt Infotech Ltd
Original Assignee
Wireless Living (hangzhou) Mdt Infotech 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 Wireless Living (hangzhou) Mdt Infotech Ltd filed Critical Wireless Living (hangzhou) Mdt Infotech Ltd
Priority to CN201711405766.8A priority Critical patent/CN107992389A/en
Publication of CN107992389A publication Critical patent/CN107992389A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2268Logging of test results

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of test method and device.Method includes:Receive the test parameter of input;Test parameter is inputted to test system to be measured, to obtain the First Eigenvalue in the first of test system to be measured the output result;Identical test parameter is inputted into the test system to be measured to renewal, the Second Eigenvalue in the second output result exported with the test system to be measured after being updated;Based on the First Eigenvalue and Second Eigenvalue, Measurement results are obtained.By technical scheme, contrast test efficiency can be effectively improved, reduces the trouble of contrast processing.

Description

A kind of test method and device
Technical field
The present invention relates to technical field of measurement and test, more particularly to a kind of test method and device.
Background technology
At present, when system is reconstructed, but requires not influencing original logic, contrast test is a kind of very common Means of testing.Current way is that tester has prepared a series of input parameter, accesses old system before this, preserves and returns Result;Same input parameter is used afterwards, accesses new system, preserves the result of return.Then by two parts of result texts of the old and new Part contrasts line by line, find out it is different return the result, then it is that what reason causes to analyze.
However, above-mentioned prior art still allows user not convenient enough and experiences imperfect place:
The 1st, if the number of requests of contrast test is very big, then all preservation returned the result very occupied spaces, lead Cause overall time-consuming increase, new ancient deed contrast processing trouble.
Although the 2, the input parameter twice of contrast is consistent, due to not being to access the same time, partly with time correlation Returning to field can be inconsistent, causes new and old destination file comparing result each record all inconsistent, fiber crops are brought to problem investigation It is tired.
The content of the invention
The present invention provides a kind of test method and device, to receive the test parameter of input, by test parameter point After the test system to be measured after test system to be measured and renewal before Shu Ru extremely not updating, by obtaining respectively in the first output result Second Eigenvalue in the First Eigenvalue and the second output result, and the First Eigenvalue and the Second Eigenvalue are based on, obtain Measurement results, characteristic value that can be in the output result based on new and old two test systems to be measured carry out contrast test, this is compared The output result of new and old two test systems is directly carried out contrastingly, to effectively improve contrast and surveying in correlation technique Efficiency is tried, reduces the trouble of contrast processing.
The present invention provides a kind of test method, including:
Receive the test parameter of input;
The test parameter is inputted to test system to be measured, to obtain in the first of the test system to be measured the output result The First Eigenvalue;
The identical test parameter is inputted into the test system to be measured to renewal, it is to be tested after the renewal to obtain Second Eigenvalue in second output result of system output;
Based on the First Eigenvalue and the Second Eigenvalue, Measurement results are obtained.
In one embodiment, it is described to be based on the First Eigenvalue and the Second Eigenvalue, obtain test analysis knot Fruit, including:
The First Eigenvalue and the Second Eigenvalue are protected as the first character string and the second character string respectively Deposit;
Hash processing is carried out to first character string and second character string respectively, obtains the first cryptographic Hash and second Cryptographic Hash, wherein, first cryptographic Hash is corresponding with first character string, second cryptographic Hash and second character Go here and there corresponding;
By first cryptographic Hash compared with second cryptographic Hash, Measurement results are obtained.
In one embodiment, it is described by first cryptographic Hash compared with second cryptographic Hash, obtain test Analysis result, including:
When first cryptographic Hash is different from second cryptographic Hash, output test result different prompt messages, with User is prompted to obtain the Measurement results.
In one embodiment, the prompt message is used to prompt user to re-start test using the test parameter;
The prompting user obtains the Measurement results, including:
Instruction is retested based on what is received, the test parameter is separately input into the test system to be measured and described Test system to be measured after renewal, to obtain the 3rd output result and the 4th output result respectively;
User is prompted to be based on the described 3rd output result and the 4th output as a result, obtaining the Measurement results.
In one embodiment, the First Eigenvalue in the first output result for obtaining the test system to be measured, bag Include:
The First Eigenvalue is filtered out from the described first output result based on preset strategy;
Second Eigenvalue in second output result of the test system to be measured output after the acquisition renewal, including:
The Second Eigenvalue is filtered out from the described second output result based on the preset strategy, wherein, it is described pre- If strategy includes at least one of following:
Filter out the partial output results related with the time;
Filter out the partial output results generated at random;
Filter out default insignificant partial output results.
The present invention also provides a kind of test device, including:
Receiving module, for receiving the test parameter of input;
First input module, for inputting the test parameter to test system to be measured, to obtain the test system to be measured First output result in the First Eigenvalue;
Second input module, for the identical test parameter to be inputted the test system to be measured to renewal, to obtain Second Eigenvalue in second output result of the test system to be measured output after the renewal;
Acquisition module, for based on the First Eigenvalue and the Second Eigenvalue, obtaining Measurement results.
In one embodiment, the acquisition module includes:
Submodule is preserved, for respectively using the First Eigenvalue and the Second Eigenvalue as the first character string and the Two character strings are preserved;
Submodule is handled, for carrying out Hash processing to first character string and second character string respectively, is obtained First cryptographic Hash and the second cryptographic Hash, wherein, first cryptographic Hash is corresponding with first character string, second Hash Value is corresponding with second character string;
Comparison sub-module, for compared with second cryptographic Hash, first cryptographic Hash to be obtained test analysis As a result.
In one embodiment, the comparison sub-module includes:
Output unit, for when first cryptographic Hash is different from second cryptographic Hash, to output test result difference Prompt message, to prompt user to obtain the Measurement results.
In one embodiment, the prompt message is used to prompt user to re-start test using the test parameter;
The output unit includes:
Subelement is inputted, for retesting instruction based on what is received, the test parameter is separately input into described Test system to be measured after test system to be measured and the renewal, to obtain the 3rd output result and the 4th output result respectively;
Subelement is prompted, for prompting user to be based on the described 3rd output result and the 4th output as a result, obtaining institute State Measurement results.
In one embodiment, first input module includes:
First screening submodule, for filtering out the fisrt feature from the described first output result based on preset strategy Value;
Second input module includes:
Second screening submodule, for filtering out described second from the described second output result based on the preset strategy Characteristic value, wherein, the preset strategy includes at least one of following:
Filter out the partial output results related with the time;
Filter out the partial output results generated at random;
Filter out default insignificant partial output results.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The test parameter of input is being received, after the test system to be measured that test parameter is separately input into before renewal and renewal Test system to be measured after, it is second special in the First Eigenvalue in the first output result and the second output result by obtaining respectively Value indicative, and the First Eigenvalue and Second Eigenvalue are based on, Measurement results are obtained, can be based on new and old two test systems to be measured The characteristic value exported in result carries out contrast test, this is compared to the output result for testing system by new and old two in correlation technique Directly carry out contrastingly, contrast test efficiency being effectively improved, reduce the trouble of contrast processing.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Specifically noted structure is realized and obtained in book, claims and attached drawing.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
Attached drawing is used for providing a further understanding of the present invention, and a part for constitution instruction, the reality with the present invention Apply example to be used to explain the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of test method according to an exemplary embodiment.
Fig. 2A is the flow chart of another test method according to an exemplary embodiment.
Fig. 2 B are the flow charts of another test method according to an exemplary embodiment.
Fig. 3 is a kind of block diagram of test device according to an exemplary embodiment.
Fig. 4 is the block diagram of another test device according to an exemplary embodiment.
Embodiment
The preferred embodiment of the present invention is illustrated below in conjunction with attached drawing, it will be appreciated that described herein preferred real Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure provides a kind of test method, and this method is suitable for test In program, system or device, its executive agent can be the terminals such as mobile phone, computer, or server, as shown in Figure 1, should Method includes step S101 to step S104, wherein:
In step S101, the test parameter of input is received;
In step s 102, test parameter is inputted to test system to be measured, is tied with obtaining the first of test system to be measured the output The First Eigenvalue in fruit;
The test system to be measured is the test system before updating, and the First Eigenvalue i.e. first exports can substantially represent in result In the partial output results of whole output result, and whole first output result except those associate with test it is less or easy The partial output results outside the result of user are misled, such as:The output result related with the time easily misleads people, then first is defeated Go out partial results unrelated with the time in result of the result for the test system to be measured output before renewal.
Similarly, Second Eigenvalue hereinafter i.e. second exports the portion that whole output result can be substantially represented in result Point output as a result, and it is whole second output result in except those with test associate less or easily misleading user result it Outer partial output results, such as:The output result related with the time easily misleads people, then after the second output result is renewal The partial results unrelated with the time in the result of test system output to be measured.
In step s 103, identical test parameter is inputted into the test system to be measured to renewal, after being updated Second Eigenvalue in second output result of test system output to be measured;
In step S104, based on the First Eigenvalue and Second Eigenvalue, Measurement results are obtained.
The test parameter of input is being received, after the test system to be measured that test parameter is separately input into before renewal and renewal Test system to be measured after, it is second special in the First Eigenvalue in the first output result and the second output result by obtaining respectively Value indicative, and the First Eigenvalue and Second Eigenvalue are based on, Measurement results are obtained, can be based on new and old two test systems to be measured The characteristic value exported in result carries out contrast test, this is compared to the output result for testing system by new and old two in correlation technique Directly carry out contrastingly, contrast test efficiency being effectively improved, reduce the trouble of contrast processing.
The system that above-mentioned test system to be measured includes but not limited to search engine, correspondingly, the system to be tested after above-mentioned renewal System can be function or the system of further improved search engine,
As shown in Figure 2 A, in one embodiment, the step 104 shown in above-mentioned Fig. 1, i.e., based on the First Eigenvalue and second Characteristic value, obtains Measurement results, can include:
In step s 201, respectively using the First Eigenvalue and Second Eigenvalue as the first character string and the second character string into Row preserves;
In step S202, Hash processing is carried out to the first character string and the second character string respectively, obtains the first cryptographic Hash With the second cryptographic Hash, wherein, the first cryptographic Hash is corresponding with the first character string, and the second cryptographic Hash is corresponding with the second character string; Hash processing is hash processing.
In step S203, by the first cryptographic Hash compared with the second cryptographic Hash, Measurement results are obtained.
By the way that the First Eigenvalue and Second Eigenvalue are preserved as the first character string and the second character string, and First character string and the second character string are subjected to Hash processing, then obtain the first cryptographic Hash compared with the second cryptographic Hash Measurement results are taken, compared with the prior art, can not only mitigate preservation burden, is reduced and is preserved the space occupied and take, And two cryptographic Hash are compared and export portion corresponding with each field in result by two compared with the prior art Output result is divided to carry out successively contrastingly, the efficiency of contrast test will significantly improve, and efficiently reduce the fiber crops of contrast processing It is tired.
In one embodiment, by the first cryptographic Hash compared with the second cryptographic Hash, Measurement results, bag are obtained Include:
When the first cryptographic Hash is different from the second cryptographic Hash, output test result different prompt messages, to prompt user Obtain Measurement results.
When the first cryptographic Hash is different from the second cryptographic Hash, original logic is changed before and after illustrating system update, because And exportable prompt message, to prompt user to be analyzed, so as to obtain Measurement results.
Prompt message can be word, such as export the difference of the first cryptographic Hash and the second cryptographic Hash;Or
Prompt message can also be voice, vibration, picture etc..
When the first cryptographic Hash is identical with the second cryptographic Hash, original logic is not changed before and after illustrating system update, Thus, prompt message can not be exported, to avoid user is bothered, or exports the identical prompt message of test result twice.
In one embodiment, prompt message is used to prompt user to re-start test using test parameter;
User is prompted to obtain Measurement results, including:
Instruction is retested based on what is received, test parameter is separately input into be measured after test system to be measured and renewal Test system, to obtain the 3rd output result and the 4th output result respectively;
User is prompted to be based on the 3rd output result and the 4th output as a result, obtaining Measurement results.
Above-mentioned prompt message can prompt user to test new-old system respectively again using above-mentioned test parameter, in this way, connecing Receive after retesting instruction, instruction can be retested based on this, test parameter is separately input into test system to be measured and renewal Test system to be measured afterwards, the 3rd output result returned with obtaining test system to be measured respectively are returned with the test system to be measured after renewal The 4th output as a result, and then prompt user be based on the 3rd output result and the 4th output result analyzed, to be tested Analysis result, in this way, user is by the way that the corresponding part output of each field in the 3rd output result and the 4th output result is tied Fruit is contrasted one by one, you can obtains Measurement results.
Wherein, the 3rd output result that test system to be measured returns can be by the corresponding part of multiple fields in test system to be measured Result composition is exported, and the 4th output result that the test system to be measured after updating returns can be by the test system to be measured after updating The corresponding partial output results composition of multiple fields.
Similarly, the first output result and the second output result be also in this way, details are not described herein again, and the First Eigenvalue and the Two characteristic values are respectively to be exported in the first output result and the second output result to testing really significant field corresponding part As a result.
Such as:The easy disturbed test result of the corresponding partial output results of time field and then interference use in test system to be measured Family, then the First Eigenvalue is the remaining output knot in the first output result in addition to the corresponding partial output results of time field Fruit.
Again for example:The corresponding partial output results of some fields have very strong randomness in test system to be measured, easily influence Contrast test, then the First Eigenvalue is remaining in addition to the corresponding partial output results of above-mentioned part field in the first output result Remaining output result.
In one embodiment, the First Eigenvalue in the first output result of test system to be measured is obtained, including:
The First Eigenvalue is filtered out from the first output result based on preset strategy;
Second Eigenvalue in second output result of the test system to be measured output after being updated, including:
Based on preset strategy from second output result in filter out Second Eigenvalue, wherein, preset strategy include with down toward One item missing:
Filter out the partial output results related with the time;Filter out part corresponding with time field in output result Export result;
Filter out the partial output results generated at random;Filter out the field with result can be generated at random in output result Corresponding partial output results;
Filter out default insignificant partial output results;Filter out corresponding with negligible field in output result Partial output results, wherein, negligible field can associate little field with test in test system to be measured set in advance.
By filtering out fisrt feature from the first output result and the second output result respectively according to above-mentioned preset strategy Value and Second Eigenvalue, can avoid directly being compared original return the result, but to really there is the return knot of comparative sense Partial feature value in fruit is extracted, and to avoid influence of the follow-up irrelevant result to test, is reduced and is returned the result The file size of preservation, the contrast operation after simplifying.
Technical scheme is further illustrated below in conjunction with Fig. 2 B, as shown in Figure 2 B:
In step S204, input parameter accesses old system, obtains first and returns the result.
In step S205, parsing first returns the result, and extracts the First Eigenvalue.
In step S206, the First Eigenvalue is subjected to Hash processing, obtains the first cryptographic Hash.
In step S207, the first cryptographic Hash is preserved to destination file.
In step S208, input identical parameters access new system, obtain second and return the result.
In step S209, parsing second returns the result, and extracts Second Eigenvalue.
In step S210, Second Eigenvalue is subjected to Hash processing, obtains the second cryptographic Hash.
In step S211, the second cryptographic Hash is preserved to destination file.
In step S212, the first cryptographic Hash and the second cryptographic Hash are compared.
In step S213, when inconsistent, prompt message is exported.
As shown in figure 3, the present invention also provides a kind of test device, including:
Receiving module 301, is configured as receiving the test parameter of input;
First input module 302, is configured as inputting test parameter to test system to be measured, to obtain test system to be measured The First Eigenvalue in first output result;
Second input module 303, is configured as identical test parameter inputting the test system to be measured to renewal, to obtain Second Eigenvalue in second output result of the test system to be measured output after must updating;
Acquisition module 304, is configured as being based on the First Eigenvalue and Second Eigenvalue, obtains Measurement results.
As shown in figure 4, in one embodiment, acquisition module 304 can include:
Submodule 3041 is preserved, is configured to using the First Eigenvalue and Second Eigenvalue as the first character string and the Two character strings are preserved;
Submodule 3042 is handled, is configured to carry out Hash processing to the first character string and the second character string, obtains First cryptographic Hash and the second cryptographic Hash, wherein, the first cryptographic Hash is corresponding with the first character string, the second cryptographic Hash and the second character Go here and there corresponding;
Comparison sub-module 3043, is configured as by the first cryptographic Hash compared with the second cryptographic Hash, obtains test analysis As a result.
In one embodiment, comparison sub-module includes:
Output unit, be configured as the first cryptographic Hash it is different from the second cryptographic Hash when, output test result different carry Show information, to prompt user to obtain Measurement results.
In one embodiment, prompt message is configured as prompting user and re-starts test using test parameter;
Output unit includes:
Subelement is inputted, is configured as retesting instruction based on what is received, test parameter is separately input into be measured Test system to be measured after test system and renewal, to obtain the 3rd output result and the 4th output result respectively;
Subelement is prompted, prompting user is configured as and is based on the 3rd output result and the 4th output as a result, obtaining test point Analyse result.
In one embodiment, the first input module includes:
First screening submodule, is configured as filtering out the First Eigenvalue from the first output result based on preset strategy;
Second input module includes:
Second screening submodule, is configured as filtering out Second Eigenvalue from the second output result based on preset strategy, Wherein, preset strategy includes at least one of following:
Filter out the partial output results related with the time;
Filter out the partial output results generated at random;
Filter out default insignificant partial output results.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Finally, the test device in the present invention is suitable for terminal device.For example, it may be mobile phone, computer, numeral Broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more The shape for the computer program product that usable storage medium is implemented on (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or square frame in journey and/or square frame and flowchart and/or the block diagram.These computer programs can be provided The processors of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices, which produces, to be used in fact The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided and is used for realization in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a square frame or multiple square frames.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and scope.In this way, if these modifications and changes of the present invention belongs to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these modification and variations.

Claims (10)

  1. A kind of 1. test method, it is characterised in that including:
    Receive the test parameter of input;
    The test parameter is inputted to test system to be measured, to obtain first in the first of the test system to be measured the output result Characteristic value;
    The identical test parameter is inputted into the test system to be measured to renewal, to obtain the test system to be measured after the renewal Second Eigenvalue in second output result of output;
    Based on the First Eigenvalue and the Second Eigenvalue, Measurement results are obtained.
  2. 2. according to the method described in claim 1, it is characterized in that,
    It is described to be based on the First Eigenvalue and the Second Eigenvalue, Measurement results are obtained, including:
    The First Eigenvalue and the Second Eigenvalue are preserved as the first character string and the second character string respectively;
    Hash processing is carried out to first character string and second character string respectively, obtains the first cryptographic Hash and the second Hash Value, wherein, first cryptographic Hash is corresponding with first character string, second cryptographic Hash and the second character string phase It is corresponding;
    By first cryptographic Hash compared with second cryptographic Hash, Measurement results are obtained.
  3. 3. according to the method described in claim 2, it is characterized in that,
    It is described by first cryptographic Hash compared with second cryptographic Hash, obtain Measurement results, including:
    When first cryptographic Hash is different from second cryptographic Hash, output test result different prompt messages, with prompting User obtains the Measurement results.
  4. 4. according to the method described in claim 3, it is characterized in that,
    The prompt message is used to prompt user to re-start test using the test parameter;
    The prompting user obtains the Measurement results, including:
    Instruction is retested based on what is received, the test parameter is separately input into the test system to be measured and the renewal Test system to be measured afterwards, to obtain the 3rd output result and the 4th output result respectively;
    User is prompted to be based on the described 3rd output result and the 4th output as a result, obtaining the Measurement results.
  5. 5. method according to any one of claim 1 to 4, it is characterised in that
    The First Eigenvalue in the first output result for obtaining the test system to be measured, including:
    The First Eigenvalue is filtered out from the described first output result based on preset strategy;
    Second Eigenvalue in second output result of the test system to be measured output after the acquisition renewal, including:
    The Second Eigenvalue is filtered out from the described second output result based on the preset strategy, wherein, the default plan Slightly include at least one of following:
    Filter out the partial output results related with the time;
    Filter out the partial output results generated at random;
    Filter out default insignificant partial output results.
  6. A kind of 6. test device, it is characterised in that including:
    Receiving module, for receiving the test parameter of input;
    First input module, for inputting the test parameter to test system to be measured, to obtain the of the test system to be measured The First Eigenvalue in one output result;
    Second input module, for the identical test parameter to be inputted the test system to be measured to renewal, with described in acquisition Second Eigenvalue in second output result of the test system to be measured output after renewal;
    Acquisition module, for based on the First Eigenvalue and the Second Eigenvalue, obtaining Measurement results.
  7. 7. device according to claim 6, it is characterised in that
    The acquisition module includes:
    Submodule is preserved, for respectively using the First Eigenvalue and the Second Eigenvalue as the first character string and the second word Symbol string is preserved;
    Submodule is handled, for carrying out Hash processing to first character string and second character string respectively, obtains first Cryptographic Hash and the second cryptographic Hash, wherein, first cryptographic Hash is corresponding with first character string, second cryptographic Hash with Second character string is corresponding;
    Comparison sub-module, for compared with second cryptographic Hash, first cryptographic Hash to be obtained Measurement results.
  8. 8. device according to claim 7, it is characterised in that
    The comparison sub-module includes:
    Output unit, for when first cryptographic Hash is different from second cryptographic Hash, to output test result different carry Show information, to prompt user to obtain the Measurement results.
  9. 9. device according to claim 8, it is characterised in that
    The prompt message is used to prompt user to re-start test using the test parameter;
    The output unit includes:
    Subelement is inputted, for retesting instruction based on what is received, the test parameter is separately input into described to be measured Test system to be measured after test system and the renewal, to obtain the 3rd output result and the 4th output result respectively;
    Subelement is prompted, for prompting user to be based on the described 3rd output result and the 4th output as a result, obtaining the survey Try analysis result.
  10. 10. the device according to any one of claim 6 to 9, it is characterised in that
    First input module includes:
    First screening submodule, for filtering out the First Eigenvalue from the described first output result based on preset strategy;
    Second input module includes:
    Second screening submodule, for filtering out the second feature from the described second output result based on the preset strategy Value, wherein, the preset strategy includes at least one of following:
    Filter out the partial output results related with the time;
    Filter out the partial output results generated at random;
    Filter out default insignificant partial output results.
CN201711405766.8A 2017-12-22 2017-12-22 A kind of test method and device Pending CN107992389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711405766.8A CN107992389A (en) 2017-12-22 2017-12-22 A kind of test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711405766.8A CN107992389A (en) 2017-12-22 2017-12-22 A kind of test method and device

Publications (1)

Publication Number Publication Date
CN107992389A true CN107992389A (en) 2018-05-04

Family

ID=62042307

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711405766.8A Pending CN107992389A (en) 2017-12-22 2017-12-22 A kind of test method and device

Country Status (1)

Country Link
CN (1) CN107992389A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060294434A1 (en) * 2005-06-28 2006-12-28 Fujitsu Limited Test recording method and device, and computer-readable recording medium storing test recording program
CN104360920A (en) * 2014-12-02 2015-02-18 微梦创科网络科技(中国)有限公司 Automatic testing method and device for interface
CN104951399A (en) * 2015-06-19 2015-09-30 北京齐尔布莱特科技有限公司 Software test system and method
CN106815100A (en) * 2015-11-27 2017-06-09 北京国双科技有限公司 Interface test method and device
CN106897217A (en) * 2017-02-13 2017-06-27 北京趣拿软件科技有限公司 Method of testing and test device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060294434A1 (en) * 2005-06-28 2006-12-28 Fujitsu Limited Test recording method and device, and computer-readable recording medium storing test recording program
CN104360920A (en) * 2014-12-02 2015-02-18 微梦创科网络科技(中国)有限公司 Automatic testing method and device for interface
CN104951399A (en) * 2015-06-19 2015-09-30 北京齐尔布莱特科技有限公司 Software test system and method
CN106815100A (en) * 2015-11-27 2017-06-09 北京国双科技有限公司 Interface test method and device
CN106897217A (en) * 2017-02-13 2017-06-27 北京趣拿软件科技有限公司 Method of testing and test device

Similar Documents

Publication Publication Date Title
US10120783B2 (en) Determining test case efficiency
CN109543942A (en) Data verification method, device, computer equipment and storage medium
CN107622008B (en) Traversal method and device for application page
WO2016073765A1 (en) Method and system for behavior query construction in temporal graphs using discriminative sub-trace mining
CN106603296A (en) Log processing method and device
CN109902002A (en) Generation method and device, storage medium, the computer equipment of combined test use-case
CN107861981A (en) A kind of data processing method and device
CN112956157B (en) System and method for tracking client device events
CN106649120A (en) Data acquisition method, and data analysis method and system
CN107102944A (en) The analysis method and device of a kind of call function
CN110110172B (en) Information display method and device
CN106815140A (en) A kind of interface test method and device
CN111177779A (en) Database auditing method, device thereof, electronic equipment and computer storage medium
CN106951562A (en) A kind of desensitization method and device of Chinese Name data
CN109726826B (en) Training method and device for random forest, storage medium and electronic equipment
CN112597052A (en) Interface testing method and device and computer readable storage medium
CN111092880A (en) Network traffic data extraction method and device
CN107392018A (en) Application program hulling method and device
US9934292B2 (en) Dynamic presentation of a results set by a form-based software application
CN107402878A (en) Method of testing and device
CN106708723A (en) Testing and verifying methods and apparatuses
CN112019544B (en) Network interface security scanning method, device and system
CN109885484A (en) Application page test method, device, computer equipment and storage medium
CN109684213A (en) A kind of test method, device and storage medium
CN105550250B (en) A kind of processing method and processing device of access log

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180504