WO2019223142A1 - 应用程序测试方法、装置、计算机设备及存储介质 - Google Patents
应用程序测试方法、装置、计算机设备及存储介质 Download PDFInfo
- Publication number
- WO2019223142A1 WO2019223142A1 PCT/CN2018/101843 CN2018101843W WO2019223142A1 WO 2019223142 A1 WO2019223142 A1 WO 2019223142A1 CN 2018101843 W CN2018101843 W CN 2018101843W WO 2019223142 A1 WO2019223142 A1 WO 2019223142A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- access
- traffic data
- test
- access traffic
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/362—Debugging of software
- G06F11/3644—Debugging of software by instrumenting at runtime
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/362—Debugging of software
- G06F11/366—Debugging of software using diagnostics
Definitions
- the present application relates to the field of computer technology, and in particular, to an application program testing method, device, computer equipment, and storage medium.
- This application provides an application test method, device, computer equipment, and storage medium, and aims to provide a fast and comprehensive application test method.
- this application provides a method for testing an application program, which includes:
- a test report is generated according to the test data and the running data.
- an application testing device including:
- a data obtaining unit configured to obtain access traffic data corresponding to a running version of the application, where the running version of the application runs in a first operating environment
- a copy sending unit configured to copy the access traffic data and send the copied access traffic data to a test version of the application, where the test version of the application runs in a second operating environment;
- a first obtaining unit configured to obtain test data generated when the test version of an application program completes business logic corresponding to the access traffic data
- a second obtaining unit configured to obtain running data generated when the running version of the application program completes the business logic corresponding to the access traffic data
- the report generating unit is configured to generate a test report according to the test data and the running data.
- the present application further provides a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor.
- the processor implements the program when the program is executed.
- the application testing method according to any one of the present application.
- the present application further provides a storage medium, wherein the storage medium stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processor to execute the application The application test method described in any one of the provided.
- the access flow data of the running version of the application program in the first running environment is copied; the test version of the application program is tested according to the access flow data; and the running version of the application program is in the first running environment.
- the running data of the test version is compared with the test data of the application in the second operating environment to complete the test of the new version of the application, thus avoiding the need to simulate a large number of test cases, thereby saving a lot of manpower , Which improves the efficiency of verification and reduces the risk of missing test cases caused by missing test cases.
- FIG. 1 is a schematic diagram of an application scenario of an application test method provided by an embodiment of the present application.
- FIG. 2 is a schematic flowchart of an application test method according to an embodiment of the present application.
- FIG. 3 is a schematic flowchart of sub-steps of the application testing method in FIG. 2; FIG.
- FIG. 4 is a schematic flowchart of sub-steps of the application testing method in FIG. 3; FIG.
- FIG. 5 is a schematic block diagram of a data monitoring device according to an embodiment of the present application.
- FIG. 6 is a schematic block diagram of a computer device according to an embodiment of the present application.
- the embodiments of the present application provide a method, a device, a computer device, and a storage medium for testing an application program.
- executing the application test method requires building a set of application test environment, that is, the application scenario corresponding to the application test method.
- the application scenario composition applicable to the application test method in the embodiment of the present application is first introduced.
- the application scenario includes: a terminal, a preset network device, a server, a first operating environment, and a second operating environment.
- the first operating environment is a real environment in which the application program runs, including a running server and a running database. Etc .;
- the second operating environment is a test environment for testing the application, including a test server and a test database.
- the terminal is used to install the client of the application for the convenience of the user, the server is used to run the application test method, and the server may use the terminal instead.
- the preset network device is an F5 device and the F5 device is a load balancer. It mainly adopts load balancing technology and performs various flexible allocation calculations to distribute all network requests to other servers in a balanced manner. Manage daily online data traffic to reduce the traffic load on a single server, and strive to achieve the best networking experience for network visitors.
- other network devices may also be used, which is not limited herein.
- the preset HSL service is preset according to the improvement of the HSL service to complete the replication of the access traffic data.
- the HSL service is a log output service for F5 devices. It provides logging or information to a remote log server. It can detect network request information on the F5 device and extract related information to send to the remote server, such as data packets and HTTP attributes. content.
- the user terminal may be an electronic device such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device;
- the server may be an independent server or a server cluster composed of multiple servers.
- FIG. 2 is a schematic flowchart of an application testing method provided by an embodiment of the present application. As shown in FIG. 2, the application test method includes steps S101 to S105.
- the network application includes various terminal applications, including web applications and App applications, such as mobile apps such as Ping An Pocket Bank, Ping An Lujin Office, WeChat, and Alipay. These applications need to test the newly developed application version before the new version is released.
- the newly developed application is the test version application; the corresponding current application is the running version of the application.
- a running version of an application is an application that the user is using.
- the first operating environment refers to a real operating environment corresponding to the running version of the application program, including a server and a database, and may also be referred to as a production environment.
- the acquiring the access traffic data corresponding to the running version of the application program includes: acquiring the access traffic data corresponding to the running version of the application program through a preset network device.
- the access traffic data corresponding to the running version of the application includes traffic data generated by the client of the application accessing the server on the background of the application through the F5 server, such as a user logging in to Ping An Pocket Bank for account balance inquiry and transfer Waiting for services, the Ping An Pocket Bank client will send the user information and transfer information filled in by the user to the server corresponding to the back office of Ping An Pocket Bank, thereby generating streaming traffic data.
- the copied access traffic data is sent to a test version application program running in a second operating environment so that the test version application program completes the business logic corresponding to the access traffic data.
- the second operating environment corresponds to the first operating environment and also includes a server and a database.
- the second operating environment is also referred to as a grayscale environment.
- the copying the access traffic data includes copying the access traffic data through a preset HSL service, wherein the preset HSL service is configured in the preset network device.
- the preset network device may be an F5 device, and the F5 device is a load balancer.
- HSL service High speed logs
- HSL service is a high-speed log output service that can provide related interface development to complete the replication of access traffic data. Provides a log output service for F5 devices, provides logging logs or information to the remote log server, can detect network request information on the F5 device, and extracts relevant information content and sends it to the remote server, such as information content such as data packets and HTTP attributes.
- step S102 includes sub-steps S102a and S102e.
- the request method category corresponding to the access traffic data includes a POST method category and a GET method category.
- S102b If it is identified as a GET method category, obtain an access request data packet corresponding to the access traffic data.
- the request method category corresponding to the access traffic data is a GET method category
- an access request data packet corresponding to the access traffic data is acquired to complete the copy of the access traffic data.
- the access request data packet corresponding to the access traffic data is acquired to complete the copy of the access traffic data, and the copying method is to obtain the access traffic data to complete the copy of the access traffic data.
- the request method category corresponding to the access traffic data is the POST method category, it is determined whether the access traffic data is complete according to the length of the header content of the access request data packet corresponding to the access traffic data.
- the length of the header content of the access request data packet is zero. If the length of the header content of the access request data packet is zero, it may be determined that the last access request data packet has been transmitted, and thus It may be determined that the access traffic data is complete.
- S102d Obtain an access request data packet corresponding to the access traffic data to complete the copy of the access traffic data
- an access request data packet corresponding to the access flow data is acquired to complete the copy of the access flow data.
- S102e Continue to load the access request data packet until the access flow data is complete, and obtain a complete access request data packet corresponding to the access flow data.
- the access flow data is incomplete, continue to load the access request data packet until the access flow data is complete, and obtain a complete access request data packet corresponding to the access flow data to complete the access Copy of traffic data.
- test data includes test log data and test service data.
- the test log data is a log record generated when an application background runs business logic corresponding to the access traffic data.
- the test log data includes, for example, a login password. Verification results, corresponding results of face recognition or login time, etc .;
- test business data is the processing result data corresponding to the business logic that the application background processes the client request, such as including withdrawal data, balance data, transfer bank, and time taken to transfer .
- the operation data includes operation log data and operation service data
- the operation log data corresponds to test log data, such as a verification result of a login password, a result corresponding to a face recognition or a login time, and the like; a running service
- the data correspond to test business data, such as withdrawal data, balance data, transfer bank, and time spent on the transfer.
- step S105 specifically includes sub-steps S105a and S105b.
- S105a Compare and analyze the test data and running data to generate difference information
- S105b Generate the test report according to the difference information.
- test data and the running data are compared and difference information after the comparison is obtained, and a test report is generated according to the difference information and sent to a developer of the application to analyze the application. Whether the service logic and performance of the corresponding test version meet the requirements, thereby completing the test of the application of the test version.
- the operation data includes operation log data and operation service data
- the test data includes test log data and test service data
- the comparison and analysis of the test data and the operation data includes: Perform comparison analysis on the test log data and the operation log data, and perform comparison analysis on the test service data and the operation service data.
- the difference information is, for example, different business logic results and different performance data. Specifically, if the customer cannot log in, the performance difference, such as the transfer time, is different. For example, the transfer time corresponding to the test version application is much shorter than the running version application.
- the test report includes these differences, so when developers see the test report, they know that the new development version of the application has improved the transfer rate.
- the access traffic data of the running version of the application program in the generating environment is copied; the test version in the second running environment is sent for running according to the access flow data; and the running data of the application program in the generating environment and Comparison and analysis of the test data of the environmental environment has been completed to test the new version of the application, thus avoiding human simulation of a large number of test cases, improving the test efficiency, and reducing the risk of missing test cases.
- FIG. 5 is a schematic block diagram of an application test apparatus according to an embodiment of the present application.
- the application test apparatus 400 includes a data obtaining unit 401, a copy sending unit 402, a first obtaining unit 403, a second obtaining unit 404, and a report generating unit 405.
- the data obtaining unit 401 is configured to obtain access traffic data corresponding to a running version of the application program, where the running version of the application program runs in a first running environment.
- the copy sending unit 402 is configured to copy the access traffic data and send the copied access traffic data to a test version of the application program, where the test version of the application program runs in a second running environment. Specifically, the method is used to copy the access traffic data according to a request method category corresponding to the access traffic data by using a corresponding copy rule.
- the copy sending unit 402 includes a category identification subunit 4021, a first acquisition subunit 4022, a data determination subunit 4033, a second acquisition subunit 4034, and a third acquisition subunit 4035.
- the category identification subunit 4021 is configured to identify a request method category corresponding to the access traffic data; and the first acquisition subunit 4022 is configured to identify a request method category corresponding to the access traffic data as a GET method category, then Acquiring an access request data packet corresponding to the access traffic data to complete the copy of the access traffic data; a data judging subunit 4033, configured to, if it is identified that the request method category corresponding to the access traffic data is a POST method category, then Determine whether the access flow data is complete according to the content length of the header of the access request data packet corresponding to the access flow data; a second obtaining subunit 4034 is configured to obtain the access flow data if the access flow data is complete A corresponding access request data packet to complete the copy of the access flow data; a third acquisition subunit 4035 is configured to continue to load the access request data packet until the access flow data if the access flow data is incomplete Complete, and obtain a complete access request data packet corresponding to the access traffic data to complete the Access to copy said data traffic.
- the first obtaining unit 403 is configured to obtain test data generated when the test version application program completes the business logic corresponding to the access traffic data.
- the second obtaining unit 404 is configured to obtain running data generated when the running version of the application program completes the business logic corresponding to the access traffic data.
- the report generating unit 405 is configured to generate a test report according to the test data and the running data.
- the report generation unit 405 includes a difference generation subunit 4051 and a report generation subunit 4052.
- the difference generation subunit 4051 is configured to perform a comparison analysis on the test data and the running data to generate difference information.
- a report generation subunit 4052 is configured to generate the test report according to the difference information.
- the above apparatus may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in FIG. 6.
- FIG. 6 is a schematic block diagram of a computer device according to an embodiment of the present application.
- the computer device 700 may be a terminal or a server.
- the computer device 700 includes a processor 720, a memory, and a network interface 750 connected through a system bus 710.
- the memory may include a non-volatile storage medium 730 and an internal memory 740.
- the non-volatile storage medium 730 can store an operating system 731 and a computer program 732.
- the processor 720 can execute an application test method.
- the processor 720 is used to provide computing and control capabilities to support the operation of the entire computer device 700.
- the internal memory 740 provides an environment for running the computer program 732 in the non-volatile storage medium 730.
- the processor 720 can execute an application test method.
- the network interface 750 is used for network communication, such as sending assigned tasks.
- the structure shown in FIG. 6 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer equipment 700 to which the solution of the present application is applied. 700 may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.
- the processor 720 is configured to run program code stored in a memory to implement the process steps in the method provided by the foregoing embodiment.
- the processor 720 may be a central processing unit (CPU), and the processor 720 may also be another general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- the general-purpose processor may be a microprocessor, or the processor may be any conventional processor.
- the structure of the computer device 700 shown in FIG. 6 does not constitute a limitation on the computer device 700, and may include more or fewer components than shown in the figure, or combine some components, or different components. Layout.
- the computer program can be stored in a storage medium, which is a computer-readable medium. Read storage media.
- the computer program may be stored in a storage medium of a computer system and executed by at least one processor in the computer system to implement the process steps including the method embodiments described above.
- the computer-readable storage medium may be any medium that can store program code, such as a magnetic disk, an optical disk, a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a magnetic disk, or an optical disk.
- program code such as a magnetic disk, an optical disk, a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a magnetic disk, or an optical disk.
- the disclosed apparatus and method for testing an application program may be implemented in other ways.
- the application test device embodiments described above are merely exemplary.
- the division of each unit is only a logical function division, and there may be another division manner in actual implementation.
- multiple units or components may be combined or integrated into another system, or some features may be ignored or not implemented.
- the units in the apparatus of the embodiment of the present application may be combined, divided, and deleted according to actual needs.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
- the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
- the technical solution of this application is essentially a part that contributes to the existing technology, or all or part of the technical solution may be embodied in the form of a software product, which is stored in a storage medium. Included are instructions for causing a computer device (which may be a personal computer, a terminal, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
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)
- Debugging And Monitoring (AREA)
Abstract
本申请公开一种应用程序测试方法、装置、计算机设备及存储介质,该方法包括获取运行在第一运行环境中运行版本的应用程序的访问流量数据并将数据发送至运行在第二运行环境中测试版本的应用程序;获取测试版本和运行版本的应用程序完成该数据对应的业务逻辑时产生的测试数据和运行数据;根据测试数据和运行数据生成测试报告。
Description
本申请要求于2018年5月22日提交中国专利局、申请号为201810496561.3、发明名称为“应用程序测试方法、装置、计算机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及计算机技术领域,尤其涉及一种应用程序测试方法、装置、计算机设备及存储介质。
目前,在应用程序运营中,时常需要验证新版本应用程序对应的服务逻辑是否正常,但由于应用程序的复杂性,新版本应用程序验证通常需要人工模拟大量的测试案例,拟造大量的生产数据来验证其运行环境。但由于应用程序通常有较大的复杂度,常常出现模拟测试案例不完整或者模拟验证的方案不正常等,导致测试效果较差。同时通过人工模拟大量的案例,往往需要花费大量时间编排及验证,由此造成人力浪费且效果极其低下。因此,有必要提供应用程序测试方法以解决上述问题。
发明内容
本申请提供了一种应用程序测试方法、装置、计算机设备及存储介质,旨在提供一种快速全面的应用程序测试方法。
第一方面,本申请提供了一种应用程序测试方法,其包括:
获取运行版本的应用程序对应的访问流量数据,其中所述运行版本的应用程序运行在第一运行环境中;
复制所述访问流量数据,并将复制的访问流量数据发送至测试版本的应用程序,其中所述测试版本的应用程序运行在第二运行环境中;
获取所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的测试数据;
获取所述运行版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的运行数据;
根据所述测试数据和运行数据生成测试报告。
第二方面,本申请提供了一种应用程序测试装置,其包括:
数据获取单元,用于获取运行版本的应用程序对应的访问流量数据,其中所述运行版本的应用程序运行在第一运行环境中;
复制发送单元,用于复制所述访问流量数据,并将复制的访问流量数据发送至测试版本的应用程序,其中所述测试版本的应用程序运行在第二运行环境中;
第一获取单元,用于获取所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的测试数据;
第二获取单元,用于获取所述运行版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的运行数据;
报告生成单元,用于根据所述测试数据和运行数据生成测试报告。
第三方面,本申请还提供了一种计算机设备,其包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时实现本申请提供的任一项所述的应用程序测试方法。
第四方面,本申请还提供了一种存储介质,其中所述存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行本申请提供的任一项所述的应用程序测试方法。
本申请实施例通过复制该运行版本的应用程序在第一运行环境中的访问流量数据;根据访问流量数据对测试版本的应用程序进行测试;并将该运行版本的应用程序在第一运行环境中的运行数据与该测试版本的应用程序在第二运行环境的测试数据进行比对分析以完成对该应用程序的新版本测试,因此避免了人力模拟大量的测试案例,由此节省了大量的人力,提高了验证效率,降低测试案例遗漏而带来的测试遗漏等风险。
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实 施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种应用程序测试方法的应用场景示意图;
图2是本申请一实施例提供的一种应用程序测试方法的示意流程图;
图3是图2中应用程序测试方法的子步骤示意流程图;
图4是图3中应用程序测试方法的子步骤示意流程图;
图5是本申请一实施例提供的一种数据监控装置的示意性框图;
图6是本申请一实施例提供的一种计算机设备的示意性框图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。
还应当理解,在此本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。
还应当进一步理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。
本申请实施例提供了一种应用程序测试方法、装置、计算机设备和存储介质。
其中,执行该应用程序测试方法需要搭建一套应用程序测试环境,即该应用程序测试方法对应的应用场景。为了便于理解,先对本申请实施例的应用程序测试方法所适用的应用场景组成进行介绍。
如图1所示,该应用场景包括:终端、预设网络设备、服务器、第一运行 环境和第二运行环境,其中第一运行环境为该应用程序运行的真实环境,包括运行服务器和运行数据库等;第二运行环境为该应用程序进行测试的测试环境,包括测试服务器和测试数据库中。终端用于安装该应用程序的客户端以便于用户使用,服务器用于运行该应用程序测试方法,该服务器可以使用终端代替。
在本实施例中,该预设网络设备为F5设备,F5设备为负载均衡器,主要采取负载均衡技术,进行各种灵活的分配计算将全部的网络请求均衡地分布到其他服务器上,通过合理管理每天的网上数据流量来减轻单个服务器上的流量负担,力求达到使网络访问者享受最佳的联网体验。在其他实施例中,也可以采用其他网络设备,在此不做限定。
其中,该预设HSL服务根据HSL服务进行改进而预先设置的,以完成对访问流量数据的复制。HSL服务为F5设备的一个日志输出服务,提供记录日志或信息到远端日志服务器,可在F5设备上检测网络请求信息,并提取相关信息内容发送远端服务器,比如数据包和HTTP属性等信息内容。
其中,用户终端可以是智能手机、平板电脑、笔记本电脑、台式电脑、个人数字助理和穿戴式设备等电子设备;服务器可以是独立的服务器,也可以是多个服务器组成的服务器集群。
以下基于图1提供的应用场景介绍应用程序测试方法,请同时参阅图2,图2是本申请一实施例提供的一种应用程序测试方法的示意流程图。如图2所示,该应用程序测试方法包括步骤S101~S105。
S101、获取运行版本的应用程序对应的访问流量数据,其中所述运行版本的应用程序运行在第一运行环境中。
在本实施例中,该网络应用包括各种终端应用程序,包括网页应用和App应用等,比如平安口袋银行、平安陆金所、微信和支付宝等手机App。这些应用程序在发布新版本前,均需要对新开发出来的应用程序版本进行测试,该新开发出的应用程序即为测试版本应用程序;相对应的正在使用应用程序为运行版本的应用程序,运行版本的应用程序是指用户正在使用的应用程序。
其中,该第一运行环境是指该运行版本的应用程序运行时所对应的真实运行环境,包括服务器和数据库等,也可称为生产环境。
在一实施例中,所述获取运行版本的应用程序对应的访问流量数据,包括:通过预设网络设备获取运行版本的应用程序对应的访问流量数据。
具体地,运行版本的应用程序对应的访问流量数据包括应用程序的客户端通过F5服务器对该应用程序后台所在的服务器进行访问所产生的流量数据,比如用户登录平安口袋银行进行账户余额查询以及转账等服务,平安口袋银行客户端会把用户登录填写的用户信息和转账信息发送至平安口袋银行后台所对应的服务器,由此产生流访问量数据。
S102、复制所述访问流量数据,并将复制的访问流量数据发送至测试版本的应用程序,其中所述测试版本的应用程序运行在第二运行环境中。
在本实施例中,将复制的访问流量数据发送至运行在第二运行环境中的测试版本的应用程序以使得所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑。所述第二运行环境与第一运行环境相对应,也包括服务器和数据库等,该第二运行环境也称为灰度环境。
其中,所述复制所述访问流量数据,包括:通过预设HSL服务复制所述访问流量数据,其中所述预设HSL服务配置在所述预设网络设备中。预设网络设备可以为F5设备,该F5设备是负载均衡器。HSL服务(High speed logs)为高速日志输出服务,可以提供相关接口开发以完成对访问流量数据的复制。为F5设备的一个日志输出服务,提供记录日志或信息到远端日志服务器,可在F5设备上检测网络请求信息,并提取相关信息内容发送远端服务器,比如数据包和HTTP属性等信息内容。
具体地,根据所述访问流量数据对应的请求方法类别采用相应的复制规则复制所述访问流量数据,其中,所述请求方法类别包括GET方法类别或POST方法类别。具体地,如图3所示,步骤S102包括子步骤S102a和S102e。
S102a、识别所述访问流量数据对应的请求方法类别。
其中,所述访问流量数据对应的请求方法类别包括POST方法类别和GET方法类别。
S102b、若识别出为GET方法类别,则获取所述访问流量数据对应的访问请求数据包。
具体地,若识别出所述访问流量数据对应的请求方法类别为GET方法类别,则获取所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制。其中,获取所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制,该复制方式为直接获取即可完成对访问流量数据的复制。
S102c、若识别出为POST方法类别,判断所述访问流量数据是否完整。
具体地,若识别出所述访问流量数据对应的请求方法类别为POST方法类别,则根据所述访问流量数据对应的访问请求数据包的头部内容长度判断所述访问流量数据是否完整。
具体地,需要判断所述访问请求数据包的头部内容长度是否为零,若所述访问请求数据包的头部内容长度为零,则可以判定最后一个访问请求数据包已经传输完,由此可以判定所述访问流量数据完整的。
S102d、获取所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制
具体地,若所述访问流量数据完整,则获取所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制。通过识别所述访问流量数据对应的请求方法类别,采用不同的复制规则进行复制,由此可以提高所述访问流量数据的复制效率,以加快应用程序的测试。
S102e、继续加载所述访问请求数据包直至所述访问流量数据完整,并获取完整的所述访问流量数据对应的访问请求数据包。
具体地,若所述访问流量数据不完整,则继续加载所述访问请求数据包直至所述访问流量数据完整,并获取完整的所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制。
S103、获取所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的测试数据。
在本实施例中,该测试数据包括测试日志数据和测试业务数据,该测试日志数据是应用程序后台运行所述访问流量数据对应的业务逻辑时产生的日志记录,测试日志数据比如包括登录密码的验证结果、人脸识别对应的结果或登录时间等等;测试业务数据是应用程序后台处理客户端请求的业务逻辑对应处理结果数据,比如包括取款数据、余额数据、转账银行以及转账所花费的时间。
S104、获取所述运行版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的运行数据。
在本实施例中,该运行数据包括运行日志数据和运行业务数据,该运行日志数据与测试日志数据相对应,比如登录密码的验证结果、人脸识别对应的结果或登录时间等等;运行业务数据与测试业务数据相对应,比如取款数据、余 额数据、转账银行以及转账所花费的时间。
S105、根据所述测试数据和运行数据生成测试报告。
在本本实施例中,如图4所示,步骤S105具体包括子步骤S105a和S105b。其中,S105a、将所述测试数据和运行数据进行比对分析以生成差异信息;S105b、根据所述差异信息生成所述测试报告。
具体地,是将所述测试数据和所述运行数据进行比对并获取比对后的差异信息,根据所述差异信息生成测试报告并发送至所述应用程序的开发人员,以分析该应用程序对应的测试版本的服务逻辑和性能是否满足要求,由此完成对测试版本的应用程序的测试。
其中,所述运行数据包括运行日志数据和运行业务数据,所述测试数据包括测试日志数据和测试业务数据;所述将所述测试数据和所述运行数据进行比对分析,包括:将所述测试日志数据和所述运行日志数据进行比对分析,以及将所述测试业务数据和所述运行业务数据进行比对分析。差异信息比如为业务逻辑结果不同以及性能数据不同等,具体如客户无法登录,性能差异比如转账时间不同,比如测试版本应用对应的转账时间远远小于运行版本应用。在测试报告包括这些差异信息,由此开发人员在看到测试报告时,可知新开发版本应用在转账速率上有了提升。
上述实施例方案通过复制运行版本的应用程序在生成环境中的访问流量数据;根据访问流量数据发送第二运行环境中的测试版本进行运行;并将该应用程序在生成环境的运行数据与在灰度环境的测试数据进行比对分析已完成对该应用程序的新版本测试,因此避免了人力模拟大量的测试案例,提高了测试效率,降低测试案例遗漏而带来的风险。
请参阅图5,图5是本申请实施例提供的一种应用程序测试装置的示意性框图。如图5所示,应用程序测试装置400包括:数据获取单元401、复制发送单元402、第一获取单元403、第二获取单元404和报告生成单元405。
数据获取单元401,用于获取运行版本的应用程序对应的访问流量数据,其中所述运行版本的应用程序运行在第一运行环境中。
复制发送单元402,用于复制所述访问流量数据,并将复制的访问流量数据发送至测试版本的应用程序,其中所述测试版本的应用程序运行在第二运行环 境中。具体用于:根据所述访问流量数据对应的请求方法类别采用相应的复制规则复制所述访问流量数据。
基于此,复制发送单元402包括:类别识别子单元4021、第一获取子单元4022、数据判断子单元4033、第二获取子单元4034和第三获取子单元4035。
其中,类别识别子单元4021,用于识别所述访问流量数据对应的请求方法类别;第一获取子单元4022,用于若识别出所述访问流量数据对应的请求方法类别为GET方法类别,则获取所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制;数据判断子单元4033,用于若识别出所述访问流量数据对应的请求方法类别为POST方法类别,则根据所述访问流量数据对应的访问请求数据包的头部内容长度判断所述访问流量数据是否完整;第二获取子单元4034,用于若所述访问流量数据完整,则获取所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制;第三获取子单元4035,用于若所述访问流量数据不完整,则继续加载所述访问请求数据包直至所述访问流量数据完整,并获取完整的所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制。
第一获取单元403,用于获取所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的测试数据。
第二获取单元404,用于获取所述运行版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的运行数据。
报告生成单元405,用于根据所述测试数据和运行数据生成测试报告。该报告生成单元405包括差异生成子单元4051和报告生成子单元4052。
其中,差异生成子单元4051,用于将所述测试数据和运行数据进行比对分析以生成差异信息。报告生成子单元4052,用于根据所述差异信息生成所述测试报告。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的应用程序测试装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
上述装置可以实现为一种计算机程序的形式,计算机程序可以在如图6所示的计算机设备上运行。
请参阅图6,图6是本申请实施例提供的一种计算机设备的示意性框图。该计算机设备700设备可以是终端或服务器。
参照图6,该计算机设备700包括通过系统总线710连接的处理器720、存储器和网络接口750,其中,存储器可以包括非易失性存储介质730和内存储器740。
该非易失性存储介质730可存储操作系统731和计算机程序732。该计算机程序732被执行时,可使得处理器720执行一种应用程序测试方法。
该处理器720用于提供计算和控制能力,支撑整个计算机设备700的运行。
该内存储器740为非易失性存储介质730中的计算机程序732的运行提供环境,该计算机程序732被处理器720执行时,可使得处理器720执行一种应用程序测试方法。
该网络接口750用于进行网络通信,如发送分配的任务等。本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备700的限定,具体的计算机设备700可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。其中,所述处理器720用于运行存储在存储器中的程序代码,以实现上述实施例提供的方法中的流程步骤。
应当理解,在本申请实施例中,处理器720可以是中央处理单元(Central Processing Unit,CPU),该处理器720还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
本领域技术人员可以理解,图6中示出的计算机设备700结构并不构成对计算机设备700的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
本领域普通技术人员可以理解的是实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,计算机程序可存储于一存储介质中,该存储介质为计算机可读存储介质。如本申请实施例中,该计算 机程序可存储于计算机系统的存储介质中,并被该计算机系统中的至少一个处理器执行,以实现包括如上述方法实施例的流程步骤。
该计算机可读存储介质可以是磁碟、光盘、U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的几个实施例中,应该理解到,所揭露的应用程序测试装置和方法,可以通过其它的方式实现。例如,以上所描述的应用程序测试装置实施例仅仅是示意性的。例如,各个单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。
本申请实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。
本申请实施例装置中的单元可以根据实际需要进行合并、划分和删减。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,终端,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于 此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。
Claims (20)
- 一种应用程序测试方法,其包括:获取运行版本的应用程序对应的访问流量数据,其中所述运行版本的应用程序运行在第一运行环境中;复制所述访问流量数据,并将复制的访问流量数据发送至测试版本的应用程序,其中所述测试版本的应用程序运行在第二运行环境中;获取所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的测试数据;获取所述运行版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的运行数据;根据所述测试数据和运行数据生成测试报告。
- 根据权利要求1所述的应用程序测试方法,其中,所述根据所述测试数据和运行数据生成测试报告,包括:将所述测试数据和运行数据进行比对分析以生成差异信息;根据所述差异信息生成所述测试报告。
- 根据权利要求1所述的应用程序测试方法,其中,所述获取运行版本的应用程序对应的访问流量数据,包括:通过预设网络设备获取运行版本的应用程序对应的访问流量数据;所述复制所述访问流量数据,包括:通过预设HSL服务复制所述访问流量数据,其中所述预设HSL服务配置在所述预设网络设备中。
- 根据权利要求3所述的应用程序测试方法,其中,所述通过预设HSL服务复制所述访问流量数据,包括:根据所述访问流量数据对应的请求方法类别采用相应的复制规则复制所述访问流量数据。
- 根据权利要求4所述的应用程序测试方法,其中,所述请求方法类别包括GET方法类别或POST方法类别;所述根据所述访问流量数据对应的请求方法类别采用相应的复制规则复制所述访问流量数据,包括:识别所述访问流量数据对应的请求方法类别;若识别出所述访问流量数据对应的请求方法类别为GET方法类别,则获取所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制;若识别出所述访问流量数据对应的请求方法类别为POST方法类别,则根据所述访问流量数据对应的访问请求数据包的头部内容长度判断所述访问流量数据是否完整;若所述访问流量数据完整,则获取所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制;若所述访问流量数据不完整,则继续加载所述访问请求数据包直至所述访问流量数据完整,并获取完整的所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制。
- 根据权利要求1所述的应用程序测试方法,其中,所述获取所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的测试数据,包括:获取所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的测试日志数据和测试业务数据。
- 根据权利要求1所述的应用程序测试方法,其中,所述获取所述运行版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的运行数据,包括:获取所述运行版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的运行日志数据和运行业务数据。
- 一种应用程序测试装置,其包括:数据获取单元,用于获取运行版本的应用程序对应的访问流量数据,其中所述运行版本的应用程序运行在第一运行环境中;复制发送单元,用于复制所述访问流量数据,并将复制的访问流量数据发送至测试版本的应用程序,其中所述测试版本的应用程序运行在第二运行环境中;第一获取单元,用于获取所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的测试数据;第二获取单元,用于获取所述运行版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的运行数据;报告生成单元,用于根据所述测试数据和运行数据生成测试报告。
- 一种计算机设备,包括存储器、处理器及存储在所述存储器上并可在所 述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:获取运行版本的应用程序对应的访问流量数据,其中所述运行版本的应用程序运行在第一运行环境中;复制所述访问流量数据,并将复制的访问流量数据发送至测试版本的应用程序,其中所述测试版本的应用程序运行在第二运行环境中;获取所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的测试数据;获取所述运行版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的运行数据;根据所述测试数据和运行数据生成测试报告。
- 根据权利要求9所述的计算机设备,其中,所述处理器执行所述计算机程序时实现所述根据所述测试数据和运行数据生成测试报告时,具体实现以下步骤:将所述测试数据和运行数据进行比对分析以生成差异信息;根据所述差异信息生成所述测试报告。
- 根据权利要求9所述的计算机设备,其中,所述处理器执行所述计算机程序时实现所述获取运行版本的应用程序对应的访问流量数据时,具体实现:通过预设网络设备获取运行版本的应用程序对应的访问流量数据;所述处理器执行所述计算机程序时实现所述复制所述访问流量数据时,具体实现:通过预设HSL服务复制所述访问流量数据,其中所述预设HSL服务配置在所述预设网络设备中。
- 根据权利要求11所述的计算机设备,其中,所述处理器执行所述计算机程序时实现所述通过预设HSL服务复制所述访问流量数据时,具体实现:根据所述访问流量数据对应的请求方法类别采用相应的复制规则复制所述访问流量数据。
- 根据权利要求12所述的计算机设备,其中,所述请求方法类别包括GET方法类别或POST方法类别;所述处理器执行所述计算机程序时实现所述根据所述访问流量数据对应的请求方法类别采用相应的复制规则复制所述访问流量数据时,具体实现以下步骤:识别所述访问流量数据对应的请求方法类别;若识别出所述访问流量数据对应的请求方法类别为GET方法类别,则获取所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制;若识别出所述访问流量数据对应的请求方法类别为POST方法类别,则根据所述访问流量数据对应的访问请求数据包的头部内容长度判断所述访问流量数据是否完整;若所述访问流量数据完整,则获取所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制;若所述访问流量数据不完整,则继续加载所述访问请求数据包直至所述访问流量数据完整,并获取完整的所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制。
- 根据权利要求9所述的计算机设备,其中,所述处理器执行所述计算机程序时实现所述获取所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的测试数据时,具体实现:获取所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的测试日志数据和测试业务数据。
- 一种存储介质,其中,所述存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行以下步骤:获取运行版本的应用程序对应的访问流量数据,其中所述运行版本的应用程序运行在第一运行环境中;复制所述访问流量数据,并将复制的访问流量数据发送至测试版本的应用程序,其中所述测试版本的应用程序运行在第二运行环境中;获取所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的测试数据;获取所述运行版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的运行数据;根据所述测试数据和运行数据生成测试报告。
- 根据权利要求15所述的存储介质,其中,所述程序指令当被处理器执行时使所述处理器执行所述根据所述测试数据和运行数据生成测试报告时,具体执行以下步骤:将所述测试数据和运行数据进行比对分析以生成差异信息;根据所述差异信息生成所述测试报告。
- 根据权利要求15所述的存储介质,其中,所述程序指令当被处理器执行时使所述处理器执行所述计算机程序时实现所述获取运行版本的应用程序对应的访问流量数据时,具体执行:通过预设网络设备获取运行版本的应用程序对应的访问流量数据;所述程序指令当被处理器执行时使所述处理器执行所述复制所述访问流量数据时,具体执行:通过预设HSL服务复制所述访问流量数据,其中所述预设HSL服务配置在所述预设网络设备中。
- 根据权利要求17所述的存储介质,其中,所述程序指令当被处理器执行时使所述处理器执行所述通过预设HSL服务复制所述访问流量数据时,具体执行:根据所述访问流量数据对应的请求方法类别采用相应的复制规则复制所述访问流量数据。
- 根据权利要求18所述的存储介质,其中,所述请求方法类别包括GET方法类别或POST方法类别;所述程序指令当被处理器执行时使所述处理器执行所述根据所述访问流量数据对应的请求方法类别采用相应的复制规则复制所述访问流量数据时,具体执行以下步骤:识别所述访问流量数据对应的请求方法类别;若识别出所述访问流量数据对应的请求方法类别为GET方法类别,则获取所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制;若识别出所述访问流量数据对应的请求方法类别为POST方法类别,则根据所述访问流量数据对应的访问请求数据包的头部内容长度判断所述访问流量数据是否完整;若所述访问流量数据完整,则获取所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制;若所述访问流量数据不完整,则继续加载所述访问请求数据包直至所述访问流量数据完整,并获取完整的所述访问流量数据对应的访问请求数据包以完成对所述访问流量数据的复制
- 根据权利要求15所述的存储介质,其中,所述程序指令当被处理器执行时使所述处理器执行所述获取所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的测试数据时,具体执行:获取所述测试版本的应用程序完成所述访问流量数据对应的业务逻辑时产生的测试日志数据和测试业务 数据。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810496561.3 | 2018-05-22 | ||
| CN201810496561.3A CN108829581B (zh) | 2018-05-22 | 2018-05-22 | 应用程序测试方法、装置、计算机设备及存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2019223142A1 true WO2019223142A1 (zh) | 2019-11-28 |
Family
ID=64148379
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/101843 Ceased WO2019223142A1 (zh) | 2018-05-22 | 2018-08-23 | 应用程序测试方法、装置、计算机设备及存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108829581B (zh) |
| WO (1) | WO2019223142A1 (zh) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114281671A (zh) * | 2021-11-15 | 2022-04-05 | 煤炭科学研究总院 | 应用程序的测试方法、装置、电子设备及存储介质 |
| CN114328171A (zh) * | 2020-10-09 | 2022-04-12 | 腾讯科技(深圳)有限公司 | 测试用例库的生成方法、装置、设备及存储介质 |
| CN116069660A (zh) * | 2023-02-17 | 2023-05-05 | 中国建设银行股份有限公司 | 物联网平台自动测试方法、装置、计算机设备和存储介质 |
| CN119783099A (zh) * | 2024-12-04 | 2025-04-08 | 北京百度网讯科技有限公司 | 应用程序的风险检测方法、装置、电子设备及存储介质 |
Families Citing this family (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109684203A (zh) * | 2018-11-27 | 2019-04-26 | 平安科技(深圳)有限公司 | 程序运行参数配置方法、装置、计算机设备及存储介质 |
| CN109818778A (zh) * | 2018-12-21 | 2019-05-28 | 北京奇安信科技有限公司 | 一种自动回归测试方法、系统、设备及介质 |
| CN109739402B (zh) * | 2018-12-28 | 2021-04-13 | 维沃移动通信有限公司 | 快应用处理方法及终端设备 |
| CN109815146A (zh) * | 2019-01-18 | 2019-05-28 | 深圳壹账通智能科技有限公司 | 流量分配方法、装置、计算机设备及存储介质 |
| CN111953721B (zh) * | 2019-05-16 | 2024-04-09 | 北京京东尚科信息技术有限公司 | 访问流量控制方法和装置 |
| EP3767503B1 (de) * | 2019-07-18 | 2025-02-19 | Siemens Aktiengesellschaft | Verfahren und testumgebung zur bereitstellung einer anwendung für eine computergesteuerte komponente |
| CN110413523B (zh) * | 2019-07-26 | 2023-07-25 | 百度时代网络技术(北京)有限公司 | 引流测试方法、引流测试中台及计算机可读存储介质 |
| CN111552648A (zh) * | 2020-05-08 | 2020-08-18 | 支付宝(杭州)信息技术有限公司 | 用于应用的自动验证方法和系统 |
| CN111858302B (zh) * | 2020-06-05 | 2023-12-12 | 百度在线网络技术(北京)有限公司 | 小程序的测试方法、装置、电子设备及存储介质 |
| CN112363926A (zh) * | 2020-11-10 | 2021-02-12 | 平安普惠企业管理有限公司 | 生产环境容量检测方法、装置、计算机设备及存储介质 |
| CN112653578B (zh) * | 2020-12-16 | 2022-05-31 | 广州鲁邦通物联网科技股份有限公司 | 一种通信总线的数据模拟方法和系统 |
| CN113590166B (zh) * | 2021-08-02 | 2024-03-26 | 腾讯数码(深圳)有限公司 | 应用程序的更新方法、装置以及计算机可读存储介质 |
| CN113381913B (zh) * | 2021-08-13 | 2021-11-19 | 飞狐信息技术(天津)有限公司 | 流量处理方法、网关、流量对比系统及装置 |
| CN116974881A (zh) * | 2022-04-22 | 2023-10-31 | 腾讯科技(深圳)有限公司 | 应用测试方法、装置、电子设备和可读介质 |
| CN116126367A (zh) * | 2022-07-07 | 2023-05-16 | 马上消费金融股份有限公司 | 模型更新方法、装置、电子设备及存储介质 |
| CN115567454A (zh) * | 2022-10-18 | 2023-01-03 | 天翼数字生活科技有限公司 | 一种流量请求的复制方法、系统、设备和可读存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101001183A (zh) * | 2007-01-10 | 2007-07-18 | 网之易信息技术(北京)有限公司 | 一种网络应用软件的测试方法和系统 |
| CN104951399A (zh) * | 2015-06-19 | 2015-09-30 | 北京齐尔布莱特科技有限公司 | 一种软件测试系统和方法 |
| CN106021079A (zh) * | 2016-05-06 | 2016-10-12 | 华南理工大学 | 一种基于用户频繁访问序列模型的Web应用性能测试方法 |
| CN106844220A (zh) * | 2017-03-09 | 2017-06-13 | 北京融信易安信息技术有限公司 | 一种模拟计算机网络应用程序真实运行环境的测试方法和系统 |
| CN107179995A (zh) * | 2017-03-09 | 2017-09-19 | 北京融信易安信息技术有限公司 | 一种计算机网络应用程序的性能测试方法 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6629127B1 (en) * | 1999-07-26 | 2003-09-30 | Microsoft Corporation | Methods and systems for processing HTTP requests |
| US9886347B2 (en) * | 2015-01-08 | 2018-02-06 | International Business Machines Corporation | Data replication in a database management system |
| CN106445806B (zh) * | 2016-08-26 | 2019-09-17 | 北京小米移动软件有限公司 | 软件测试方法及装置 |
| US10643228B2 (en) * | 2016-09-14 | 2020-05-05 | International Business Machines Corporation | Standardizing customer and test data and information collection for run time and historical profiling environments and workload comparisons |
| CN107908549A (zh) * | 2017-10-24 | 2018-04-13 | 北京小米移动软件有限公司 | 测试用例生成方法、装置及计算机可读存储介质 |
-
2018
- 2018-05-22 CN CN201810496561.3A patent/CN108829581B/zh active Active
- 2018-08-23 WO PCT/CN2018/101843 patent/WO2019223142A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101001183A (zh) * | 2007-01-10 | 2007-07-18 | 网之易信息技术(北京)有限公司 | 一种网络应用软件的测试方法和系统 |
| CN104951399A (zh) * | 2015-06-19 | 2015-09-30 | 北京齐尔布莱特科技有限公司 | 一种软件测试系统和方法 |
| CN106021079A (zh) * | 2016-05-06 | 2016-10-12 | 华南理工大学 | 一种基于用户频繁访问序列模型的Web应用性能测试方法 |
| CN106844220A (zh) * | 2017-03-09 | 2017-06-13 | 北京融信易安信息技术有限公司 | 一种模拟计算机网络应用程序真实运行环境的测试方法和系统 |
| CN107179995A (zh) * | 2017-03-09 | 2017-09-19 | 北京融信易安信息技术有限公司 | 一种计算机网络应用程序的性能测试方法 |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114328171A (zh) * | 2020-10-09 | 2022-04-12 | 腾讯科技(深圳)有限公司 | 测试用例库的生成方法、装置、设备及存储介质 |
| CN114281671A (zh) * | 2021-11-15 | 2022-04-05 | 煤炭科学研究总院 | 应用程序的测试方法、装置、电子设备及存储介质 |
| CN116069660A (zh) * | 2023-02-17 | 2023-05-05 | 中国建设银行股份有限公司 | 物联网平台自动测试方法、装置、计算机设备和存储介质 |
| CN119783099A (zh) * | 2024-12-04 | 2025-04-08 | 北京百度网讯科技有限公司 | 应用程序的风险检测方法、装置、电子设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108829581B (zh) | 2021-03-26 |
| CN108829581A (zh) | 2018-11-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2019223142A1 (zh) | 应用程序测试方法、装置、计算机设备及存储介质 | |
| US10761913B2 (en) | System and method for real-time asynchronous multitenant gateway security | |
| US11924247B1 (en) | Access control policy simulation and testing | |
| US10565077B2 (en) | Using cognitive technologies to identify and resolve issues in a distributed infrastructure | |
| US20200218533A1 (en) | Code analytics and publication platform | |
| WO2018166113A1 (zh) | 随机森林模型训练的方法、电子装置及存储介质 | |
| CN110309058A (zh) | 业务端测试方法、装置、计算机装置及计算机存储介质 | |
| US10452522B1 (en) | Synthetic data generation from a service description language model | |
| CN110858172A (zh) | 一种自动化测试代码生成方法和装置 | |
| CN110442712A (zh) | 风险的确定方法、装置、服务器和文本审理系统 | |
| CN113688025A (zh) | 接口测试方法、装置、设备和存储介质 | |
| Wen et al. | Unveiling overlooked performance variance in serverless computing | |
| CN107168844A (zh) | 一种性能监控的方法及装置 | |
| WO2024139538A1 (zh) | 脚本生成方法、装置、计算设备、系统及可读存储介质 | |
| CN106528415A (zh) | 一种软件兼容性测试方法、业务平台及系统 | |
| CN114489781A (zh) | 云平台中的编排模板编辑方法、装置、设备及存储介质 | |
| CN113722114B (zh) | 一种数据服务的处理方法、装置、计算设备及存储介质 | |
| CN114036068B (zh) | 基于隐私安全的更新检测方法、装置、设备及存储介质 | |
| JP7189952B2 (ja) | エラー・ハンドリングのための方法、コンピュータ・プログラム、データ処理システム、およびエラー・ハンドリング・コンポーネント | |
| CN115914335A (zh) | 长连接创建方法、装置、计算机设备及存储介质 | |
| CN110399727A (zh) | 一种bmc权限自动测试方法、系统、终端及存储介质 | |
| CN120492346A (zh) | 一种接口自动化案例测试方法、装置、设备及存储介质 | |
| CN107632935A (zh) | 一种软件系统压力测试方法、装置、设备及存储介质 | |
| WO2019104844A1 (zh) | 货币基金系统自动性能测试方法、装置、设备及存储介质 | |
| CN115686807A (zh) | 数据处理方法及系统、移动终端、电子设备、存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18919413 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 18919413 Country of ref document: EP Kind code of ref document: A1 |