[go: up one dir, main page]

CN107632927A - A kind of method for testing pressure and device of the encryption of the analogue data in C/S frameworks - Google Patents

A kind of method for testing pressure and device of the encryption of the analogue data in C/S frameworks Download PDF

Info

Publication number
CN107632927A
CN107632927A CN201710628274.9A CN201710628274A CN107632927A CN 107632927 A CN107632927 A CN 107632927A CN 201710628274 A CN201710628274 A CN 201710628274A CN 107632927 A CN107632927 A CN 107632927A
Authority
CN
China
Prior art keywords
key
session
computer
frameworks
encryption
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
CN201710628274.9A
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.)
Beijing VRV Software Corp Ltd
Original Assignee
Beijing VRV Software Corp 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 VRV Software Corp Ltd filed Critical Beijing VRV Software Corp Ltd
Priority to CN201710628274.9A priority Critical patent/CN107632927A/en
Publication of CN107632927A publication Critical patent/CN107632927A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention discloses a kind of method for testing pressure of analogue data in C/S frameworks encryption, including:Key is generated according to session id, and session id, key and preassigned cipher mode are stored as key-value pair;According to session id and cipher mode generation heading, and message content is generated according to key and cipher mode;Heading and message content are assemblied into request bag, and server is sent in pressure test.The present invention is capable of the encrypted transmission mode of effective simulant-client server end framework program, and carries out pressure test.

Description

A kind of method for testing pressure and device of the encryption of the analogue data in C/S frameworks
Technical field
The present invention relates to software pressure test, more specifically, particularly relating to a kind of encryption of the analogue data in C/S frameworks Method for testing pressure and device.
Background technology
Software pressure test is a kind of basic quality assurance behavior, and it is one of each critical software test job Point, in order that test is true and reliable, it is necessary to the calling scene of simulated production system as far as possible.Client-server end this In kind software architecture, the request data at client and server end is transmitted using cipher mode, but pressure of the prior art Testing tool (Jmeter) itself leads to not carry out the pressure test with encryption without encryption and decryption functions.
The problem of for that can not carry out the pressure test with encryption in the prior art, there has been no effective solution party at present Case.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is in a kind of pressure of the encryption of the analogue data in C/S frameworks of proposition Method of testing and device, can be directed to different software or different types of software carries out what the analogue data in C/S frameworks was encrypted Pressure test, the encrypted transmission mode of simulant-client-server end framework program, and carry out pressure test.
Based on above-mentioned purpose, the one side of the embodiment of the present invention provides a kind of encryption of the analogue data in C/S frameworks Method for testing pressure, comprise the following steps:
Key is generated according to session id, and session id, key and preassigned cipher mode are stored as key-value pair;
According to session id and cipher mode generation heading, and message content is generated according to key and cipher mode;
Heading and message content are assemblied into request bag, and server is sent in pressure test.
In some embodiments, generating key according to session id is:True form is used as using all or part of session id It is encrypted, using the password of acquisition as key.
In some embodiments, it will words ID, key are stored as key-value pair with preassigned cipher mode and are:Will Words ID is stored in key-value pair data storehouse as key name, key with cipher mode as value corresponding with key name.
In some embodiments, heading includes session id and cipher mode in the form of parameter.
In some embodiments, key and cipher mode are used to message body to be encrypted, at the rearmounted place of interpreter Message content is generated in reason device.
In some embodiments, method for testing pressure is further comprising the steps of:
After server receives request bag, the session id in heading, in key-value pair data storehouse corresponding to lookup Key is decrypted with cipher mode;
Above step is repeated until pressure test is completed.
The another aspect of the embodiment of the present invention, additionally provide a kind of pressure test of the encryption of the analogue data in C/S frameworks Device, the above method is used.
The another aspect of the embodiment of the present invention, additionally provide a kind of computer equipment, including memory, at least one processing Device and the computer program that can be run on the memory and on the processor is stored in, described in the computing device Above-mentioned method is performed during program.
The another aspect of the embodiment of the present invention, a kind of computer-readable recording medium is additionally provided, it is described computer-readable Storage medium is stored with computer program, and the computer program performs above-mentioned method when being executed by processor.
The another aspect of the embodiment of the present invention, additionally provide a kind of computer program product, the computer program product Including the calculation procedure being stored on computer-readable recording medium, the calculation procedure includes instruction, when the instruction is counted When calculation machine performs, the computer is set to perform the above method.
The present invention has following advantageous effects:The encryption of the analogue data in C/S frameworks provided in an embodiment of the present invention Method for testing pressure and device, by using generating key according to session id, store session id, key and pre-encrypt mode For key-value pair, generate heading respectively and message content is assemblied into request bag, and the skill of server is sent in pressure test Art scheme, is capable of the encrypted transmission mode of effective simulant-client-server end framework program, and carries out pressure test.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is one embodiment of the method for testing pressure of the analogue data provided by the invention in C/S frameworks encryption Schematic flow sheet;
Fig. 2 is second embodiment of the method for testing pressure of the analogue data provided by the invention in C/S frameworks encryption Schematic flow sheet;
Fig. 3 is the calculating of the method for testing pressure that analogue data is encrypted in C/S frameworks described in execution provided by the invention The hardware architecture diagram of one embodiment of machine equipment.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with specific embodiment, and reference Accompanying drawing, the embodiment of the present invention is further described.
It should be noted that all statements for using " first " and " second " are for differentiation two in the embodiment of the present invention The non-equal entity of individual same names or non-equal parameter, it is seen that " first " " second " should not only for the convenience of statement The restriction to the embodiment of the present invention is interpreted as, subsequent embodiment no longer illustrates one by one to this.
Based on above-mentioned purpose, the embodiment of the present invention the on one side, it is proposed that one kind can be directed to different software or not Server with software carries out one embodiment of the method for the pressure test that analogue data is encrypted in C/S frameworks.Fig. 1 shows What is gone out is that the flow of one embodiment of the method for testing pressure of the analogue data provided by the invention in C/S frameworks encryption is shown It is intended to.
The method for testing pressure of the encryption of the analogue data in C/S frameworks, comprises the following steps:
Step S101, key is generated according to session id, and session id, key and preassigned cipher mode are stored as Key-value pair;
Step S103, heading is generated according to session id and cipher mode, and message is generated according to key and cipher mode Content;
Step S105, heading and message content are assemblied into request bag, and server is sent in pressure test.
Wherein, alternatively, the heading in step S103 and message content can be according to the demands of those skilled in the art And generate or successively generate simultaneously.In addition, key-value pair storage in step S101 can also be carried out simultaneously with step S103 or Carried out after the completion of step S103, depending on the equipment and the resource sharing of other equipment in storage key-value pair data storehouse, conflict, compatible Etc. actual conditions.
In some embodiments, generating key according to session id is:True form is used as using all or part of session id It is encrypted, using the password of acquisition as key.
Wherein, alternatively, the embodiment of the present invention uses first 11 of session id to carry out Base64 encryptions and is used as key.Consider Analog encryption transmission into pressure test is not the actual encryption transmission in real life, does not possess confidential nature, all not have It is necessary to reuse the key generation method of other higher costs.Carried out during whether server authentication encrypted transmission is successful Operand be enough the standard for meeting pressure test, it is not necessary to be re-introduced into extra key acquisition modes.
In some embodiments, it will words ID, key are stored as key-value pair with preassigned cipher mode and are:Will Words ID is stored in key-value pair data storehouse as key name, key with cipher mode as value corresponding with key name.
Wherein, alternatively, key-value pair data storehouse is used for provide the return key of session id and encryption side according to server Formula, meet in general safety verification standard.Key-value pair data storehouse can be Redis.
In some embodiments, heading includes session id and cipher mode in the form of parameter.
Wherein, alternatively, the parameter of heading can be facilitated server quick obtaining session id and added by the reading of simplicity Close mode.
In some embodiments, key and cipher mode are used to message body to be encrypted, at the rearmounted place of interpreter Message content is generated in reason device.
Wherein, alternatively, interpreter can be Beanshell, and the post processor of interpreter can be Beanshell PreProcessor。
In some embodiments, method for testing pressure is further comprising the steps of:
Step S107, after server receives request bag, the session id in heading, looked into key-value pair data storehouse Key corresponding to looking for is decrypted with cipher mode;
Step S109, above step is repeated until pressure test is completed.
Wherein, alternatively, pressure test should repeatedly obtain effective result.Thread can be adjusted in Jmeter Number is counted and cached to reach the effect.
From above-described embodiment as can be seen that the pressure of the analogue data provided in an embodiment of the present invention in C/S frameworks encryption Method of testing, by using generating key according to session id, session id, key and pre-encrypt mode being stored as into key-value pair, divide Not Sheng Cheng heading and message content be assemblied into request bag, and the technical scheme of server is sent in pressure test, can The encrypted transmission mode of effective simulant-client-server end framework program, and carry out pressure test.
The embodiment of the present invention, which also proposed one kind, can be directed to different server or the progress of different types of server in C/S Second embodiment of the method for the pressure test that analogue data is encrypted in framework.Fig. 2 is illustrated that provided by the invention in C/S The schematic flow sheet of second embodiment of the method for testing pressure that analogue data is encrypted in framework.
As shown in Fig. 2 the character digit arranged first according to heading, byte [] array of assembled heading.byte[] Array is a parameter array for being stored in heading.The service number of byte [] array including heading transmission, function number, edition This number, CRC it is equivalent, copy byte arrays to a stored messages header using system.arraycopy methods In headByte [] array.
When user logs in by the Crypted password of the user (taking first 11 of session id to carry out Base64 encryptions) and plus Close mode is as value, and sessionId is as key deposit key-value pair data storehouse.
In addition, increase by 2 parameters of session id and cipher mode in heading.
User cipher and cipher mode are calculated to message body according to session id in BeanShell PreProcessor It is encrypted, and encryption data is switched into byte [] array using the method similar with heading, returns to a storage report BodyByte [] array of stylistic information.
Then, headByte [] and bodyByte [] are assemblied into a full request bag.
Server end removes key-value pair data library inquiry password and cipher mode according to session id, and data are decrypted.
Jmeter Thread Count and caching number is set, pressure test is carried out using aforesaid way.
From above-described embodiment as can be seen that the pressure of the analogue data provided in an embodiment of the present invention in C/S frameworks encryption Method of testing, by using generating key according to session id, session id, key and pre-encrypt mode being stored as into key-value pair, divide Not Sheng Cheng heading and message content be assemblied into request bag, and the technical scheme of server is sent in pressure test, can The encrypted transmission mode of effective simulant-client-server end framework program, and carry out pressure test.
It is important to note that each implementation of the method for testing pressure of the above-mentioned encryption of the analogue data in C/S frameworks Each step in example can be intersected, replaces, increases, deleted, therefore, these rational permutation and combination become alternatively in The method for testing pressure that analogue data is encrypted in C/S frameworks should also be as belonging to protection scope of the present invention, and should not send out this Bright protection domain is confined on the embodiment.
Based on above-mentioned purpose, second aspect of the embodiment of the present invention, it is proposed that one kind can be directed to different software or not The software of same type carries out one embodiment of the device for the pressure test that analogue data is encrypted in C/S frameworks.It is described The pressure test device that analogue data is encrypted in C/S frameworks has used the pressure of the above-mentioned encryption of the analogue data in C/S frameworks Method of testing.
From above-described embodiment as can be seen that the pressure of the analogue data provided in an embodiment of the present invention in C/S frameworks encryption Test device, by using generating key according to session id, session id, key and pre-encrypt mode being stored as into key-value pair, divide Not Sheng Cheng heading and message content be assemblied into request bag, and the technical scheme of server is sent in pressure test, can The encrypted transmission mode of effective simulant-client-server end framework program, and carry out pressure test.
It is important to note that the embodiment of the pressure test device of the above-mentioned encryption of the analogue data in C/S frameworks is adopted The worked of each module is illustrated with the embodiment of the method for testing pressure of the analogue data in C/S frameworks encryption Journey, those skilled in the art can be it is readily conceivable that these module applications be encrypted to the analogue data in C/S frameworks In the other embodiment of method for testing pressure.Certainly, due to the method for testing pressure of the analogue data in C/S frameworks encryption Each step in embodiment can be intersected, replaces, increases, deleted, and therefore, these rational permutation and combination become alternatively It should also be as belonging to protection scope of the present invention in the pressure test device of the analogue data in C/S frameworks encryption, and not Protection scope of the present invention should be confined on the embodiment.
Based on above-mentioned purpose, the 3rd aspect of the embodiment of the present invention, it is proposed that one kind performs the mould in C/S frameworks Intend one embodiment of the computer equipment of the method for testing pressure of data encryption.
The computer equipment for the method for testing pressure that analogue data is encrypted includes storage in C/S frameworks described in the execution Device, at least one processor and storage on a memory and the computer program that can run on a processor, computing device Any one above-mentioned method is performed during program.
As shown in figure 3, it is the method for testing pressure that analogue data is encrypted in C/S frameworks described in execution provided by the invention Computer equipment one embodiment hardware architecture diagram.
By taking computer equipment as shown in Figure 3 as an example, include a processor 301 and one in the computer equipment Memory 302, and can also include:Input unit 303 and output device 304.
Processor 301, memory 302, input unit 303 and output device 304 can pass through bus or other modes Connect, in Fig. 3 exemplified by being connected by bus.
Memory 302 is used as a kind of non-volatile computer readable storage medium storing program for executing, available for storage non-volatile software journey Sequence, non-volatile computer executable program and module, as described in the embodiment of the present application in C/S frameworks analogue data Programmed instruction/module corresponding to the method for testing pressure of encryption.Processor 301 is by running storage in the memory 302 non- Volatibility software program, instruction and module, various function application and data processing so as to execute server, that is, realize State the method for testing pressure of the encryption of the analogue data in C/S frameworks of embodiment of the method.
Memory 302 can include storing program area and storage data field, wherein, storing program area can store operation system Application program required for system, at least one function;Storage data field can be stored according to the analogue data encryption in C/S frameworks Pressure test device uses created data etc..In addition, memory 302 can include high-speed random access memory, also Nonvolatile memory can be included, a for example, at least disk memory, flush memory device or other nonvolatile solid states are deposited Memory device.In certain embodiments, memory 302 is optional including relative to the remotely located memory of processor 301, these are remote Journey memory can pass through network connection to local module.The example of above-mentioned network includes but is not limited to internet, enterprises Net, LAN, mobile radio communication and combinations thereof.
Input unit 303 can receive the numeral or character information of input, and produce with C/S frameworks analogue data add The key signals input that the user of close pressure test device is set and function control is relevant.Output device 304 may include to show The display devices such as screen.
Programmed instruction corresponding to the method for testing pressure of one or more of encryptions of the analogue data in C/S frameworks/ Module is stored in the memory 302, when being performed by the processor 301, is performed in above-mentioned any means embodiment The method for testing pressure that analogue data is encrypted in C/S frameworks.
Described in the execution in C/S frameworks analogue data encrypt method for testing pressure computer equipment any one Individual embodiment, the identical or similar effect of corresponding foregoing any means embodiment can be reached.
Based on above-mentioned purpose, the 4th aspect of the embodiment of the present invention, it is proposed that a kind of computer-readable recording medium, institute Stating computer-readable recording medium storage has computer executable instructions, and the computer executable instructions can perform above-mentioned any side The method for testing pressure of the encryption of the analogue data in C/S frameworks in method embodiment is with realizing that above-mentioned any device/system is implemented Pressure test device/system of the encryption of the analogue data in C/S frameworks in example.The implementation of the computer-readable recording medium Example, can reach the corresponding foregoing any means effect identical or similar with device/system embodiment.
Based on above-mentioned purpose, the 5th aspect of the embodiment of the present invention, it is proposed that a kind of computer program product, the calculating Machine program product includes the calculation procedure being stored on computer-readable recording medium, and the computer program includes instruction, when this When instruction is computer-executed, add the analogue data in C/S frameworks that the computer is performed in above-mentioned any means embodiment Close method for testing pressure and the pressure for realizing the encryption of the analogue data in C/S frameworks in above-mentioned any device/system embodiment Force test device/system.The embodiment of the computer program product, corresponding foregoing any means and dress can be reached Put/identical or similar the effect of system embodiment.
Finally it should be noted that one of ordinary skill in the art will appreciate that realizing the whole in above-described embodiment method Or part flow, related hardware can be instructed to complete by computer program, described program can be stored in a computer In read/write memory medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, it is described Storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..The embodiment of the computer program, corresponding foregoing can be reached The identical or similar effect of embodiment of the method for anticipating.
In addition, typically, it can be various electric terminal equipments that the embodiment of the present invention, which discloses described device, equipment etc., example Such as mobile phone, personal digital assistant (PDA), tablet personal computer (PAD), intelligent television or large-scale terminal device, such as service Device etc., therefore protection domain disclosed in the embodiment of the present invention should not limit as certain certain types of device, equipment.It is of the invention real It can be applied to above-mentioned any with the combining form of electronic hardware, computer software or both to apply example and disclose described client In a kind of electric terminal equipment.
In addition, disclosed method is also implemented as the computer program performed by CPU according to embodiments of the present invention, should Computer program can store in a computer-readable storage medium.When the computer program is performed by CPU, the present invention is performed The above-mentioned function of being limited in method disclosed in embodiment.
In addition, above method step and system unit can also utilize controller and make it that controller is real for storing The computer-readable recording medium of the computer program of existing above-mentioned steps or Elementary Function is realized.
In addition, it should be appreciated that computer-readable recording medium (for example, memory) as described herein can be volatile Property memory or nonvolatile memory, or both volatile memory and nonvolatile memory can be included.As example Sub and nonrestrictive, nonvolatile memory can include read-only storage (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory.Volatile memory can include arbitrary access Memory (RAM), the RAM can serve as external cache.Nonrestrictive as an example, RAM can be with more Kind form obtains, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR SDRAM), enhancing SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and directly Rambus RAM (DRRAM). The storage device of disclosed aspect is intended to the memory of including but not limited to these and other suitable type.
Those skilled in the art will also understand is that, the various illustrative logical blocks with reference to described by disclosure herein, mould Block, circuit and algorithm steps may be implemented as the combination of electronic hardware, computer software or both.It is hard in order to clearly demonstrate This interchangeability of part and software, enters with regard to the function of various exemplary components, square, module, circuit and step to it General description is gone.This function is implemented as software and is also implemented as hardware depending on concrete application and application Design constraint to whole system.Those skilled in the art can realize described in a variety of ways for every kind of concrete application Function, but this realize that decision should not be interpreted as causing a departure from scope of disclosure of the embodiment of the present invention.
Various illustrative logical blocks, module and circuit with reference to described by disclosure herein, which can utilize, to be designed to The following part of function described here is performed to realize or perform:General processor, digital signal processor (DSP), special collection Into circuit (ASIC), field programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, divide Any combinations of vertical nextport hardware component NextPort or these parts.General processor can be microprocessor, but alternatively, processing Device can be any conventional processors, controller, microcontroller or state machine.Processor can also be implemented as computing device Combination, for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessors combination DSP and/or any Other this configurations.
The step of method or algorithm with reference to described by disclosure herein, can be directly contained in hardware, be held by processor In capable software module or in combination of the two.Software module may reside within RAM memory, flash memory, ROM storages Device, eprom memory, eeprom memory, register, hard disk, removable disk, CD-ROM or known in the art it is any its In the storage medium of its form.Exemplary storage medium is coupled to processor so that processor can be from the storage medium Middle reading information writes information to the storage medium.In an alternative, the storage medium can be with processor collection Into together.Processor and storage medium may reside within ASIC.ASIC may reside within user terminal.In a replacement In scheme, processor and storage medium can be used as discrete assembly resident in the user terminal.
In one or more exemplary designs, the function can be real in hardware, software, firmware or its any combination It is existing.If realized in software, can be stored in using the function as one or more instruction or code computer-readable Transmitted on medium or by computer-readable medium.Computer-readable medium includes computer-readable storage medium and communication media, The communication media includes helping for computer program to be sent to any medium of another position from a position.Storage medium It can be any usable medium that can be accessed by a general purpose or special purpose computer.It is nonrestrictive as an example, the computer Computer-readable recording medium can include RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage equipment or other magnetic Property storage device, or can be used for carry or storage form for instruction or data structure required program code and can Any other medium accessed by universal or special computer or universal or special processor.In addition, any connection can It is properly termed as computer-readable medium.If for example, use coaxial cable, optical fiber cable, twisted-pair feeder, digital subscriber line (DSL) or such as wireless technology of infrared ray, radio and microwave to send software from website, server or other remote sources, Then above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or such as wireless technology of infrared ray, radio and microwave are included in The definition of medium.As used herein, disk and CD include compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, wherein disk generally magnetically reproduce data, and CD reproduce data using laser optics.On The combination for stating content should also be as being included in the range of computer-readable medium.
Above is exemplary embodiment disclosed by the invention, it should be noted that in the sheet limited without departing substantially from claim On the premise of inventive embodiments scope of disclosure, it may be many modifications and change.According to open embodiment described herein The function of claim to a method, step and/or action be not required to perform with any particular order.In addition, although the present invention is implemented Element disclosed in example can be described or required in the form of individual, but be odd number unless explicitly limited, it is understood that be multiple.
It should be appreciated that it is used in the present context, unless context clearly supports exception, singulative " one It is individual " (" a ", " an ", " the ") be intended to also include plural form.It is to be further understood that "and/or" used herein is Referring to includes any of one or more than one project listed in association and is possible to combine.
The embodiments of the present invention disclose that embodiment sequence number is for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
Those of ordinary skills in the art should understand that:The discussion of any of the above embodiment is exemplary only, not It is intended to imply that scope of disclosure of the embodiment of the present invention (including claim) is limited to these examples;In the think of of the embodiment of the present invention It under road, can also be combined, and exist as described above between the technical characteristic in above example or different embodiments Many other changes of the different aspect of the embodiment of the present invention, for simplicity, they are not provided in details.Therefore, it is all at this Spiritual and any omission within principle, made, modification, equivalent substitution, improvement of inventive embodiments etc., should be included in this hair Within the protection domain of bright embodiment.

Claims (10)

1. a kind of method for testing pressure of the encryption of the analogue data in C/S frameworks, it is characterised in that comprise the following steps:
Key is generated according to session id, and the session id, the key and preassigned cipher mode are stored as key assignments It is right;
Reported according to the session id and cipher mode generation heading, and according to the key and cipher mode generation Literary content;
The heading and the message content are assemblied into request bag, and server is sent in pressure test.
2. according to the method for claim 1, it is characterised in that generating the key according to the session id is:Using institute The all or part for stating session id is encrypted as true form, using the password of acquisition as the key.
3. according to the method for claim 1, it is characterised in that add the session id, the key with preassigned Close mode is stored as key-value pair:Using the session id as key name, the key and the cipher mode as with the key Value corresponding to name is stored in key-value pair data storehouse.
4. according to the method for claim 1, it is characterised in that the heading includes the session id in the form of parameter With the cipher mode.
5. according to the method for claim 1, it is characterised in that message body to be encrypted is added using the key with described Close mode, message content is generated in the post processor of interpreter.
6. according to the method described in any one in claim 1-5, it is characterised in that further comprising the steps of:
After the server receives the request bag, the session id in the heading, in key-value pair data storehouse The key corresponding to middle lookup is decrypted with the cipher mode;
Above step is repeated until pressure test is completed.
7. a kind of pressure test device of the encryption of the analogue data in C/S frameworks, it is characterised in that using such as claim 1-6 Method described in any one.
8. a kind of computer equipment, including memory, at least one processor and it is stored on the memory and can be in institute State the computer program run on processor, it is characterised in that such as claim is performed during the computing device described program Method described in 1-6 any one.
9. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In perform claim requires the method described in 1-6 any one when the computer program is executed by processor.
10. a kind of computer program product, it is characterised in that the computer program product includes being stored in computer-readable deposit Calculation procedure on storage media, the calculation procedure include instruction, when the instruction is computer-executed, make the computer Perform claim requires the method described in 1-6 any one.
CN201710628274.9A 2017-07-28 2017-07-28 A kind of method for testing pressure and device of the encryption of the analogue data in C/S frameworks Pending CN107632927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710628274.9A CN107632927A (en) 2017-07-28 2017-07-28 A kind of method for testing pressure and device of the encryption of the analogue data in C/S frameworks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710628274.9A CN107632927A (en) 2017-07-28 2017-07-28 A kind of method for testing pressure and device of the encryption of the analogue data in C/S frameworks

Publications (1)

Publication Number Publication Date
CN107632927A true CN107632927A (en) 2018-01-26

Family

ID=61099565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710628274.9A Pending CN107632927A (en) 2017-07-28 2017-07-28 A kind of method for testing pressure and device of the encryption of the analogue data in C/S frameworks

Country Status (1)

Country Link
CN (1) CN107632927A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108650149A (en) * 2018-04-24 2018-10-12 平安科技(深圳)有限公司 Server testing method, device, equipment and computer readable storage medium
CN111814166A (en) * 2020-07-10 2020-10-23 上海淇毓信息科技有限公司 Data encryption method and device and electronic equipment
CN112968911A (en) * 2021-03-31 2021-06-15 中国工商银行股份有限公司 Data broadcasting method and device
CN113723958A (en) * 2021-08-31 2021-11-30 平安养老保险股份有限公司 Payment file testing method, device, equipment and medium based on AI encryption
CN115277478A (en) * 2022-07-27 2022-11-01 阿里云计算有限公司 Pressure measurement method and device, electronic equipment and storage medium
CN116743627A (en) * 2023-06-27 2023-09-12 中国建设银行股份有限公司 Pressure testing methods, devices, equipment and storage media

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080052663A1 (en) * 2006-07-17 2008-02-28 Rod Cope Project extensibility and certification for stacking and support tool
CN102546562A (en) * 2010-12-22 2012-07-04 腾讯科技(深圳)有限公司 Encrypting and decrypting method and system during transmission of data in web
CN104426719A (en) * 2013-09-11 2015-03-18 方正信息产业控股有限公司 Data transfer method and device based on OAUTH (open authorization) protocol testing
CN106790250A (en) * 2017-01-24 2017-05-31 郝孟 Data processing, encryption, integrity checking method and authentication identifying method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080052663A1 (en) * 2006-07-17 2008-02-28 Rod Cope Project extensibility and certification for stacking and support tool
CN102546562A (en) * 2010-12-22 2012-07-04 腾讯科技(深圳)有限公司 Encrypting and decrypting method and system during transmission of data in web
CN104426719A (en) * 2013-09-11 2015-03-18 方正信息产业控股有限公司 Data transfer method and device based on OAUTH (open authorization) protocol testing
CN106790250A (en) * 2017-01-24 2017-05-31 郝孟 Data processing, encryption, integrity checking method and authentication identifying method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蜗牛FINDBUG: ""jmeter请求发送加密参数(加密接口测试一)"", 《博客园:HTTPS://WWW.CNBLOGS.COM/WNFINDBUG/P/5817038.HTML》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108650149A (en) * 2018-04-24 2018-10-12 平安科技(深圳)有限公司 Server testing method, device, equipment and computer readable storage medium
CN108650149B (en) * 2018-04-24 2021-10-01 平安科技(深圳)有限公司 Server testing method, device, equipment and computer readable storage medium
CN111814166A (en) * 2020-07-10 2020-10-23 上海淇毓信息科技有限公司 Data encryption method and device and electronic equipment
CN111814166B (en) * 2020-07-10 2023-09-12 上海淇毓信息科技有限公司 Data encryption method and device and electronic equipment
CN112968911A (en) * 2021-03-31 2021-06-15 中国工商银行股份有限公司 Data broadcasting method and device
CN112968911B (en) * 2021-03-31 2022-09-09 中国工商银行股份有限公司 Data broadcasting method and device
CN113723958A (en) * 2021-08-31 2021-11-30 平安养老保险股份有限公司 Payment file testing method, device, equipment and medium based on AI encryption
CN115277478A (en) * 2022-07-27 2022-11-01 阿里云计算有限公司 Pressure measurement method and device, electronic equipment and storage medium
CN116743627A (en) * 2023-06-27 2023-09-12 中国建设银行股份有限公司 Pressure testing methods, devices, equipment and storage media

Similar Documents

Publication Publication Date Title
CN107632927A (en) A kind of method for testing pressure and device of the encryption of the analogue data in C/S frameworks
TWI672648B (en) Business process method and device, data share system, and storage medium
CN110457898B (en) Operation record storage method, device and equipment based on trusted execution environment
CN111460453A (en) Machine learning training method, controller, device, server, terminal and medium
WO2019127531A1 (en) Block chain-based data processing method and apparatus, storage medium and electronic device
CN111259414A (en) A method, device and device for file storage to realize encryption for audio
JP2023535040A (en) Master key escrow process
CN110933109A (en) Dynamic small program authentication method and device
CN111931209A (en) Contract information verification method and device based on zero knowledge certification
CN111970109A (en) Data transmission method and system
CN111669434A (en) Method, system, device and equipment for establishing communication group
CN108199827A (en) Client code integrity checking method, storage medium, electronic equipment and system
CN114785524B (en) Electronic seal generation method, device, equipment and medium
CN108390942A (en) A kind of encrypted distributed cloud storage method and apparatus of hardware
CN114817957A (en) Encrypted partition access control method and system based on domain management platform and computing equipment
CN107391970A (en) Function access control method and device in Flash application programs
CN110851851A (en) Authority management method, device and equipment in block chain type account book
CN108874714A (en) A kind of secure communication device based on chip
CN117993017B (en) Data sharing system, method, device, computer equipment and storage medium
CN114331648A (en) Bid file processing method, device, equipment and storage medium
CN108171043A (en) A kind of computer interface communications protection and abnormality alarming method and device
US11146594B2 (en) Security incident blockchain
WO2021027504A1 (en) Consensus protocol-based information processing method, and related device
CN111859351A (en) Method, system, server and storage medium for writing information into chip
CN112184434B (en) Blockchain system, data interaction and processing method, node and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180126

RJ01 Rejection of invention patent application after publication