CN107070735B - Method, test terminal and the system of asynchronous interface test - Google Patents
Method, test terminal and the system of asynchronous interface test Download PDFInfo
- Publication number
- CN107070735B CN107070735B CN201611265709.XA CN201611265709A CN107070735B CN 107070735 B CN107070735 B CN 107070735B CN 201611265709 A CN201611265709 A CN 201611265709A CN 107070735 B CN107070735 B CN 107070735B
- Authority
- CN
- China
- Prior art keywords
- http
- asynchronous
- test
- data
- return
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Abstract
Description
Claims (6)
- A kind of 1. method of asynchronous interface test, it is characterised in that the method for the asynchronous interface test includes:S1, test terminal send predetermined HTTP request one by one to asynchronous HTTP callback interfaces equipment to be measured;S2, the corresponding return HTTP of each HTTP request that service terminal receives that the asynchronous HTTP callback interfaces equipment sends Data, and give the return HTTP data sendings to the test terminal;S3, the test terminal obtains the standard HTTP data corresponding with the HTTP request to prestore, according to the return received HTTP data and the standard HTTP data test the asynchronous HTTP callback interfaces;The step S1 includes:S11, the test terminal send first to asynchronous HTTP callback interfaces equipment to be measured and make a reservation for HTTP request after, it is corresponding to receive first predetermined HTTP request that the asynchronous HTTP callback interfaces equipment returns Response message;S12, if the response message to ask successful information, is sent out to asynchronous HTTP callback interfaces equipment to be measured Send next predetermined HTTP request;The step S12 further comprises:If the response message analyzes the request successfully letter to ask successful information Whether critical field information is included in breath;If including critical field information in the successful information of request, the pass is analyzed Whether key field information is predetermined field information, if predetermined field information, then to asynchronous HTTP callback interfaces to be measured Equipment sends next predetermined HTTP request, and the predetermined field information is for characterizing asynchronous HTTP callback interfaces equipment Only exist in the information of test mode.
- 2. the method for asynchronous interface test according to claim 1, it is characterised in that the stepS3 includes:The return HTTP data received are compared with corresponding standard HTTP data for S31, the test terminal;S32, if having, the return HTTP data and corresponding standard HTTP data are inconsistent, generate the test knot of test crash Fruit information;S33, if all return HTTP data and corresponding standard HTTP data are consistent, generates the survey being successfully tested Test result information.
- 3. the method for asynchronous interface test according to claim 1 or 2, it is characterised in that also wrapped after the step S2 Include:S4, the service terminal based on predetermined data rule to the return HTTP data into line discipline computing, and will through rule Then the return HTTP data after computing are stored into predetermined third party's safety database, and the rule computing is to returning to HTTP Computing is encrypted in data, or computing is encrypted again to returning after HTTP data are compressed.
- A kind of 4. method testing terminal of the asynchronous interface test based on described in claim 1, it is characterised in that the test Terminal includes:Sending module, for sending predetermined HTTP request one by one to asynchronous HTTP callback interfaces equipment to be measured;Test module, for receiving each HTTP request pair of the asynchronous HTTP callback interfaces equipment transmission in service terminal The return HTTP data answered, and by the return HTTP data sendings to it is described test terminal after, obtain prestore with the HTTP Corresponding standard HTTP data are asked, according to the return HTTP data and the standard HTTP data received to described asynchronous HTTP callback interfaces are tested;The sending module is specifically used for sending first predetermined HTTP request to asynchronous HTTP callback interfaces equipment to be measured Afterwards, the corresponding response message of first predetermined HTTP request that the asynchronous HTTP callback interfaces equipment returns is received; If the response message to ask successful information, is sent next predetermined to asynchronous HTTP callback interfaces equipment to be measured HTTP request;If the sending module is further used for the response message to ask successful information, the request successfully letter is analyzed Whether critical field information is included in breath;If including critical field information in the successful information of request, the pass is analyzed Whether key field information is predetermined field information, if predetermined field information, then to asynchronous HTTP callback interfaces to be measured Equipment sends next predetermined HTTP request, and the predetermined field information is for characterizing asynchronous HTTP callback interfaces equipment Only exist in the information of test mode.
- 5. test terminal according to claim 4, it is characterised in that the test module is specifically used for returning what is received HTTP data are returned to be compared with corresponding standard HTTP data;If there are the return HTTP data and corresponding standard HTTP numbers According to inconsistent, then the test result information of test crash is generated;If all return HTTP data and corresponding standard HTTP data are consistent, then generate the test result information being successfully tested.
- A kind of 6. system of asynchronous interface test, it is characterised in that the system of the asynchronous interface test include service terminal and Test terminal described in claim 4 or 5, the service terminal are used to receive what the asynchronous HTTP callback interfaces equipment was sent The corresponding return HTTP data of each HTTP request, and give the return HTTP data sendings to the test terminal.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611265709.XA CN107070735B (en) | 2016-12-30 | 2016-12-30 | Method, test terminal and the system of asynchronous interface test |
PCT/CN2017/091257 WO2018120722A1 (en) | 2016-12-30 | 2017-06-30 | Asynchronous interface testing method, terminal, device, system, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611265709.XA CN107070735B (en) | 2016-12-30 | 2016-12-30 | Method, test terminal and the system of asynchronous interface test |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107070735A CN107070735A (en) | 2017-08-18 |
CN107070735B true CN107070735B (en) | 2018-04-20 |
Family
ID=59624105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611265709.XA Active CN107070735B (en) | 2016-12-30 | 2016-12-30 | Method, test terminal and the system of asynchronous interface test |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107070735B (en) |
WO (1) | WO2018120722A1 (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108848000B (en) * | 2018-05-07 | 2021-05-11 | 深圳壹账通智能科技有限公司 | Network request testing method and device, computer equipment and storage medium |
CN108920346A (en) * | 2018-06-05 | 2018-11-30 | 北京奇安信科技有限公司 | Web server interface time-consuming statistical method and device |
CN109165165A (en) * | 2018-09-04 | 2019-01-08 | 中国平安人寿保险股份有限公司 | Interface test method, device, computer equipment and storage medium |
CN109446071A (en) * | 2018-09-26 | 2019-03-08 | 深圳壹账通智能科技有限公司 | Interface test method, interface test device, electronic equipment and storage medium |
CN111651342A (en) * | 2019-03-04 | 2020-09-11 | 复旦大学 | HTTP interface automation testing framework based on Charles recording session |
CN110069395B (en) * | 2019-03-12 | 2023-07-25 | 平安科技(深圳)有限公司 | Method and device for simulating asynchronous interface, storage medium and computer equipment |
CN110032511A (en) * | 2019-03-19 | 2019-07-19 | 深圳市买买提信息科技有限公司 | A kind of interface test method and interface testing equipment |
CN110297761A (en) * | 2019-05-23 | 2019-10-01 | 深圳壹账通智能科技有限公司 | Acquisition methods, device, computer equipment and the storage medium of returned data |
CN110377471B (en) * | 2019-07-17 | 2022-08-23 | 江苏满运软件科技有限公司 | Interface verification data generation method and device, storage medium and electronic equipment |
CN110445688B (en) * | 2019-08-12 | 2021-04-23 | 珠海格力电器股份有限公司 | Interface service function monitoring method and system based on data collection |
CN111274137A (en) * | 2020-01-16 | 2020-06-12 | 北大方正集团有限公司 | Asynchronous interface detection method, asynchronous interface detection system and readable storage medium |
CN111581109A (en) * | 2020-05-15 | 2020-08-25 | 杭州安恒信息技术股份有限公司 | Method, system and equipment for checking interface return data |
CN111860719B (en) * | 2020-07-21 | 2023-10-27 | 上海仪电数字技术股份有限公司 | Serialization processing method for product to be tested |
CN111913820B (en) * | 2020-08-11 | 2023-04-07 | 傲普(上海)新能源有限公司 | Method for processing http overtime task |
CN112416708B (en) * | 2020-11-17 | 2023-09-22 | 中国工商银行股份有限公司 | Asynchronous call link monitoring method and system |
CN115632817B (en) * | 2022-09-22 | 2023-09-05 | 浪潮卓数大数据产业发展有限公司 | Method and device for preventing climbing of An Zhuo Duan |
CN117370216A (en) * | 2023-12-08 | 2024-01-09 | 天津华来科技股份有限公司 | Callback interface performance test method based on python language |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217425A (en) * | 2008-01-04 | 2008-07-09 | 中兴通讯股份有限公司 | Web testing method and device |
CN101572632A (en) * | 2009-03-04 | 2009-11-04 | 公安部第三研究所 | Method for testing management end interface of information security management system |
CN106095673A (en) * | 2016-06-07 | 2016-11-09 | 深圳市泰久信息系统股份有限公司 | Automated testing method based on WEB interface and system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6981180B1 (en) * | 2000-03-16 | 2005-12-27 | Akamai Technologies, Inc. | Method and apparatus for testing request-response service using live connection traffic |
US8271837B2 (en) * | 2010-06-07 | 2012-09-18 | Salesforce.Com, Inc. | Performing asynchronous testing of an application occasionally connected to an online services system |
CN104572469B (en) * | 2015-01-23 | 2017-12-05 | 广东能龙教育股份有限公司 | A kind of automatic interface testing method and system based on simulation http request |
CN104615534B (en) * | 2015-01-28 | 2017-08-01 | 广州酷狗计算机科技有限公司 | interface test method and device |
CN105162646B (en) * | 2015-07-29 | 2018-09-11 | 北京京东尚科信息技术有限公司 | A kind of multi-protocol interface test system and method |
CN205786933U (en) * | 2016-07-19 | 2016-12-07 | 湖北广兴通信科技有限公司 | One kind of multiple style interface testing moulds |
-
2016
- 2016-12-30 CN CN201611265709.XA patent/CN107070735B/en active Active
-
2017
- 2017-06-30 WO PCT/CN2017/091257 patent/WO2018120722A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101217425A (en) * | 2008-01-04 | 2008-07-09 | 中兴通讯股份有限公司 | Web testing method and device |
CN101572632A (en) * | 2009-03-04 | 2009-11-04 | 公安部第三研究所 | Method for testing management end interface of information security management system |
CN106095673A (en) * | 2016-06-07 | 2016-11-09 | 深圳市泰久信息系统股份有限公司 | Automated testing method based on WEB interface and system |
Also Published As
Publication number | Publication date |
---|---|
CN107070735A (en) | 2017-08-18 |
WO2018120722A1 (en) | 2018-07-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107070735B (en) | Method, test terminal and the system of asynchronous interface test | |
CN103916244B (en) | Verification method and device | |
CN107135073A (en) | Interface interchange method and apparatus | |
CN108537046A (en) | A kind of online contract signature system and method based on block chain technology | |
US20060075122A1 (en) | Method and system for managing cookies according to a privacy policy | |
US9628566B2 (en) | Communication of data of a web real-time communication via a carrier-grade environment | |
US9544317B2 (en) | Identification of potential fraudulent website activity | |
CN109190409B (en) | Method, device, equipment and readable storage medium for recording information propagation path | |
CN110335159B (en) | Application information processing method, device and equipment and readable storage medium | |
US11403633B2 (en) | Method for sending digital information | |
CN108696481A (en) | leak detection method and device | |
CN107342966B (en) | Authority credentials distribution method and device | |
CN109257321A (en) | Safe login method and device | |
CN110198248A (en) | The method and apparatus for detecting IP address | |
CN108322416A (en) | A kind of safety certification implementation method, apparatus and system | |
CN108667770A (en) | A kind of loophole test method, server and the system of website | |
CN109981647A (en) | Method and apparatus for detecting Brute Force | |
CN105701198B (en) | Page verification method and device | |
CN107203576A (en) | Information synchronization method and device | |
CN109828924A (en) | Test method, device and calculating equipment and medium | |
CN106878244B (en) | Authenticity certification information providing method and device | |
CN106997560A (en) | The method and apparatus that processing credit card is insured | |
CN108449186A (en) | Safe verification method and device | |
US20220210657A1 (en) | Identity network representation of communications device subscriber in a digital domain | |
US20220201476A1 (en) | Authenticated communications device to tie real-world and digital identities |
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 | ||
CB02 | Change of applicant information |
Address after: 200030 Shanghai City Kai Xuhui District No. 166, 9 layers and 10 layers Applicant after: Shanghai Financial Technologies Ltd Address before: 200135 Pudong, Pudong New Area, China (Shanghai) free trade zone, No. 2250 South Road, Shanghai, building 2, room D121 Applicant before: Shanghai billion through Internet Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20180601 Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.) Patentee after: Shenzhen one ledger science and Technology Service Co., Ltd. Address before: 200030 Xuhui District, Shanghai Kai Bin Road 166, 9, 10 level. Patentee before: Shanghai Financial Technologies Ltd |
|
TR01 | Transfer of patent right | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1242866 Country of ref document: HK |