CN106371993A - Testing method and testing device based on data packet - Google Patents

Testing method and testing device based on data packet Download PDF

Info

Publication number
CN106371993A
CN106371993A CN201610796837.0A CN201610796837A CN106371993A CN 106371993 A CN106371993 A CN 106371993A CN 201610796837 A CN201610796837 A CN 201610796837A CN 106371993 A CN106371993 A CN 106371993A
Authority
CN
China
Prior art keywords
encrypted
test data
intended application
test
safety equipment
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
CN201610796837.0A
Other languages
Chinese (zh)
Other versions
CN106371993B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610796837.0A priority Critical patent/CN106371993B/en
Publication of CN106371993A publication Critical patent/CN106371993A/en
Application granted granted Critical
Publication of CN106371993B publication Critical patent/CN106371993B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a testing method and a testing device based on a data packet. The method comprises the following steps of building a plurality of test data packets to be encrypted corresponding to target applications based on acquired accessed relevant information of the target applications; simultaneously sending the test data packets to be encrypted for accessing the target applications. According to the technical scheme provided by the invention, the access traffic of a plurality of users aiming at the target applications is realized; the access traffic of the users is adopted as traffic input of a software system performance test, especially used as traffic input of a test of safety equipment product stability under the high concurrency condition, so that the possibility is provided for the high-quality test of the safety equipment product stability, and the premise and the assurance are provided for testing efficiency and testing accuracy of the safety equipment product stability.

Description

Method of testing based on packet and test device
Technical field
The present invention relates to field of software engineering, specifically, the present invention relates to a kind of method of testing based on packet and A kind of test device based on packet.
Background technology
Development with current software development technique and maturation, more and more complicated software systems are applied to people's life Every field, due to by testing to the performance of software system, being capable of quick positioning effects software system operational efficiency Problem be located, and then targetedly adjusting and optimizing is carried out to software system, so the performance test of software system has become For weighing a major criterion of speed measuring with software.
In the prior art, the performance test of software system typically passes through testing tool or by complete simulation softward system Running environment realizing;However, the performance test mode of existing two kinds of software systems is all in the visit simulating multiple users Ask and have some limitations on flow, especially for safety equipment class product, the performance test side of both software systems The flowing of access of multiple users that the performance that formula all cannot simulate for safety equipment product exactly is tested.
Content of the invention
For overcoming above-mentioned technical problem or solving above-mentioned technical problem at least in part, the special technical scheme below that proposes:
Embodiments of the invention propose a kind of method of testing based on packet, comprising:
Based on the access related information of the intended application getting, construct multiple density tests to be added corresponding to intended application Packet;
Send multiple test data bags to be encrypted, with access target application simultaneously.
It is preferably based on the access related information of the intended application getting, comprising:
The packet of the intended application grabbing is parsed, to obtain the access related information of intended application;
Wherein, access related information includes intended application reference address, the access mode of intended application, the visit of intended application Ask at least one in parameter.
Preferably, send multiple test data bags to be encrypted, with access target application simultaneously, comprising:
Multiple test data bags to be encrypted are simultaneously sent to safety equipment, so that by safety equipment to multiple to be added After density test packet is encrypted, and encryption test data bag is forwarded to intended application.
Preferably, the method also includes:
Receive, by safety equipment, the decrypted test data bag after corresponding decryption processing is carried out to encryption test data bag;
The ciphertext data that the be-encrypted data of test data bag to be encrypted is conciliate density test packet is contrasted;
Determine the test result of the stability of safety equipment according to comparing result.
Preferably, the method also includes:
Receive the response message in response to multiple test data bags to be encrypted for the intended application;
Resolution response information, and judge whether each test data bag to be encrypted accesses successfully according to analysis result.
Another embodiment of the present invention proposes a kind of test device based on packet, comprising:
Constructing module, for the access related information based on the intended application getting, construction is multiple should corresponding to target Test data bag to be encrypted;
Sending module, for sending multiple test data bags to be encrypted simultaneously, with access target application.
Preferably, constructing module, for parsing to the packet of the intended application grabbing, to obtain intended application Access related information;
Wherein, access related information includes intended application reference address, the access mode of intended application, the visit of intended application Ask at least one in parameter.
Preferably, sending module, for multiple test data bags to be encrypted are simultaneously sent to safety equipment, so that logical Cross after safety equipment are encrypted to multiple test data bags to be encrypted, and encryption test data bag is forwarded to target should With.
Preferably, this device also includes:
First receiver module, is carried out after corresponding decryption processing to encryption test data bag by safety equipment for receiving Decrypted test data bag;
Contrast module, for conciliating by the be-encrypted data of test data bag to be encrypted with the ciphertext data of density test packet Contrasted;
Test module, for determining the test result of the stability of safety equipment according to comparing result.
Preferably, this device also includes:
Second receiver module, for receiving the response message in response to multiple test data bags to be encrypted for the intended application;
Whether parsing module, for resolution response information, and judge each test data bag to be encrypted according to analysis result Access successfully.
In technical scheme, construct multiple test data bags to be encrypted, and send multiple test datas to be encrypted Bag, with access target application, it is achieved thereby that simulation is for the flowing of access of multiple users of intended application;And by the plurality of use , as under the conditions of high concurrent, the flow input of testing software system performance, especially as safety equipment for the flowing of access at family The flow input of the test of class product stability, thus provide can for the high-quality test of safety equipment class product stability Can, also as the testing efficiency of safety equipment class product stability and test accuracy rate provide precondition and guarantee.
The aspect that the present invention adds and advantage will be set forth in part in the description, and these will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description
The above-mentioned and/or additional aspect of the present invention and advantage will become from the following description of the accompanying drawings of embodiments Substantially and easy to understand, wherein:
Fig. 1 is the schematic flow sheet of the method for testing based on packet of one embodiment of the invention;
Fig. 2 is the schematic flow sheet of the test of the stability of safety equipment of a preferred embodiment of the invention;
For another preferred embodiment of the present invention, Fig. 3 judges whether test data bag to be encrypted accesses successful flow process and illustrate Figure;
Fig. 4 is the structural framing schematic diagram of the test device based on packet of another embodiment of the present invention;
Fig. 5 is the test dress based on packet of the stability of test safety equipment of a preferred embodiment of the present invention The structural framing schematic diagram put;
For another preferred embodiment of the present invention, Fig. 6 judges whether test data bag to be encrypted accesses successfully based on number Structural framing schematic diagram according to the test device of bag.
Specific embodiment
Embodiments of the invention are described below in detail, the example of described embodiment is shown in the drawings, wherein from start to finish The element that same or similar label represents same or similar element or has same or like function.Below with reference to attached The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " " used herein, " Individual ", " described " and " being somebody's turn to do " may also comprise plural form.It is to be further understood that arranging used in the description of the present invention Diction " inclusion " refers to there is described feature, integer, step, operation, element and/or assembly, but it is not excluded that existing or adding Other features one or more, integer, step, operation, element, assembly and/or their group.It should be understood that when we claim unit Part is " connected " or during " coupled " to another element, and it can be directly connected or coupled to other elements, or can also exist Intermediary element.Additionally, " connection " used herein can include wirelessly connecting or " coupling " can include wirelessly coupling.Here make Wording "and/or" includes one or more associated list the whole of item or any cell and combines with whole.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (include technology art Language and scientific terminology), there is the general understanding identical meaning with the those of ordinary skill in art of the present invention.Also should Be understood by, those terms defined in such as general dictionary it should be understood that have with the context of prior art in The consistent meaning of meaning, and unless by specific definitions as here, otherwise will not use idealization or excessively formal implication To explain.
Fig. 1 is the schematic flow sheet of the method for testing based on packet of one embodiment of the invention.
It should be noted that the executive agent of the present embodiment is testing service device.
Step s101: the access related information based on the intended application getting, construction multiple corresponding to intended application Test data bag to be encrypted;Step s102: simultaneously send multiple test data bags to be encrypted, with access target application.
In technical scheme, construct multiple test data bags to be encrypted, and send multiple test datas to be encrypted Bag, with access target application, it is achieved thereby that simulation is for the flowing of access of multiple users of intended application;And by the plurality of use , as under the conditions of high concurrent, the flow input of testing software system performance, especially as safety equipment for the flowing of access at family The flow input of the test of class product stability, thus provide can for the high-quality test of safety equipment class product stability Can, also as the testing efficiency of safety equipment class product stability and test accuracy rate provide precondition and guarantee.
It is described further below for implementing of each step:
Step s101: the access related information based on the intended application getting, construction multiple corresponding to intended application Test data bag to be encrypted.
Specifically, testing service device parses to the packet of the intended application grabbing, to obtain intended application Access related information;Based on the relevant information accessing, construct the data packet head of test data bag to be encrypted and comprise number to be encrypted According to data inclusion.
The mode of the packet of crawl intended application includes: by the industry to user's actual access intended application for the gripping tool The data flow of business scene is captured, to get the packet of this business scenario for intended application.
Wherein, access related information includes intended application reference address, the access mode of intended application, the visit of intended application Ask at least one in parameter;The access mode of intended application includes but is not limited to: asks the agreement accessing, request port, asks Seek form;The access parameter of intended application includes but is not limited to: browser type parameter.
The mode of the packet of parsing intended application includes but is not limited to: by analytical tool or by checking, analyzes mesh The data packet head data inclusion of the packet of mark application, parses to the packet of intended application.
Step s102: simultaneously send multiple test data bags to be encrypted, with access target application.
Specifically, multiple test data bags to be encrypted are simultaneously sent to safety equipment by testing service device, so that passing through After safety equipment are encrypted to multiple test data bags to be encrypted, and by encryption test data bag be forwarded to target should With.
Safety equipment according in its data base record each field type information, for example: customer name, mailbox ground Location, phone, customer profile, and corresponding AES, the type to the field of required protection in test data bag to be encrypted Be-encrypted data corresponding to information is encrypted, and generates the encryption data of respective encrypted algorithm.When encryption data life Cheng Hou, safety equipment can send the encryption test data bag comprising encryption data to destination application server.
Wherein, AES includes but is not limited to: marking token algorithm.
Specifically, the acquisition modes of the type information of field include: by checking the type information of the field of intended application, Determine the type information of protected field, that is, need the type information of the field of encryption, and capture this protected field Type information, the type information of this protected field is stored in the corresponding list of data base of safety equipment, as this The field of list.
Herein it should be pointed out that when the business scenario of the encryption and decryption to safety equipment carries out stability test, testing Server passes through the type information of all fields of record in the data base travel through safety equipment, and by test data bag to be encrypted Data inclusion in be-encrypted data be set to the corresponding numerical value of type information that comprises a field, it is achieved thereby that covering Safety equipment the field of test in need type information, more fully hereinafter the carrying out of safety equipment stability is tested, Reduce the generation of the test leakage problem of safety equipment.
Specifically, as shown in Fig. 2 the method also includes: step s201: receive by safety equipment to encryption test data Bag carries out the decrypted test data bag after corresponding decryption processing;Step s202: by the number to be encrypted of test data bag to be encrypted Contrasted according to the ciphertext data conciliating density test packet;Step s203: stablizing of safety equipment is determined according to comparing result The test result of property.
Safety equipment receive destination application server in response to comprising the feedback letter of the encryption test data bag of encryption data Breath, and the AES according to the type information of the field of record in the data base of safety equipment, will comprise adding of encryption data The feedback information of density test packet is deciphered accordingly, obtains corresponding ciphertext data and this ciphertext data is back to survey Examination server, testing service device is recorded to ciphertext data and is stored.
Testing service device is by the be-encrypted data of test data bag to be encrypted with the solution of decrypted test data bag that receives Ciphertext data is contrasted, and according to comparing result, determines the whether successful encryption and decryption of all be-encrypted data, testing service device can be to it In do not have the be-encrypted data of successful encryption and decryption to re-start the test of encryption and decryption.If all be-encrypted data all successfully add solution Close, then being successfully tested of safety equipment stability is described.
Testing service device to safety equipment, test by the business scenario of the encryption and decryption in the case of high concurrent, greatly improves The test quality of safety equipment.
Specifically, as shown in figure 3, the method also includes: step s301: receive intended application in response to multiple to be encrypted The response message of test data bag;Step s302: resolution response information, and each density test number to be added is judged according to analysis result Whether access successfully according to bag.
Wherein, response message includes but is not limited to: cookie data, page data.
The mode of resolution response information includes but is not limited to: by analytical tool or by checking, analysis response message Content.
Judge whether each test data bag to be encrypted accesses successful mode and be: by the respective solution of each response message Analysis result is mated with test data bag to be encrypted, if all response messages are mated into all test data bags to be encrypted Work(, then illustrate that each test data bag to be encrypted accesses successfully;If all response messages and all test data bags to be encrypted Join unsuccessful, then illustrate that multiple test data bags to be encrypted access presence extremely, that is, the construction of test data bag to be encrypted exists Abnormal.
For example, testing service device receives the page number in response to multiple test data bags to be encrypted for the destination application server According to;Parsing page data simultaneously gets value numerical value, and value numerical value is mated with test data bag to be encrypted, determines Each test data bag to be encrypted includes corresponding page data, then illustrate that each test data bag to be encrypted accesses successfully; If at least one of which test data bag to be encrypted is mismatched with value numerical value, illustrate that multiple test data bags to be encrypted are visited Ask that presence is abnormal, the construction of test data bag to be encrypted exists extremely.
Also can lead to as the target flow in mixed traffic it should be pointed out that constructing test data bag to be encrypted herein Cross predetermined ratio non-targeted flow and target flow to be mixed so that safety equipment receive the mixed flow of certain pressure value Amount, the performance data of safety equipment that received by analysis, when safety equipment are processed to mixed traffic, e.g., centre Reason device cpu utilization rate, thus more accurately determine the reliability of the performance of safety equipment;Meanwhile, by changing control parameter, To control the pressure value of the mixed traffic that safety equipment receive, the facing of reliability of safety equipment can be more precisely determined Dividing value, thus realize the assessment of the performance test to safety equipment.
Wherein, by the control parameter in the automatic test script of modification testing service device, to determine that transmission is to be encrypted Test data bag produces the persistent period of flow and always takes up room;Control parameter includes but is not limited to: controls and produces flow The parameter of persistent period, control produce the parameter taking up room of flow.
Fig. 4 is the structural framing schematic diagram of the test device based on packet of another embodiment of the present invention.
Constructing module 401, based on the access related information of the intended application getting, construct multiple corresponding to intended application Test data bag to be encrypted;Sending module 402, sends multiple test data bags to be encrypted simultaneously, with access target application.
It is described further below for implementing of modules:
Constructing module 401, based on the access related information of the intended application getting, construct multiple corresponding to intended application Test data bag to be encrypted.
Specifically, the constructing module 401 of testing service device parses to the packet of the intended application grabbing, to obtain Take the access related information of intended application;Based on access relevant information, construct test data bag to be encrypted data packet head and Comprise the data inclusion of be-encrypted data.
The mode of the packet of crawl intended application includes: by the industry to user's actual access intended application for the gripping tool The data flow of business scene is captured, to get the packet of this business scenario for intended application.
Wherein, access related information includes intended application reference address, the access mode of intended application, the visit of intended application Ask at least one in parameter;The access mode of intended application includes but is not limited to: may I ask the agreement of access, asks port, asks Seek form;The access parameter of intended application includes but is not limited to: browser type parameter.
The mode of the packet of parsing intended application includes but is not limited to: by analytical tool or by checking, analyzes mesh The data packet head data inclusion of the packet of mark application, parses to the packet of intended application.
Sending module 402, sends multiple test data bags to be encrypted simultaneously, with access target application.
Specifically, the sending module 402 of testing service device, multiple test data bags to be encrypted is simultaneously sent to safety and sets Standby, so that after multiple test data bags to be encrypted being encrypted by safety equipment, and test data bag will be encrypted It is forwarded to intended application.
Safety equipment according in its data base record each field type information, for example: customer name, mailbox ground Location, phone, customer profile, and corresponding AES, the type to the field of required protection in test data bag to be encrypted Be-encrypted data corresponding to information is encrypted, and generates the encryption data of respective encrypted algorithm.When encryption data life Cheng Hou, safety equipment can send the encryption test data bag comprising encryption data to destination application server.
Wherein, AES includes but is not limited to: marking token algorithm.
Specifically, the acquisition modes of the type information of field include: by checking the type information of the field of intended application, Determine the type information of protected field, that is, need the type information of the field of encryption, and capture this protected field Type information, the type information of this protected field is stored in the corresponding list of data base of safety equipment, as this The field of list.
Herein it should be pointed out that when the business scenario of the encryption and decryption to safety equipment carries out stability test, testing Server passes through the type information of all fields of record in the data base travel through safety equipment, and by test data bag to be encrypted Data inclusion in be-encrypted data be set to the corresponding numerical value of type information that comprises a field, it is achieved thereby that covering Safety equipment the field of test in need type information, more fully hereinafter the carrying out of safety equipment stability is tested, Reduce the generation of the test leakage problem of safety equipment.
Specifically, as shown in figure 5, this device also includes: the first receiver module 501, receive by safety equipment to encryption Test data bag carry out corresponding decryption processing after decrypted test data bag;Contrast module 502, by test data bag to be encrypted Be-encrypted data conciliate density test packet ciphertext data contrasted;Test module 503, determines peace according to comparing result The test result of the stability of full equipment.
Safety equipment receive destination application server in response to comprising the feedback letter of the encryption test data bag of encryption data Breath, and the AES according to the type information of the field of record in the data base of safety equipment, will comprise adding of encryption data The feedback information of density test packet is deciphered accordingly, obtains corresponding ciphertext data and this ciphertext data is back to survey First receiver module 501 of examination server, the first receiver module 501 of testing service device is recorded to ciphertext data and is deposited Storage.
The be-encrypted data of test data bag to be encrypted is surveyed by the contrast module 502 of testing service device with the deciphering receiving The ciphertext data of examination packet is contrasted, and according to comparing result, test module 503 determines whether all be-encrypted data are successful Encryption and decryption, testing service device can re-start the test of encryption and decryption to the be-encrypted data without successful encryption and decryption.If institute There is all successful encryption and decryption of be-encrypted data, being then successfully tested of safety equipment stability is described.
Testing service device to safety equipment, test by the business scenario of the encryption and decryption in the case of high concurrent, greatly improves The test quality of safety equipment.
Specifically, as shown in fig. 6, this device also includes: the second receiver module 601, receive intended application in response to many The response message of individual test data bag to be encrypted;Parsing module 602, resolution response information, and each is judged according to analysis result Whether test data bag to be encrypted accesses successfully.
Wherein, response message includes but is not limited to: cookie data, page data.
The mode of resolution response information includes but is not limited to: by analytical tool or by checking, analysis response message Content.
Judge whether each test data bag to be encrypted accesses successful mode and be: by the respective solution of each response message Analysis result is mated with test data bag to be encrypted, if all response messages are mated into all test data bags to be encrypted Work(, then illustrate that each test data bag to be encrypted accesses successfully;If all response messages and all test data bags to be encrypted Join unsuccessful, then illustrate that multiple test data bags to be encrypted access presence extremely, that is, the construction of test data bag to be encrypted exists Abnormal.
For example, the second receiver module 601 of testing service device receives destination application server in response to multiple to be encrypted The page data of test data bag;Parsing module 602 parsing page data simultaneously gets value numerical value, and by value numerical value with Test data bag to be encrypted is mated, and determines that each test data bag to be encrypted includes corresponding page data, then illustrates Each test data bag to be encrypted accesses successfully;If at least one of which test data bag to be encrypted is mismatched with value numerical value, Then illustrate that multiple test data bags to be encrypted access presence extremely, the construction of test data bag to be encrypted exists extremely.
Also can lead to as the target flow in mixed traffic it should be pointed out that constructing test data bag to be encrypted herein Cross predetermined ratio non-targeted flow and target flow to be mixed so that safety equipment receive the mixed flow of certain pressure value Amount, the performance data of safety equipment that received by analysis, when safety equipment are processed to mixed traffic, e.g., centre Reason device cpu utilization rate, thus more accurately determine the reliability of the performance of safety equipment;Meanwhile, by changing control parameter, To control the pressure value of the mixed traffic that safety equipment receive, the facing of reliability of safety equipment can be more precisely determined Dividing value, thus realize the assessment of the performance test to safety equipment.
Wherein, by the control parameter in the automatic test script of modification testing service device, to determine that transmission is to be encrypted Test data bag produces the persistent period of flow and always takes up room;Control parameter includes but is not limited to: controls and produces flow The parameter of persistent period, control produce the parameter taking up room of flow.
Those skilled in the art of the present technique are appreciated that the present invention includes relating to execute in operation described herein One or more of equipment.These equipment can specially design for required purpose and manufacture, or can also include general Known device in computer.These equipment have and are stored in its interior computer program, and these computer programs are optionally Activation or reconstruct.Such computer program can be stored in equipment (for example, computer) computer-readable recording medium or be stored in Be suitable to store e-command being coupled to respectively in any kind of medium of bus, described computer-readable medium include but not Be limited to any kind of disk (including floppy disk, hard disk, CD, cd-rom and magneto-optic disk), rom (read-only memory, only Read memorizer), ram (random access memory, memorizer immediately), eprom (erasable programmable Read-only memory, Erarable Programmable Read only Memory), eeprom (electrically erasable Programmable read-only memory, EEPROM), flash memory, magnetic card or light line card Piece.It is, computer-readable recording medium include being stored in the form of can reading by equipment (for example, computer) or transmission information any Jie Matter.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or Each frame in block diagram and/or flow graph and the combination of the frame in these structure charts and/or block diagram and/or flow graph.This technology is led Field technique personnel be appreciated that can by these computer program instructions be supplied to general purpose computer, special purpose computer or other The processor of programmable data processing method is realizing, thus the process by computer or other programmable data processing methods Device is executing the scheme specified in the frame of structure chart disclosed by the invention and/or block diagram and/or flow graph or multiple frame.
Those skilled in the art of the present technique be appreciated that the various operations having discussed in the present invention, method, in flow process Step, measure, scheme can be replaced, changed, combined or deleted.Further, there is discussed in the present invention each Kind of operation, method, other steps in flow process, measure, scheme can also be replaced, changed, reset, decomposed, combined or deleted. Further, of the prior art have and the step in the various operations disclosed in the present invention, method, flow process, measure, scheme Can also be replaced, changed, reset, decomposed, combined or deleted.
The above is only some embodiments of the present invention it is noted that ordinary skill people for the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

1. a kind of method of testing based on packet is it is characterised in that include:
Based on the access related information of the intended application getting, construct multiple density tests to be added corresponding to described intended application Packet;
Send multiple described test data bags to be encrypted, to access described intended application simultaneously.
2. method according to claim 1 is it is characterised in that access related information based on the intended application getting, Including:
The packet of the intended application grabbing is parsed, to obtain the access related information of intended application;
Wherein, described access related information includes intended application reference address, the access mode of intended application, the visit of intended application Ask at least one in parameter.
3. method according to claim 1 and 2 is it is characterised in that send multiple described test data bags to be encrypted simultaneously, To access described intended application, comprising:
Multiple described test data bags to be encrypted are simultaneously sent to safety equipment, so that by described safety equipment to multiple After described test data bag to be encrypted is encrypted, and encryption test data bag is forwarded to described intended application.
4. method according to claim 3 is it is characterised in that also include:
Receive, by described safety equipment, the solution density test number after corresponding decryption processing is carried out to described encryption test data bag According to bag;
The ciphertext data of the be-encrypted data of described test data bag to be encrypted and described decrypted test data bag is contrasted;
Determine the test result of the stability of described safety equipment according to comparing result.
5. method according to claim 1 is it is characterised in that also include:
Receive the response message in response to multiple test data bags to be encrypted for the described intended application;
Analyze the response to information, and judge whether each described test data bag to be encrypted accesses successfully according to analysis result.
6. a kind of test device based on packet is it is characterised in that include:
Constructing module, for the access related information based on the intended application getting, construction is multiple should corresponding to described target Test data bag to be encrypted;
Sending module, for sending multiple described test data bags to be encrypted simultaneously, to access described intended application.
7. test device according to claim 6 is it is characterised in that described constructing module, for the target grabbing The packet of application is parsed, to obtain the access related information of intended application;
Wherein, described access related information includes intended application reference address, the access mode of intended application, the visit of intended application Ask at least one in parameter.
8. the test device according to claim 6 or 7 is it is characterised in that described sending module, for described treating multiple Encryption test data bag is simultaneously sent to safety equipment, so that by described safety equipment to multiple described density test numbers to be added After being encrypted according to bag, and encryption test data bag is forwarded to described intended application.
9. test device according to claim 8 is it is characterised in that also include:
First receiver module, carries out corresponding decryption processing by described safety equipment to described encryption test data bag for receiving After decrypted test data bag;
Contrast module, for by the deciphering of the be-encrypted data of described test data bag to be encrypted and described decrypted test data bag Data is contrasted;
Test module, for determining the test result of the stability of described safety equipment according to comparing result.
10. test device according to claim 6 is it is characterised in that also include:
Second receiver module, for receiving the response message in response to multiple test data bags to be encrypted for the described intended application;
Parsing module, is used for analyzing the response to information, and judges each described test data bag to be encrypted according to analysis result Whether access successfully.
CN201610796837.0A 2016-08-31 2016-08-31 Test method and test device based on data packet Active CN106371993B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610796837.0A CN106371993B (en) 2016-08-31 2016-08-31 Test method and test device based on data packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610796837.0A CN106371993B (en) 2016-08-31 2016-08-31 Test method and test device based on data packet

Publications (2)

Publication Number Publication Date
CN106371993A true CN106371993A (en) 2017-02-01
CN106371993B CN106371993B (en) 2019-07-19

Family

ID=57899033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610796837.0A Active CN106371993B (en) 2016-08-31 2016-08-31 Test method and test device based on data packet

Country Status (1)

Country Link
CN (1) CN106371993B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107276852A (en) * 2017-06-27 2017-10-20 福建省天奕网络科技有限公司 A kind of data safety detection method and terminal
CN107454391A (en) * 2017-09-22 2017-12-08 上海帆声图像科技有限公司 Television set HDCP encryption detection methods based on hardware verification
CN107609401A (en) * 2017-08-03 2018-01-19 百度在线网络技术(北京)有限公司 Automatic test approach and device
CN108347361A (en) * 2018-03-06 2018-07-31 平安普惠企业管理有限公司 Applied program testing method, device, computer equipment and storage medium
CN110380932A (en) * 2019-07-17 2019-10-25 中国工商银行股份有限公司 Test method and device and test macro for safety equipment
CN111858357A (en) * 2020-07-23 2020-10-30 杭州安恒信息技术股份有限公司 Performance test monitoring method, equipment and related equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030115368A1 (en) * 2001-12-14 2003-06-19 D-Link Corporation Apparatus for multi-level loopback test in a community network system and method therefor
CN101360015A (en) * 2008-09-02 2009-02-04 北京星网锐捷网络技术有限公司 Method, system and apparatus for test network appliance
CN101388800A (en) * 2007-09-12 2009-03-18 百度在线网络技术(北京)有限公司 Method, device and system for pressed test to network performance of server
CN103580943A (en) * 2012-08-03 2014-02-12 亿赞普(北京)科技有限公司 Network software online testing method and system
CN105279073A (en) * 2015-10-30 2016-01-27 北京奇艺世纪科技有限公司 Method and device for testing online system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030115368A1 (en) * 2001-12-14 2003-06-19 D-Link Corporation Apparatus for multi-level loopback test in a community network system and method therefor
CN101388800A (en) * 2007-09-12 2009-03-18 百度在线网络技术(北京)有限公司 Method, device and system for pressed test to network performance of server
CN101360015A (en) * 2008-09-02 2009-02-04 北京星网锐捷网络技术有限公司 Method, system and apparatus for test network appliance
CN103580943A (en) * 2012-08-03 2014-02-12 亿赞普(北京)科技有限公司 Network software online testing method and system
CN105279073A (en) * 2015-10-30 2016-01-27 北京奇艺世纪科技有限公司 Method and device for testing online system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107276852A (en) * 2017-06-27 2017-10-20 福建省天奕网络科技有限公司 A kind of data safety detection method and terminal
CN107276852B (en) * 2017-06-27 2020-02-21 福建省天奕网络科技有限公司 Data security detection method and terminal
CN107609401A (en) * 2017-08-03 2018-01-19 百度在线网络技术(北京)有限公司 Automatic test approach and device
CN107454391A (en) * 2017-09-22 2017-12-08 上海帆声图像科技有限公司 Television set HDCP encryption detection methods based on hardware verification
CN108347361A (en) * 2018-03-06 2018-07-31 平安普惠企业管理有限公司 Applied program testing method, device, computer equipment and storage medium
CN108347361B (en) * 2018-03-06 2020-08-04 平安普惠企业管理有限公司 Application program testing method and device, computer equipment and storage medium
CN110380932A (en) * 2019-07-17 2019-10-25 中国工商银行股份有限公司 Test method and device and test macro for safety equipment
CN110380932B (en) * 2019-07-17 2021-11-12 中国工商银行股份有限公司 Test method and device for safety equipment and test system
CN111858357A (en) * 2020-07-23 2020-10-30 杭州安恒信息技术股份有限公司 Performance test monitoring method, equipment and related equipment
CN111858357B (en) * 2020-07-23 2024-02-02 杭州安恒信息技术股份有限公司 Performance test monitoring method and equipment and related equipment thereof

Also Published As

Publication number Publication date
CN106371993B (en) 2019-07-19

Similar Documents

Publication Publication Date Title
CN106371993A (en) Testing method and testing device based on data packet
CN103186740B (en) A kind of automated detection method of Android malware
CN106874187B (en) Code coverage rate collection method and device
US10454796B2 (en) Cloud based system and method for managing messages regarding cable test device operation
CN111600781B (en) Firewall system stability testing method based on tester
CN106130830B (en) The test method and test device of safety equipment stability
CN107241229B (en) Service monitoring method and device based on interface testing tool
CN106650493B (en) Behavior data acquisition method and device
CN104579830B (en) service monitoring method and device
US10374934B2 (en) Method and program product for a private performance network with geographical load simulation
CN104182681B (en) Hook-based iOS (iPhone operating system) key behavior detection device and detection method thereof
CN108073499A (en) The test method and device of application program
Al-Azzani et al. Secarch: Architecture-level evaluation and testing for security
CN106230702A (en) Identity information verification method, Apparatus and system
CN105653445B (en) A kind of implementation method for meeting DO 178C test results
CN106649099A (en) Automatic testing method and system for DNS monitoring service
CN107104853B (en) Test bed system and test method for terminal safety management software
JP2012080425A (en) Instruction system, instruction method, and storage control device
CN108768916A (en) A kind of method and device obtaining security configuration information
CN111427767B (en) Attack test method and device for application system, computer equipment and storage medium
CN115269415A (en) Interface test system and method based on simulation scene use case
Sirshar et al. Software quality assurance testing methodologies in IoT
Calzarossa et al. Performance Monitoring Guidelines
CN108366040B (en) Programmable firewall logic code detection method and device and electronic equipment
US20210243219A1 (en) Security handling skill measurement system, method, and program

Legal Events

Date Code Title Description
C06 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
TR01 Transfer of patent right

Effective date of registration: 20220707

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right