CN110008118A - Page data testing method, apparatus, computer equipment and storage medium - Google Patents
Page data testing method, apparatus, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110008118A CN110008118A CN201910188972.0A CN201910188972A CN110008118A CN 110008118 A CN110008118 A CN 110008118A CN 201910188972 A CN201910188972 A CN 201910188972A CN 110008118 A CN110008118 A CN 110008118A
- Authority
- CN
- China
- Prior art keywords
- data
- page
- crawling
- test
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 275
- 230000009193 crawling Effects 0.000 claims abstract description 280
- 238000000034 method Methods 0.000 claims abstract description 142
- 238000001545 Page's trend test Methods 0.000 claims abstract description 31
- 238000012795 verification Methods 0.000 claims description 51
- 239000000284 extract Substances 0.000 claims description 24
- 238000004590 computer program Methods 0.000 claims description 20
- 238000004088 simulation Methods 0.000 claims description 14
- 238000000605 extraction Methods 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 claims 5
- 238000010998 test method Methods 0.000 claims 1
- 230000008569 process Effects 0.000 abstract description 122
- 238000012544 monitoring process Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/3668—Testing of software
- G06F11/3672—Test management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
本申请涉及一种页面数据测试方法、装置、计算机设备和存储介质。所述方法包括:异步获取被测终端对应各业务流程节点发送的数据爬取请求;提取所述数据爬取请求中的业务流程节点标识;获取与所述业务流程节点标识对应的测试配置文件;根据所述测试配置文件生成所述业务流程节点标识对应的模拟爬取数据;将生成的各业务流程节点标识对应的模拟爬取数据异步发送至被测终端;在所述被测终端根据异步接收到的模拟爬取数据进行页面更新后,记录所述被测终端的页面更新状态,得到页面测试报告。采用本方法能够节省通过服务器爬取数据所耗费的时间,从而提高页面测试效率。
The present application relates to a page data testing method, apparatus, computer equipment and storage medium. The method includes: asynchronously acquiring a data crawling request sent by a terminal under test corresponding to each business process node; extracting a business process node identifier in the data crawling request; acquiring a test configuration file corresponding to the business process node identifier; Generate simulated crawling data corresponding to the business process node identifiers according to the test configuration file; asynchronously send the simulated crawling data corresponding to the generated business process node identifiers to the terminal under test; After the obtained simulated crawling data is updated, the page update status of the terminal under test is recorded, and a page test report is obtained. By adopting the method, the time spent on crawling data through the server can be saved, thereby improving the efficiency of page testing.
Description
技术领域technical field
本申请涉及测试技术领域,特别是涉及一种页面数据测试方法、装置、计算机设备和存储介质。The present application relates to the technical field of testing, and in particular, to a method, apparatus, computer equipment and storage medium for testing page data.
背景技术Background technique
随着计算机技术的发展,随着互联网的发展,越来越多的公司都为自己公司开发相应的业务应用软件,随着各种业务的处理都可以通过业务应用软件来处理,在业务处理过程中,需要根据需要调用手机各功能模块。With the development of computer technology and the development of the Internet, more and more companies are developing corresponding business application software for their own companies. With the processing of various businesses, they can be processed through business application software. , each function module of the mobile phone needs to be called as needed.
然而,在业务应用软件的开发过程中,需要对开发的业务应用软件进行测试。业务应用软件往往包括多个页面,为了保证业务应用软件可以正常运行,需要对各页面进行测试,而业务应用软件往往通过各页面触发数据爬取请求。根据数据爬取请求通过服务器爬取数据,根据爬取到数据更新页面,爬取数据需要耗费一定时长,会导致页面测试效率低下。However, in the development process of business application software, the developed business application software needs to be tested. Business application software often includes multiple pages. In order to ensure the normal operation of the business application software, each page needs to be tested, and the business application software often triggers data crawling requests through each page. According to the data crawling request, the data is crawled through the server, and the page is updated according to the crawled data. It takes a certain amount of time to crawl the data, which will lead to low page test efficiency.
发明内容SUMMARY OF THE INVENTION
基于此,有必要针对上述技术问题,提供一种能够提高页面测试效率的页面数据测试方法、装置、计算机设备和存储介质。Based on this, it is necessary to provide a page data testing method, apparatus, computer equipment and storage medium that can improve the efficiency of page testing in response to the above technical problems.
一种页面数据测试方法,所述方法包括:A method for testing page data, the method comprising:
异步获取被测终端对应各业务流程节点发送的数据爬取请求;Asynchronously obtain the data crawling requests sent by the tested terminal corresponding to each business process node;
提取所述数据爬取请求中的业务流程节点标识;extracting the business process node identifier in the data crawling request;
获取与所述业务流程节点标识对应的测试配置文件;Obtain a test configuration file corresponding to the business process node identifier;
根据所述测试配置文件生成所述业务流程节点标识对应的模拟爬取数据;Generate simulated crawling data corresponding to the business process node identifier according to the test configuration file;
将生成的各业务流程节点标识对应的模拟爬取数据异步发送至被测终端;Asynchronously send the generated simulated crawling data corresponding to each business process node identifier to the tested terminal;
在所述被测终端根据异步接收到的模拟爬取数据进行页面更新后,记录所述被测终端的页面更新状态,得到页面测试报告。After the terminal under test performs page update according to the asynchronously received simulated crawling data, the page update status of the terminal under test is recorded to obtain a page test report.
一种页面数据测试装置,所述装置包括:A device for testing page data, the device comprising:
爬取请求获取模块,用于异步获取被测终端对应各业务流程节点发送的数据爬取请求;The crawling request obtaining module is used to asynchronously obtain the data crawling requests sent by the tested terminal corresponding to each business process node;
节点标识提取模块,用于提取所述数据爬取请求中的业务流程节点标识;a node identification extraction module, used for extracting the business process node identification in the data crawling request;
测试文件获取模块,用于获取与所述业务流程节点标识对应的测试配置文件;a test file acquisition module, used to acquire a test configuration file corresponding to the business process node identifier;
模拟数据生成模块,用于根据所述测试配置文件生成所述业务流程节点标识对应的模拟爬取数据;a simulated data generation module, configured to generate simulated crawling data corresponding to the business process node identifier according to the test configuration file;
模拟数据发送模块,用于将生成的各业务流程节点标识对应的模拟爬取数据异步发送至被测终端;The simulation data sending module is used for asynchronously sending the simulation crawling data corresponding to the generated business process node identifiers to the terminal under test;
测试报告得到模块,用于在所述被测终端根据异步接收到的模拟爬取数据进行页面更新后,记录所述被测终端的页面更新状态,得到页面测试报告。The test report obtaining module is configured to record the page update status of the tested terminal after the tested terminal updates the page according to the asynchronously received simulated crawling data, and obtain the page test report.
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:A computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
异步获取被测终端对应各业务流程节点发送的数据爬取请求;Asynchronously obtain the data crawling requests sent by the tested terminal corresponding to each business process node;
提取所述数据爬取请求中的业务流程节点标识;extracting the business process node identifier in the data crawling request;
获取与所述业务流程节点标识对应的测试配置文件;Obtain a test configuration file corresponding to the business process node identifier;
根据所述测试配置文件生成所述业务流程节点标识对应的模拟爬取数据;Generate simulated crawling data corresponding to the business process node identifier according to the test configuration file;
将生成的各业务流程节点标识对应的模拟爬取数据异步发送至被测终端;Asynchronously send the generated simulated crawling data corresponding to each business process node identifier to the tested terminal;
在所述被测终端根据异步接收到的模拟爬取数据进行页面更新后,记录所述被测终端的页面更新状态,得到页面测试报告。After the terminal under test performs page update according to the asynchronously received simulated crawling data, the page update status of the terminal under test is recorded to obtain a page test report.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
异步获取被测终端对应各业务流程节点发送的数据爬取请求;Asynchronously obtain the data crawling requests sent by the tested terminal corresponding to each business process node;
提取所述数据爬取请求中的业务流程节点标识;extracting the business process node identifier in the data crawling request;
获取与所述业务流程节点标识对应的测试配置文件;Obtain a test configuration file corresponding to the business process node identifier;
根据所述测试配置文件生成所述业务流程节点标识对应的模拟爬取数据;Generate simulated crawling data corresponding to the business process node identifier according to the test configuration file;
将生成的各业务流程节点标识对应的模拟爬取数据异步发送至被测终端;Asynchronously send the generated simulated crawling data corresponding to each business process node identifier to the tested terminal;
在所述被测终端根据异步接收到的模拟爬取数据进行页面更新后,记录所述被测终端的页面更新状态,得到页面测试报告。After the terminal under test performs page update according to the asynchronously received simulated crawling data, the page update status of the terminal under test is recorded to obtain a page test report.
上述页面数据测试方法、装置、计算机设备和存储介质,在异步获取被测终端对应各业务流程节点发送的数据爬取请求后,根据各业务流程节点标识对应的测试配置文件生成与数据爬取请求对应的模拟爬取数据,无需根据数据爬取请求通过服务器去爬取数据。将生成的各业务流程节点标识对应的模拟爬取数据异步发送至被测终端,使被测终端根据异步接收到的模拟爬取数据更新页面,根据页面更新状态生成页面测试报告,节省了通过服务器爬取数据所耗费的时间,从而提高了页面测试效率。The above page data testing method, device, computer equipment and storage medium, after asynchronously acquiring the data crawling request sent by the terminal under test corresponding to each business process node, generate a data crawling request according to the test configuration file corresponding to each business process node identifier The corresponding simulated crawling data does not need to be crawled through the server according to the data crawling request. Asynchronously sends the generated simulated crawling data corresponding to each business process node identifier to the terminal under test, so that the terminal under test updates the page according to the asynchronously received simulated crawling data, and generates a page test report according to the page update status, saving the need for the server Time spent crawling data, thereby improving the efficiency of page testing.
附图说明Description of drawings
图1为一个实施例中页面数据测试方法的应用场景图;1 is an application scenario diagram of a method for testing page data in one embodiment;
图2为一个实施例中页面数据测试方法的流程示意图;2 is a schematic flowchart of a method for testing page data in one embodiment;
图3为一个实施例中拦截数据爬取请求的步骤的流程示意图;3 is a schematic flowchart of steps of intercepting data crawling requests in one embodiment;
图4为一个实施例中生成模拟爬取数据的步骤的流程示意图;4 is a schematic flowchart of steps of generating simulated crawling data in one embodiment;
图5为一个实施例中获取爬取数据的步骤的流程示意图;5 is a schematic flowchart of steps of obtaining crawling data in one embodiment;
图6为一个实施例中生成页面测试报告的步骤的流程示意图;6 is a schematic flowchart of steps of generating a page test report in one embodiment;
图7为一个实施例中页面数据测试装置的结构框图;7 is a structural block diagram of an apparatus for testing page data in one embodiment;
图8为一个实施例中计算机设备的内部结构图。FIG. 8 is a diagram of the internal structure of a computer device in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
本申请提供的页面数据测试方法,可以应用于如图1所示的应用环境中。其中,图1的应用环境中包括测试终端102、被测终端104和服务器106。测试终端102和被测终端通过网络与服务器106通过网络进行通信,测试终端102与被测终端104可以通过网络连接,也可以通过数据线连接。其中,测试终端102和被测终端104可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器106可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The page data testing method provided in this application can be applied to the application environment shown in FIG. 1 . The application environment of FIG. 1 includes a test terminal 102 , a terminal under test 104 and a server 106 . The test terminal 102 and the terminal under test communicate with the server 106 through the network, and the test terminal 102 and the terminal under test 104 may be connected through a network or a data line. Wherein, the test terminal 102 and the tested terminal 104 can be, but are not limited to, various personal computers, notebook computers, smart phones, tablet computers and portable wearable devices, and the server 106 can be an independent server or a server cluster composed of multiple servers to fulfill.
在一个实施例中,如图2所示,提供了一种页面数据测试方法,以该方法应用于图1中的测试终端为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2 , a method for testing page data is provided, and the method is applied to the test terminal in FIG. 1 as an example to illustrate, including the following steps:
S202,异步获取被测终端对应各业务流程节点发送的数据爬取请求。S202, asynchronously acquire data crawling requests sent by the terminal under test corresponding to each service process node.
其中,被测终端中安装有业务应用,被测终端中可展示业务应用中的页面。业务应用中的页面都分别与业务流程节点对应。数据爬取请求为指示服务器爬取数据的请求。Among them, the terminal under test is installed with a business application, and the terminal under test can display pages in the business application. The pages in the business application correspond to the business process nodes respectively. A data crawling request is a request instructing the server to crawl data.
具体地,被测终端展示业务流程节点对应的页面,检测到页面中输入爬取数据标识时,获取输入的爬取数据标识,提取当前页面对应的业务流程节点标识,根据爬取数据标识和业务流程节点标识生成数据爬取请求,将数据爬取请求发送至测试终端。测试终端异步接收被测终端发送的多个数据爬取请求。Specifically, the terminal under test displays the page corresponding to the business process node, and when it detects that the crawling data identifier is input in the page, it obtains the input crawling data identifier, extracts the business process node identifier corresponding to the current page, and according to the crawling data identifier and the business process node identifier The process node identifier generates a data crawling request, and sends the data crawling request to the test terminal. The test terminal asynchronously receives multiple data crawling requests sent by the tested terminal.
在一个实施例中,被测终端在获取到异步获取多个页面中输入的爬取数据标识,根据获取到的爬取数据标识异步生成多个数据爬取请求。In one embodiment, the terminal under test acquires the crawling data identifiers input in the asynchronous acquisition of multiple pages, and asynchronously generates multiple data crawling requests according to the acquired crawling data identifiers.
举例说明,被测终端根据第一页面中输入的爬取数据标识生成第一数据爬取请求,将生成的第一数据爬取请求发送至测试终端,测试终端接收第一数据爬取请求;被测终端从第一页面切换到第二页面,根据第二页面中输入的爬取数据标识生成第二数据爬取请求,将生成的第二数据爬取请求发送至测试终端,测试终端接收第二数据爬取请求;测试终端异步接收到第一数据爬取请求和第二数据爬取请求。For example, the terminal under test generates a first data crawling request according to the crawling data identifier input in the first page, sends the generated first data crawling request to the test terminal, and the test terminal receives the first data crawling request; The test terminal switches from the first page to the second page, generates a second data crawling request according to the crawling data identifier input in the second page, sends the generated second data crawling request to the test terminal, and the test terminal receives the second data crawling request. Data crawling request; the test terminal asynchronously receives the first data crawling request and the second data crawling request.
S204,提取数据爬取请求中的业务流程节点标识。S204, extracting the business process node identifier in the data crawling request.
具体地,测试终端在异步接收到多个数据爬取请求后,对于每个数据爬取请求进行解析,通过解析提取数据爬取请求中的业务流程节点标识。业务流程节点标识为组成业务流程的节点的唯一标识。Specifically, after asynchronously receiving multiple data crawling requests, the test terminal parses each data crawling request, and extracts the business process node identifier in the data crawling request by parsing. The business process node identifier is the unique identifier of the nodes that make up the business process.
S206,获取与业务流程节点标识对应的测试配置文件。S206: Obtain a test configuration file corresponding to the business process node identifier.
具体地,测试终端中存储着各业务流程节点标识分别对应的测试配置文件。测试配置文件中包括测试过程中待配置的测试参数。测试终端在存储的测试配置文件中查询与业务流程节点标识对应的测试配置文件,提取查询到的测试配置文件。Specifically, a test configuration file corresponding to each service process node identifier is stored in the test terminal. The test configuration file includes test parameters to be configured in the test process. The test terminal queries the test configuration file corresponding to the business process node identifier in the stored test configuration file, and extracts the queried test configuration file.
S208,根据测试配置文件生成业务流程节点标识对应的模拟爬取数据。S208: Generate simulated crawling data corresponding to the business process node identifier according to the test configuration file.
具体地,测试终端在获取到测试配置文件后,对测试配置文件进行解析,提取测试配置文件的配置爬取数据,以提取到的配置爬取数据作为业务流程节点标识对应的模拟爬取数据。Specifically, after acquiring the test configuration file, the test terminal parses the test configuration file, extracts the configuration crawling data of the test configuration file, and uses the extracted configuration crawling data as the simulated crawling data corresponding to the business process node identifier.
在一个实施例中,测试终端提取测试配置文件中模拟爬取数据的存储地址,根据提取到的存储地址访问存储空间,提取访问到的存储空间中的模拟爬取数据,以提取到的模拟爬取数据作为业务流程节点标识对应的模拟爬取数据。In one embodiment, the test terminal extracts the storage address of the simulated crawling data in the test configuration file, accesses the storage space according to the extracted storage address, extracts the simulated crawling data in the accessed storage space, and uses the extracted simulated crawling data. Take the data as the simulated crawling data corresponding to the business process node identifier.
S210,将生成的各业务流程节点标识对应的模拟爬取数据异步发送至被测终端。S210: Asynchronously send the generated simulated crawling data corresponding to each service process node identifier to the terminal under test.
具体地,测试终端在生成各业务流程节点标识分别对应的多个模拟爬取数据后,将生成的模拟爬取数据异步发送至被测终端。Specifically, after generating a plurality of simulated crawling data corresponding to each service process node identifier, the test terminal asynchronously sends the generated simulated crawling data to the terminal under test.
举例说明,测试终端在生成第一业务流程节点标识对应的模拟爬取数据后,将模拟爬取数据发送至被测终端,无需接收被测终端的响应信息,再测试终端将第二业务流程节点标识对应的模拟爬取数据发送至终端,测试终端将第一业务流程节点标识对应的模拟爬取数据和第二业务流程节点标识对应的模拟爬取数据异步发送至被测终端。For example, after generating the simulated crawling data corresponding to the identifier of the first business process node, the test terminal sends the simulated crawling data to the terminal under test without receiving the response information of the terminal under test, and then the test terminal sends the simulated crawling data to the second business process node. The simulated crawling data corresponding to the identification is sent to the terminal, and the test terminal asynchronously sends the simulated crawling data corresponding to the first business process node identification and the simulated crawling data corresponding to the second business process node identification to the terminal under test.
S212,在被测终端根据异步接收到的模拟爬取数据进行页面更新后,记录被测终端的页面更新状态,得到页面测试报告。S212, after the terminal under test performs page update according to the asynchronously received simulated crawling data, record the page update status of the terminal under test, and obtain a page test report.
具体地,被测终端异步接收到各业务流程节点标识对应的模拟爬取数据后,根据模拟爬取数据进行业务审批,得到业务审批结果,获取与业务审批结果对应的页面数据,根据获取到的页面数据进行页面更新,记录页面更新状态,将记录的页面更新状态发用至测试终端。测试终端接收被测终端发送的页面更新状态,根据页面更新状态生成页面测试报告。Specifically, after asynchronously receiving the simulated crawling data corresponding to the identifiers of each business process node, the terminal under test performs business approval according to the simulated crawling data, obtains the business approval result, and obtains the page data corresponding to the business approval result. The page data is updated, the page update status is recorded, and the recorded page update status is sent to the test terminal. The test terminal receives the page update status sent by the tested terminal, and generates a page test report according to the page update status.
本实施例中,在异步获取被测终端对应各业务流程节点发送的数据爬取请求后,根据各业务流程节点标识对应的测试配置文件生成与数据爬取请求对应的模拟爬取数据,无需根据数据爬取请求通过服务器去爬取数据。将生成的各业务流程节点标识对应的模拟爬取数据异步发送至被测终端,使被测终端根据异步接收到的模拟爬取数据更新页面,根据页面更新状态生成页面测试报告,节省了通过服务器爬取数据所耗费的时间,从而提高了页面测试效率。In this embodiment, after asynchronously acquiring the data crawling request sent by the terminal under test corresponding to each business process node, the simulated crawling data corresponding to the data crawling request is generated according to the test configuration file corresponding to the identifier of each business process node. The data crawling request crawls the data through the server. Asynchronously sends the generated simulated crawling data corresponding to each business process node identifier to the terminal under test, so that the terminal under test updates the page according to the asynchronously received simulated crawling data, and generates a page test report according to the page update status, saving the need for the server Time spent crawling data, thereby improving the efficiency of page testing.
如图3所示,在一个实施例中,S202具体还包括拦截数据爬取请求的步骤,该步骤具体包括以下内容:As shown in Figure 3, in one embodiment, S202 specifically further includes a step of intercepting a data crawling request, and the step specifically includes the following content:
S302,向被测终端发送权限验证请求。S302: Send a permission verification request to the terminal under test.
具体地,测试终端在与被测终端建立连接后,测试终端获取预设验证信息,根据预设验证信息生成权限验证请求,将权限验证请求通过建立的连接发送至被测终端。建立的连接可以是无线连接或有线连接。Specifically, after the test terminal establishes a connection with the terminal under test, the test terminal obtains preset verification information, generates an authority verification request according to the preset verification information, and sends the authority verification request to the terminal under test through the established connection. The established connection can be a wireless connection or a wired connection.
在一个实施例中,S302具体包括:获取携带有业务流程节点标识的测试指令;查询与所述测试指令中携带的业务流程节点标识对应的测试用例;根据所述测试用例向被测终端发送权限验证请求。In one embodiment, S302 specifically includes: acquiring a test instruction carrying a business process node identifier; querying a test case corresponding to the business process node identifier carried in the test instruction; sending a permission to the terminal under test according to the test case Verify the request.
具体地,测试终端中展示测试页面,检测到测试页面中的测试按钮被点击时,获取测试页面中录入的业务流程节点标识,根据业务流程节点标识生成测试指令。测试终端在测试用例库中查询与测试指令中携带的业务流程节点标识对应的测试用例,从查询到的测试用例中提取预设验证信息,根据提取到的预设验证信息生成权限验证请求。测试用例库中存储着与各业务流程节点分别对应的测试用例。测试用例为对被测终端的页面进行测试所编写的文件。Specifically, a test page is displayed in the test terminal, when it is detected that the test button in the test page is clicked, the business process node identifier entered in the test page is obtained, and the test instruction is generated according to the business process node identifier. The test terminal queries the test case library for the test case corresponding to the business process node identifier carried in the test instruction, extracts preset verification information from the queried test case, and generates a permission verification request according to the extracted preset verification information. Test cases corresponding to each business process node are stored in the test case library. A test case is a file written to test the page of the terminal under test.
S304,获取被测终端根据权限验证请求,在权限验证页面触发的验证通过通知。S304: Acquire a verification pass notification triggered on the authority verification page by the terminal under test according to the authority verification request.
具体地,被测终端接收到测试终端发送的权限验证请求,对权限验证请求进行解析,通过解析提取权限验证请求中的预设验证信息,将预设验证信息展示在权限验证页面中。被测终端在检测到权限验证页面中的验证通过按钮被点击时,生成验证通过通知。Specifically, the terminal under test receives the authority verification request sent by the test terminal, parses the authority verification request, extracts the preset verification information in the authority verification request by parsing, and displays the preset verification information on the authority verification page. When the terminal under test detects that the verification pass button in the authority verification page is clicked, a verification pass notification is generated.
S306,根据验证通过通知对被测终端发送的数据爬取请求进行监听。S306, monitor the data crawling request sent by the terminal under test through the notification according to the verification.
具体地,测试终端在接收到验证通过通知后,对被测终端发送的数据爬取请求进行监听,以对监听到的数据爬取请求进行识别,识别数据爬取请求是否为被测终端发送至服务器的数据爬取请求。Specifically, after receiving the verification pass notification, the test terminal monitors the data crawling request sent by the tested terminal to identify the monitored data crawling request and identify whether the data crawling request is sent by the tested terminal to Data crawl requests from the server.
S308,当监听到被测终端向服务器发送数据爬取请求时,拦截被测终端发送的数据爬取请求。S308 , intercepting the data crawling request sent by the tested terminal when monitoring the data crawling request sent by the tested terminal to the server.
具体地,当通过对被测终端发送的数据爬取请求进行监听,并且识别到数据爬取请求为被测终端发送至服务器的数据爬取请求时,拦截被测终端发送的数据爬取请求,以阻止被测终端将数据爬取请求发送至服务器。Specifically, when monitoring the data crawling request sent by the terminal under test and identifying that the data crawling request is a data crawling request sent by the terminal under test to the server, intercept the data crawling request sent by the terminal under test, To prevent the terminal under test from sending data crawling requests to the server.
本实施例中,通过向被测终端发送权限验证请求,通过被测终端对权限验证请求进行验证,获取对被测终端的监听权限。在获取到监听权限后对被测终端发送的数据爬取请求进行监听,提高对向服务器发送数据爬取请求的拦截准确性。In this embodiment, by sending a permission verification request to the terminal under test, and verifying the permission verification request by the terminal under test, the monitoring permission for the terminal under test is obtained. After obtaining the monitoring permission, monitor the data crawling request sent by the tested terminal to improve the interception accuracy of the data crawling request sent to the server.
如图4所示,在一个实施例中,S208具体还包括生成模拟爬取数据的步骤,该步骤具体包括以下内容:As shown in Figure 4, in one embodiment, S208 specifically further includes a step of generating simulated crawling data, and the step specifically includes the following content:
S402,在已存储的历史爬取数据中,查询与业务流程节点标识对应的历史爬取数据。S402, in the stored historical crawling data, query the historical crawling data corresponding to the business process node identifier.
具体地,测试终端拦截服务器向被测终端发送的爬取数据,提取拦截到的爬取数据中的业务流程节点标识,将拦截到的爬取数据作为历史爬取数据,对应提取到的业务流程节点标识存储在数据库中。测试终端在已存储的历史爬取数据中,查询与业务流程节点标识对应的历史爬取数据。Specifically, the test terminal intercepts the crawling data sent by the server to the terminal under test, extracts the business process node identifiers in the intercepted crawling data, and uses the intercepted crawling data as historical crawling data, corresponding to the extracted business process. Node IDs are stored in the database. The test terminal queries the historical crawling data corresponding to the business process node identifier in the stored historical crawling data.
S404,提取测试配置文件中参数标识和场景配置参数。S404, extracting parameter identifiers and scene configuration parameters in the test configuration file.
具体地,测试终端对测试配置文件进行解析,通过解析提取测试配置文件中的参数标识和场景配置参数。场景配置参数为用于配置不同场景的参数。参数标识为待配置的参数的标识。Specifically, the test terminal parses the test configuration file, and extracts parameter identifiers and scene configuration parameters in the test configuration file through parsing. Scenario configuration parameters are parameters used to configure different scenarios. The parameter ID is the ID of the parameter to be configured.
S406,按照场景配置参数,对查询到的历史爬取数据中与参数标识对应的参数进行配置,生成模拟爬取数据。S406, according to the scene configuration parameters, configure parameters corresponding to the parameter identifiers in the queried historical crawling data to generate simulated crawling data.
具体地,测试终端在查询到的历史爬取数据中确定参数标识对应的参数,按照场景配置参数对确定的参数进行修改,得到修改后的参数,以修改后的参数作为模拟爬取数据。Specifically, the test terminal determines the parameters corresponding to the parameter identifiers in the queried historical crawling data, modifies the determined parameters according to the scene configuration parameters, obtains the modified parameters, and uses the modified parameters as the simulated crawling data.
在一个实施例中,测试终端在查询到的历史爬取数据中确定参数标识对应的参数,将确定的参数替换为场景配置参数,生成模拟爬取数据。In one embodiment, the test terminal determines parameters corresponding to the parameter identifiers in the queried historical crawling data, replaces the determined parameters with scene configuration parameters, and generates simulated crawling data.
本实施例中,在已存储的历史爬取数据中查询与业务流程节点标识对应的历史爬取数据,根据与业务流程节点标识对应的测试配置文件对历史爬取数据进行修改,生成业务流程节点标识对应的模拟爬取数据,提高了模拟爬取数据的生成效率。In this embodiment, the historical crawling data corresponding to the business process node identifier is queried in the stored historical crawling data, and the historical crawling data is modified according to the test configuration file corresponding to the business process node identifier to generate the business process node. Identifying the corresponding simulated crawling data improves the generation efficiency of the simulated crawling data.
如图5所示,在一个实施例中,页面数据测试方法还包括获取爬取数据的步骤,该步骤具体包括以下内容:As shown in FIG. 5 , in one embodiment, the method for testing page data further includes a step of acquiring crawling data, which specifically includes the following contents:
S502,当未查询到与业务流程节点标识对应的历史爬取数据时,从业务流程节点标识对应的数据爬取请求中提取服务器地址。S502, when the historical crawling data corresponding to the business process node identifier is not queried, extract the server address from the data crawling request corresponding to the business process node identifier.
具体地,当测试终端未查询到与业务流程节点标识对应的历史爬取数据时,对业务流程节点标识对应的数据爬取请求进行解析,通过解析提取数据爬取请求中的服务器地址。Specifically, when the test terminal does not query the historical crawling data corresponding to the business process node identification, it parses the data crawling request corresponding to the business process node identification, and extracts the server address in the data crawling request through analysis.
在一个实施例中,当查询到与业务流程节点标识对应的历史爬取数据时,提取所述测试配置文件中参数标识和场景配置参数。In one embodiment, when the historical crawling data corresponding to the business process node identifier is queried, the parameter identifier and the scenario configuration parameter in the test configuration file are extracted.
S504,将数据爬取请求发送至服务器地址对应的服务器。S504: Send the data crawling request to the server corresponding to the server address.
具体地,测试终端按照提取到的服务器地址重新对数据爬取请求进行封装,将封装后的数据爬取请求发送至服务器地址对应的服务器。服务器接收测试终端发送的封装后的数据爬取请求。Specifically, the test terminal re-encapsulates the data crawling request according to the extracted server address, and sends the encapsulated data crawling request to the server corresponding to the server address. The server receives the encapsulated data crawling request sent by the test terminal.
S506,拦截服务器根据数据爬取请求向被测终端返回的爬取数据。S506: Intercept the crawling data returned by the server to the terminal under test according to the data crawling request.
具体地,服务器接收到数据爬取请求后,对数据爬取请求进行解析,通过解析提取数爬取请求中的爬取数据标识,根据爬取数据标识进行数据爬取,得到爬取数据标识对应爬取数据,将爬取数据返回被测终端。测试终端对服务器向被测终端发送的爬取数据进行监听,拦截监听到的爬取数据。Specifically, after receiving the data crawling request, the server parses the data crawling request, extracts the crawling data identifier in the crawling request by parsing, and crawls the data according to the crawling data identifier to obtain the corresponding crawling data identifier. Crawl the data and return the scraped data to the terminal under test. The test terminal monitors the crawling data sent by the server to the terminal under test, and intercepts the monitored crawling data.
S508,将拦截到的爬取数据存储为历史爬取数据,并将拦截到的爬取数据作为模拟爬取数据发送至被测终端。S508, store the intercepted crawling data as historical crawling data, and send the intercepted crawling data as simulated crawling data to the terminal under test.
具体地,测试终端从拦截到的爬取数据中业务流程节点标识,将拦截到的爬取数据作为历史爬取数据,对应于业务流程节点标识存储,并将拦截到的爬取数据作为模拟爬取数据发送至被测终端。Specifically, the test terminal uses the business process node identifier in the intercepted crawling data, uses the intercepted crawling data as historical crawling data, stores it corresponding to the business process node identifier, and uses the intercepted crawling data as a simulated crawling data Take the data and send it to the terminal under test.
在一个实施例中,测试终端提取拦截到的爬取数据中的爬取数据标识,将拦截到的爬取数据作为历史爬取数据,对应于提取到的爬取数据标识存储。In one embodiment, the test terminal extracts a crawling data identifier in the intercepted crawling data, and stores the intercepted crawling data as historical crawling data corresponding to the extracted crawling data identifier.
本实施例中,当未查询到与业务流程节点标识对应的历史爬取数据时,直接将数据爬取请求发送至服务器,使服务器根据数据爬取请求进行数据爬取,以得到的爬取数据作为模拟爬取数据发送至被测终端,提高了获取模拟爬取数据的成功率,并将得到的爬取数据作为历史爬取数据进行存储,使得下次根据历史爬取数据快速生成模拟爬取数据,从而提高了生成模拟爬取数据的效率和准确性。In this embodiment, when the historical crawling data corresponding to the business process node identifier is not queried, the data crawling request is directly sent to the server, so that the server performs data crawling according to the data crawling request, and obtains the crawling data It is sent to the terminal under test as simulated crawling data, which improves the success rate of obtaining simulated crawling data, and stores the obtained crawling data as historical crawling data, so that the simulated crawling data can be quickly generated next time according to the historical crawling data. data, thereby improving the efficiency and accuracy of generating simulated crawling data.
如图6所示,在一个实施例中,S212具体包括生成页面测试报告的步骤,该步骤具体包括以下内容:As shown in Figure 6, in one embodiment, S212 specifically includes the step of generating a page test report, and the step specifically includes the following content:
S602,在被测终端根据异步接收到的模拟爬取数据更新页面后,记录被测终端的页面更新状态。S602, after the terminal under test updates the page according to the asynchronously received simulated crawling data, record the page update status of the terminal under test.
具体地,被测终端异步接收到各数据爬取请求分别对应的模拟爬取数据后,根据模拟爬取数据对当前页面进行更新,记录页面更新状态。测试终端获取被测终端记录的页面更新状态。页面更新状态包括页面标识、页面内容和页面展示参数中的至少一种。Specifically, after asynchronously receiving simulated crawling data corresponding to each data crawling request, the terminal under test updates the current page according to the simulated crawling data, and records the page update status. The test terminal obtains the page update status recorded by the terminal under test. The page update state includes at least one of page identification, page content and page display parameters.
S604,获取与异步接收到的模拟爬取数据对应的页面预期更新状态。S604: Obtain the expected update status of the page corresponding to the asynchronously received simulated crawling data.
具体地,测试终端获取测试配置文件,从测试配置文件中提取页面预期更新状态,页面预期更新状态中包括预期页面标识、预期页面内容和预期页面展示参数中的至少一种。Specifically, the test terminal obtains the test configuration file, and extracts the expected page update status from the test configuration file, where the expected page update status includes at least one of the expected page identifier, the expected page content, and the expected page display parameter.
S606,将页面更新状态与页面预期更新状态比较,生成页面测试报告。S606, compare the page update status with the expected update status of the page, and generate a page test report.
具体地,测试终端提取页面更新状态和页面预期更新状态,将提取到页面更新状态与页面预期更新状态进行比较,验证页面更新状态与页面预期更新状态的一致性,得到验证结果,根据验证结果生成页面测试报告。Specifically, the test terminal extracts the page update status and the page expected update status, compares the extracted page update status with the page expected update status, verifies the consistency between the page update status and the page expected update status, obtains the verification result, and generates a verification result according to the verification result. Page test report.
本实施例中,在被测终端根据数据处理结果更新页面后,记录页面更新状态,将记录的页面更新状态与页面预期更新状态进行验证,根据验证结果生成页面测试报告,提高了页面测试报告的准确性。In this embodiment, after the terminal under test updates the page according to the data processing result, it records the page update status, verifies the recorded page update status and the expected page update status, and generates a page test report according to the verification result, which improves the accuracy of the page test report. accuracy.
应该理解的是,虽然图2-6的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-6中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 2-6 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence shown by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 2-6 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed and completed at the same time, but may be executed at different times. These sub-steps or stages are not necessarily completed at the same time. The order of execution of the steps is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of sub-steps or stages of other steps.
在一个实施例中,如图7所示,提供了一种页面数据测试装置700,包括:爬取请求获取模块702、节点标识提取模块704、测试文件获取模块706、模拟数据生成模块708、模拟数据发送模块710和测试报告得到模块712,其中:In one embodiment, as shown in FIG. 7, a page data testing apparatus 700 is provided, including: a crawling request acquisition module 702, a node identification extraction module 704, a test file acquisition module 706, a simulation data generation module 708, a simulation Data sending module 710 and test report obtaining module 712, wherein:
爬取请求获取模块702,用于异步获取被测终端对应各业务流程节点发送的数据爬取请求。The crawling request obtaining module 702 is configured to asynchronously obtain the data crawling requests sent by the terminal under test corresponding to each service process node.
节点标识提取模块704,用于提取数据爬取请求中的业务流程节点标识。The node identifier extraction module 704 is configured to extract the business process node identifier in the data crawling request.
测试文件获取模块706,用于获取与业务流程节点标识对应的测试配置文件。The test file obtaining module 706 is configured to obtain the test configuration file corresponding to the business process node identifier.
模拟数据生成模块708,用于根据测试配置文件生成业务流程节点标识对应的模拟爬取数据。The simulated data generation module 708 is configured to generate simulated crawling data corresponding to the business process node identifier according to the test configuration file.
模拟数据发送模块710,用于将生成的各业务流程节点标识对应的模拟爬取数据异步发送至被测终端。The simulated data sending module 710 is configured to asynchronously send the generated simulated crawling data corresponding to each service process node identifier to the terminal under test.
测试报告得到模块712,用于在被测终端根据异步接收到的模拟爬取数据进行页面更新后,记录被测终端的页面更新状态,得到页面测试报告。The test report obtaining module 712 is configured to record the page update status of the terminal under test after the terminal under test updates the page according to the asynchronously received simulated crawling data to obtain a page test report.
在一个实施例中,爬取请求获取模块702还用于向被测终端发送权限验证请求;获取被测终端根据权限验证请求,在权限验证页面触发的验证通过通知;根据验证通过通知对被测终端发送的数据爬取请求进行监听;当监听到被测终端向服务器发送数据爬取请求时,拦截被测终端发送的数据爬取请求。In one embodiment, the crawling request obtaining module 702 is further configured to send a permission verification request to the terminal under test; obtain a verification pass notification triggered by the terminal under test on the authority verification page according to the authority verification request; Monitor the data crawling request sent by the terminal; when monitoring the data crawling request sent by the tested terminal to the server, intercept the data crawling request sent by the tested terminal.
在一个实施例中,爬取请求获取模块702还用于获取携带有业务流程节点标识的测试指令;查询与测试指令中携带的业务流程节点标识对应的测试用例;根据测试用例向被测终端发送权限验证请求。In one embodiment, the crawling request obtaining module 702 is further configured to obtain a test instruction carrying a business process node identifier; query a test case corresponding to the business process node identifier carried in the test instruction; send the test case to the terminal under test according to the test case Permission verification request.
在一个实施例中,模拟数据生成模块708还用于在已存储的历史爬取数据中,查询与业务流程节点标识对应的历史爬取数据;提取测试配置文件中参数标识和场景配置参数;按照场景配置参数,对查询到的历史爬取数据中与参数标识对应的参数进行配置,生成模拟爬取数据。In one embodiment, the simulated data generation module 708 is further configured to query the historical crawling data corresponding to the business process node identifiers in the stored historical crawling data; extract the parameter identifiers and scene configuration parameters in the test configuration file; Scenario configuration parameters, configure the parameters corresponding to the parameter identifiers in the queried historical crawling data, and generate simulated crawling data.
在一个实施例中,模拟数据生成模块708还用于当未查询到与业务流程节点标识对应的历史爬取数据时,从业务流程节点标识对应的数据爬取请求中提取服务器地址;将数据爬取请求发送至服务器地址对应的服务器;拦截服务器根据数据爬取请求向被测终端返回的爬取数据;将拦截到的爬取数据存储为历史爬取数据,并将拦截到的爬取数据作为模拟爬取数据发送至被测终端。In one embodiment, the simulated data generation module 708 is further configured to extract the server address from the data crawling request corresponding to the business process node identification when the historical crawling data corresponding to the business process node identification is not queried; The fetch request is sent to the server corresponding to the server address; the crawling data returned by the server to the terminal under test according to the data crawling request is intercepted; the intercepted crawling data is stored as historical crawling data, and the intercepted crawling data is used as The simulated crawling data is sent to the terminal under test.
在一个实施例中,测试报告得到模块712还用于在被测终端根据异步接收到的模拟爬取数据更新页面后,记录被测终端的页面更新状态;获取与异步接收到的模拟爬取数据对应的页面预期更新状态;将页面更新状态与页面预期更新状态比较,生成页面测试报告。In one embodiment, the test report obtaining module 712 is further configured to record the page update status of the terminal under test after the terminal under test updates the page according to the asynchronously received simulated crawling data; obtain and asynchronously receive the simulated crawling data The corresponding page expected update status; compare the page update status with the page expected update status, and generate a page test report.
本实施例中,在异步获取被测终端对应各业务流程节点发送的数据爬取请求后,根据各业务流程节点标识对应的测试配置文件生成与数据爬取请求对应的模拟爬取数据,无需根据数据爬取请求通过服务器去爬取数据。将生成的各业务流程节点标识对应的模拟爬取数据异步发送至被测终端,使被测终端根据异步接收到的模拟爬取数据更新页面,根据页面更新状态生成页面测试报告,节省了通过服务器爬取数据所耗费的时间,从而提高了页面测试效率。In this embodiment, after asynchronously acquiring the data crawling request sent by the terminal under test corresponding to each business process node, the simulated crawling data corresponding to the data crawling request is generated according to the test configuration file corresponding to the identifier of each business process node. The data crawling request crawls the data through the server. Asynchronously sends the generated simulated crawling data corresponding to each business process node identifier to the terminal under test, so that the terminal under test updates the page according to the asynchronously received simulated crawling data, and generates a page test report according to the page update status, saving the need for the server Time spent crawling data, thereby improving the efficiency of page testing.
关于页面数据测试装置的具体限定可以参见上文中对于页面数据测试方法的限定,在此不再赘述。上述页面数据测试装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the page data testing apparatus, reference may be made to the limitations on the page data testing method above, which will not be repeated here. Each module in the above-mentioned page data testing apparatus may be implemented in whole or in part by software, hardware and combinations thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图8所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种页面数据测试方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, a computer device is provided, and the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 8 . The computer equipment includes a processor, memory, a network interface, a display screen, and an input device connected by a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium, an internal memory. The nonvolatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program, when executed by a processor, implements a page data testing method. The display screen of the computer equipment may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the computer equipment , or an external keyboard, trackpad, or mouse.
本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 8 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 to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,该存储器存储有计算机程序,该处理器执行计算机程序时实现以下步骤:异步获取被测终端对应各业务流程节点发送的数据爬取请求;提取数据爬取请求中的业务流程节点标识;获取与业务流程节点标识对应的测试配置文件;根据测试配置文件生成业务流程节点标识对应的模拟爬取数据;将生成的各业务流程节点标识对应的模拟爬取数据异步发送至被测终端;在被测终端根据异步接收到的模拟爬取数据进行页面更新后,记录被测终端的页面更新状态,得到页面测试报告。In one embodiment, a computer device is provided, including a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program: asynchronously acquiring data sent by the terminal under test corresponding to each service process node Crawl request; extract the business process node identifier in the data crawling request; obtain the test configuration file corresponding to the business process node identifier; generate simulated crawling data corresponding to the business process node identifier according to the test configuration file; The simulated crawling data corresponding to the node identifier is asynchronously sent to the terminal under test; after the terminal under test updates the page according to the asynchronously received simulated crawling data, the page update status of the terminal under test is recorded, and the page test report is obtained.
在一个实施例中,异步获取被测终端对应各业务流程节点发送的数据爬取请求包括:向被测终端发送权限验证请求;获取被测终端根据权限验证请求,在权限验证页面触发的验证通过通知;根据验证通过通知对被测终端发送的数据爬取请求进行监听;当监听到被测终端向服务器发送数据爬取请求时,拦截被测终端发送的数据爬取请求。In one embodiment, asynchronously acquiring data crawling requests sent by the terminal under test corresponding to each business process node includes: sending a request for authority verification to the terminal under test; acquiring the terminal under test according to the authority verification request, and the verification triggered on the authority verification page is passed. Notification; monitor the data crawling request sent by the terminal under test through the notification according to the verification; when monitoring the data crawling request sent by the terminal under test to the server, intercept the data crawling request sent by the terminal under test.
在一个实施例中,向被测终端发送权限验证请求包括:获取携带有业务流程节点标识的测试指令;查询与测试指令中携带的业务流程节点标识对应的测试用例;根据测试用例向被测终端发送权限验证请求。In one embodiment, sending the authority verification request to the terminal under test includes: obtaining a test instruction carrying the identifier of the business process node; querying a test case corresponding to the identifier of the business process node carried in the test instruction; Send permission verification request.
在一个实施例中,根据测试配置文件生成业务流程节点标识对应的模拟爬取数据包括:在已存储的历史爬取数据中,查询与业务流程节点标识对应的历史爬取数据;提取测试配置文件中参数标识和场景配置参数;按照场景配置参数,对查询到的历史爬取数据中与参数标识对应的参数进行配置,生成模拟爬取数据。In one embodiment, generating the simulated crawling data corresponding to the business process node identifier according to the test configuration file includes: in the stored historical crawling data, querying the historical crawling data corresponding to the business process node identifier; extracting the test configuration file parameter identification and scene configuration parameters; according to the scene configuration parameters, configure the parameters corresponding to the parameter identification in the queried historical crawling data to generate simulated crawling data.
在一个实施例中,在已存储的历史爬取数据中,查询与业务流程节点标识对应的历史爬取数据之后,处理器执行计算机程序时还实现以下步骤:当未查询到与业务流程节点标识对应的历史爬取数据时,从业务流程节点标识对应的数据爬取请求中提取服务器地址;将数据爬取请求发送至服务器地址对应的服务器;拦截服务器根据数据爬取请求向被测终端返回的爬取数据;将拦截到的爬取数据存储为历史爬取数据,并将拦截到的爬取数据作为模拟爬取数据发送至被测终端。In one embodiment, in the stored historical crawling data, after querying the historical crawling data corresponding to the business process node identifier, the processor further implements the following steps when executing the computer program: when the business process node identifier is not queried. When the corresponding historical data is crawled, extract the server address from the data crawling request corresponding to the business process node identifier; send the data crawling request to the server corresponding to the server address; intercept the data returned by the server to the terminal under test according to the data crawling request. Crawl data; store the intercepted crawling data as historical crawling data, and send the intercepted crawling data as simulated crawling data to the terminal under test.
在一个实施例中,在被测终端根据异步接收到的模拟爬取数据进行页面更新后,记录被测终端的页面更新状态,得到页面测试报告包括:在被测终端根据异步接收到的模拟爬取数据更新页面后,记录被测终端的页面更新状态;获取与异步接收到的模拟爬取数据对应的页面预期更新状态;将页面更新状态与页面预期更新状态比较,生成页面测试报告。In one embodiment, after the terminal under test updates the page according to the asynchronously received simulated crawling data, recording the page update status of the tested terminal, and obtaining the page test report includes: After fetching the data to update the page, record the page update status of the terminal under test; obtain the expected update status of the page corresponding to the simulated crawling data received asynchronously; compare the page update status with the expected update status of the page, and generate a page test report.
本实施例中,在异步获取被测终端对应各业务流程节点发送的数据爬取请求后,根据各业务流程节点标识对应的测试配置文件生成与数据爬取请求对应的模拟爬取数据,无需根据数据爬取请求通过服务器去爬取数据。将生成的各业务流程节点标识对应的模拟爬取数据异步发送至被测终端,使被测终端根据异步接收到的模拟爬取数据更新页面,根据页面更新状态生成页面测试报告,节省了通过服务器爬取数据所耗费的时间,从而提高了页面测试效率。In this embodiment, after asynchronously acquiring the data crawling request sent by the terminal under test corresponding to each business process node, the simulated crawling data corresponding to the data crawling request is generated according to the test configuration file corresponding to the identifier of each business process node. The data crawling request crawls the data through the server. Asynchronously sends the generated simulated crawling data corresponding to each business process node identifier to the terminal under test, so that the terminal under test updates the page according to the asynchronously received simulated crawling data, and generates a page test report according to the page update status, saving the need for the server Time spent crawling data, thereby improving the efficiency of page testing.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现以下步骤:异步获取被测终端对应各业务流程节点发送的数据爬取请求;提取数据爬取请求中的业务流程节点标识;获取与业务流程节点标识对应的测试配置文件;根据测试配置文件生成业务流程节点标识对应的模拟爬取数据;将生成的各业务流程节点标识对应的模拟爬取数据异步发送至被测终端;在被测终端根据异步接收到的模拟爬取数据进行页面更新后,记录被测终端的页面更新状态,得到页面测试报告。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: asynchronously acquire data crawling requests sent by the terminal under test corresponding to each service process node ; Extract the business process node identification in the data crawling request; obtain the test configuration file corresponding to the business process node identification; generate the simulated crawling data corresponding to the business process node identification according to the test configuration file; The simulated crawling data is sent to the terminal under test asynchronously; after the terminal under test updates the page according to the asynchronously received simulated crawling data, the page update status of the terminal under test is recorded, and the page test report is obtained.
在一个实施例中,异步获取被测终端对应各业务流程节点发送的数据爬取请求包括:向被测终端发送权限验证请求;获取被测终端根据权限验证请求,在权限验证页面触发的验证通过通知;根据验证通过通知对被测终端发送的数据爬取请求进行监听;当监听到被测终端向服务器发送数据爬取请求时,拦截被测终端发送的数据爬取请求。In one embodiment, asynchronously acquiring data crawling requests sent by the terminal under test corresponding to each business process node includes: sending a request for authority verification to the terminal under test; acquiring the terminal under test according to the authority verification request, and the verification triggered on the authority verification page is passed. Notification; monitor the data crawling request sent by the terminal under test through the notification according to the verification; when monitoring the data crawling request sent by the terminal under test to the server, intercept the data crawling request sent by the terminal under test.
在一个实施例中,向被测终端发送权限验证请求包括:获取携带有业务流程节点标识的测试指令;查询与测试指令中携带的业务流程节点标识对应的测试用例;根据测试用例向被测终端发送权限验证请求。In one embodiment, sending the authority verification request to the terminal under test includes: obtaining a test instruction carrying the identifier of the business process node; querying a test case corresponding to the identifier of the business process node carried in the test instruction; Send permission verification request.
在一个实施例中,根据测试配置文件生成业务流程节点标识对应的模拟爬取数据包括:在已存储的历史爬取数据中,查询与业务流程节点标识对应的历史爬取数据;提取测试配置文件中参数标识和场景配置参数;按照场景配置参数,对查询到的历史爬取数据中与参数标识对应的参数进行配置,生成模拟爬取数据。In one embodiment, generating the simulated crawling data corresponding to the business process node identifier according to the test configuration file includes: in the stored historical crawling data, querying the historical crawling data corresponding to the business process node identifier; extracting the test configuration file parameter identification and scene configuration parameters; according to the scene configuration parameters, configure the parameters corresponding to the parameter identification in the queried historical crawling data to generate simulated crawling data.
在一个实施例中,在已存储的历史爬取数据中,查询与业务流程节点标识对应的历史爬取数据之后,计算机程序被处理器执行时还实现以下步骤:当未查询到与业务流程节点标识对应的历史爬取数据时,从业务流程节点标识对应的数据爬取请求中提取服务器地址;将数据爬取请求发送至服务器地址对应的服务器;拦截服务器根据数据爬取请求向被测终端返回的爬取数据;将拦截到的爬取数据存储为历史爬取数据,并将拦截到的爬取数据作为模拟爬取数据发送至被测终端。In one embodiment, after the historical crawling data corresponding to the business process node identifier is queried in the stored historical crawling data, the computer program further implements the following steps when executed by the processor: when no business process node is queried When identifying the corresponding historical crawling data, extract the server address from the data crawling request corresponding to the business process node identification; send the data crawling request to the server corresponding to the server address; the intercepting server returns to the tested terminal according to the data crawling request crawling data; store the intercepted crawling data as historical crawling data, and send the intercepted crawling data as simulated crawling data to the terminal under test.
在一个实施例中,在被测终端根据异步接收到的模拟爬取数据进行页面更新后,记录被测终端的页面更新状态,得到页面测试报告包括:在被测终端根据异步接收到的模拟爬取数据更新页面后,记录被测终端的页面更新状态;获取与异步接收到的模拟爬取数据对应的页面预期更新状态;将页面更新状态与页面预期更新状态比较,生成页面测试报告。In one embodiment, after the terminal under test updates the page according to the asynchronously received simulated crawling data, recording the page update status of the tested terminal, and obtaining the page test report includes: After fetching the data to update the page, record the page update status of the terminal under test; obtain the expected update status of the page corresponding to the simulated crawling data received asynchronously; compare the page update status with the expected update status of the page, and generate a page test report.
本实施例中,在异步获取被测终端对应各业务流程节点发送的数据爬取请求后,根据各业务流程节点标识对应的测试配置文件生成与数据爬取请求对应的模拟爬取数据,无需根据数据爬取请求通过服务器去爬取数据。将生成的各业务流程节点标识对应的模拟爬取数据异步发送至被测终端,使被测终端根据异步接收到的模拟爬取数据更新页面,根据页面更新状态生成页面测试报告,节省了通过服务器爬取数据所耗费的时间,从而提高了页面测试效率。In this embodiment, after asynchronously acquiring the data crawling request sent by the terminal under test corresponding to each business process node, the simulated crawling data corresponding to the data crawling request is generated according to the test configuration file corresponding to the identifier of each business process node. The data crawling request crawls the data through the server. Asynchronously sends the generated simulated crawling data corresponding to each business process node identifier to the terminal under test, so that the terminal under test updates the page according to the asynchronously received simulated crawling data, and generates a page test report according to the page update status, saving the need for the server Time spent crawling data, thereby improving the efficiency of page testing.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage In the medium, when the computer program is executed, it may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other medium used in the various embodiments provided in this application may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Road (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features It is considered to be the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910188972.0A CN110008118B (en) | 2019-03-13 | 2019-03-13 | Page data testing method, device, computer equipment and storage medium |
PCT/CN2019/122569 WO2020181839A1 (en) | 2019-03-13 | 2019-12-03 | Page data testing method, apparatus, computer device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910188972.0A CN110008118B (en) | 2019-03-13 | 2019-03-13 | Page data testing method, device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110008118A true CN110008118A (en) | 2019-07-12 |
CN110008118B CN110008118B (en) | 2023-03-10 |
Family
ID=67167020
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910188972.0A Expired - Fee Related CN110008118B (en) | 2019-03-13 | 2019-03-13 | Page data testing method, device, computer equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110008118B (en) |
WO (1) | WO2020181839A1 (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110659517A (en) * | 2019-08-30 | 2020-01-07 | 深圳壹账通智能科技有限公司 | Data verification method, apparatus, computer equipment and storage medium |
CN110730107A (en) * | 2019-09-02 | 2020-01-24 | 深圳壹账通智能科技有限公司 | Test data generation method and device, computer equipment and storage medium |
CN111177003A (en) * | 2019-12-30 | 2020-05-19 | 北京同邦卓益科技有限公司 | Test method, device, system, electronic equipment and storage medium |
CN111176641A (en) * | 2019-12-03 | 2020-05-19 | 泰康保险集团股份有限公司 | Flow node execution method, device, medium and electronic equipment |
CN111209187A (en) * | 2019-12-26 | 2020-05-29 | 深圳市奇迅新游科技股份有限公司 | Service request processing method and device, computer equipment and storage medium |
CN111324629A (en) * | 2020-02-19 | 2020-06-23 | 望海康信(北京)科技股份公司 | Business data processing method and device, electronic equipment and computer storage medium |
WO2020181839A1 (en) * | 2019-03-13 | 2020-09-17 | 深圳壹账通智能科技有限公司 | Page data testing method, apparatus, computer device, and storage medium |
CN112416350A (en) * | 2020-12-14 | 2021-02-26 | 深圳壹账通智能科技有限公司 | View page construction method, apparatus, computer device and storage medium |
CN113254337A (en) * | 2021-05-24 | 2021-08-13 | 北京创源微致软件有限公司 | Software function testing system, method and server |
CN114780822A (en) * | 2022-06-20 | 2022-07-22 | 云账户技术(天津)有限公司 | Method and device for crawling application program data, electronic equipment and storage medium |
CN116010239A (en) * | 2022-10-25 | 2023-04-25 | 汇通达网络股份有限公司 | Automatic test method based on assembly line |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112269744A (en) * | 2020-10-30 | 2021-01-26 | 深圳壹账通智能科技有限公司 | System abnormity testing method and device, computer equipment and storage medium |
CN112433944A (en) * | 2020-11-25 | 2021-03-02 | 平安普惠企业管理有限公司 | Service testing method, device, computer equipment and storage medium |
CN112527654B (en) * | 2020-12-16 | 2025-01-24 | 康键信息技术(深圳)有限公司 | Test case preparation method, device, computer equipment and storage medium |
CN112650683B (en) * | 2020-12-28 | 2024-06-14 | 京东科技控股股份有限公司 | Program testing method, device and storage medium |
CN114756446B (en) * | 2021-01-11 | 2024-12-24 | 腾讯科技(深圳)有限公司 | Interface debugging method and device |
CN112817849B (en) * | 2021-01-28 | 2024-06-04 | 北京达佳互联信息技术有限公司 | Test data processing method, device, equipment and storage medium |
CN113765735B (en) * | 2021-04-19 | 2025-01-10 | 北京沃东天骏信息技术有限公司 | Application test methods, devices, equipment and storage media |
CN113268417B (en) * | 2021-05-18 | 2023-09-22 | 北京京东振世信息技术有限公司 | Task execution method and device |
CN113467855B (en) * | 2021-06-24 | 2024-03-19 | 北京达佳互联信息技术有限公司 | Webpage request processing method and device, electronic equipment and storage medium |
CN113434410A (en) * | 2021-06-25 | 2021-09-24 | 青岛海尔科技有限公司 | Data testing method and device, storage medium and electronic device |
CN114186817A (en) * | 2021-11-26 | 2022-03-15 | 招联消费金融有限公司 | Process processing method, system, computer device and storage medium |
CN114780432B (en) * | 2022-05-11 | 2024-08-13 | 平安国际智慧城市科技股份有限公司 | Interface testing method, device, equipment and storage medium |
CN114896128A (en) * | 2022-05-19 | 2022-08-12 | 中国银行股份有限公司 | Blockchain-based application performance testing method and device |
CN116248320A (en) * | 2022-12-09 | 2023-06-09 | 腾讯音乐娱乐科技(深圳)有限公司 | Flow recording method, computer device, storage medium and computer program product |
CN116527548B (en) * | 2023-06-26 | 2023-09-05 | 中国电信股份有限公司江西分公司 | IPv 6-based dynamic test method and system |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106407099A (en) * | 2015-07-28 | 2017-02-15 | 阿里巴巴集团控股有限公司 | Test method and client |
CN107102937A (en) * | 2016-02-19 | 2017-08-29 | 腾讯科技(深圳)有限公司 | A kind of ui testing method and apparatus |
CN107256195A (en) * | 2017-06-08 | 2017-10-17 | 武汉斗鱼网络科技有限公司 | Webpage front-end method of testing and device |
US20170300402A1 (en) * | 2016-04-19 | 2017-10-19 | Sap Se | Mock server and extensions for application testing |
CN107688526A (en) * | 2017-08-25 | 2018-02-13 | 上海壹账通金融科技有限公司 | Performance test methods, device, computer equipment and the storage medium of application program |
CN107729352A (en) * | 2017-08-30 | 2018-02-23 | 上海壹账通金融科技有限公司 | page resource loading method and terminal device |
CN108268375A (en) * | 2018-01-12 | 2018-07-10 | 深圳壹账通智能科技有限公司 | Applied program testing method, device, computer equipment and storage medium |
CN108427635A (en) * | 2018-01-03 | 2018-08-21 | 深圳壹账通智能科技有限公司 | Quickly method, server and the computer readable storage medium of test web page |
CN108848000A (en) * | 2018-05-07 | 2018-11-20 | 深圳壹账通智能科技有限公司 | Network request test method, device, computer equipment and storage medium |
CN109359050A (en) * | 2018-11-15 | 2019-02-19 | 北京奇虎科技有限公司 | Web page testing method, device and system |
CN109413153A (en) * | 2018-09-26 | 2019-03-01 | 深圳壹账通智能科技有限公司 | Data crawling method, device, computer equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110008118B (en) * | 2019-03-13 | 2023-03-10 | 深圳壹账通智能科技有限公司 | Page data testing method, device, computer equipment and storage medium |
-
2019
- 2019-03-13 CN CN201910188972.0A patent/CN110008118B/en not_active Expired - Fee Related
- 2019-12-03 WO PCT/CN2019/122569 patent/WO2020181839A1/en active Application Filing
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106407099A (en) * | 2015-07-28 | 2017-02-15 | 阿里巴巴集团控股有限公司 | Test method and client |
CN107102937A (en) * | 2016-02-19 | 2017-08-29 | 腾讯科技(深圳)有限公司 | A kind of ui testing method and apparatus |
US20170300402A1 (en) * | 2016-04-19 | 2017-10-19 | Sap Se | Mock server and extensions for application testing |
CN107256195A (en) * | 2017-06-08 | 2017-10-17 | 武汉斗鱼网络科技有限公司 | Webpage front-end method of testing and device |
CN107688526A (en) * | 2017-08-25 | 2018-02-13 | 上海壹账通金融科技有限公司 | Performance test methods, device, computer equipment and the storage medium of application program |
CN107729352A (en) * | 2017-08-30 | 2018-02-23 | 上海壹账通金融科技有限公司 | page resource loading method and terminal device |
CN108427635A (en) * | 2018-01-03 | 2018-08-21 | 深圳壹账通智能科技有限公司 | Quickly method, server and the computer readable storage medium of test web page |
CN108268375A (en) * | 2018-01-12 | 2018-07-10 | 深圳壹账通智能科技有限公司 | Applied program testing method, device, computer equipment and storage medium |
CN108848000A (en) * | 2018-05-07 | 2018-11-20 | 深圳壹账通智能科技有限公司 | Network request test method, device, computer equipment and storage medium |
CN109413153A (en) * | 2018-09-26 | 2019-03-01 | 深圳壹账通智能科技有限公司 | Data crawling method, device, computer equipment and storage medium |
CN109359050A (en) * | 2018-11-15 | 2019-02-19 | 北京奇虎科技有限公司 | Web page testing method, device and system |
Non-Patent Citations (2)
Title |
---|
NEHA SINGHAL ET AL.: "Automock: Automated Mock Backend Generation for Javascript", 《GLOBAL JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY》 * |
龙鹏飞等: "基于监听和过滤器技术的Web服务身份验证", 《计算机技术与发展》 * |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020181839A1 (en) * | 2019-03-13 | 2020-09-17 | 深圳壹账通智能科技有限公司 | Page data testing method, apparatus, computer device, and storage medium |
CN110659517A (en) * | 2019-08-30 | 2020-01-07 | 深圳壹账通智能科技有限公司 | Data verification method, apparatus, computer equipment and storage medium |
CN110730107A (en) * | 2019-09-02 | 2020-01-24 | 深圳壹账通智能科技有限公司 | Test data generation method and device, computer equipment and storage medium |
CN110730107B (en) * | 2019-09-02 | 2022-07-12 | 深圳壹账通智能科技有限公司 | Test data generation method and device, computer equipment and storage medium |
CN111176641B (en) * | 2019-12-03 | 2023-06-02 | 泰康保险集团股份有限公司 | Flow node execution method, device, medium and electronic equipment |
CN111176641A (en) * | 2019-12-03 | 2020-05-19 | 泰康保险集团股份有限公司 | Flow node execution method, device, medium and electronic equipment |
CN111209187A (en) * | 2019-12-26 | 2020-05-29 | 深圳市奇迅新游科技股份有限公司 | Service request processing method and device, computer equipment and storage medium |
CN111209187B (en) * | 2019-12-26 | 2024-03-15 | 深圳市奇迅新游科技股份有限公司 | Service request processing method, device, computer equipment and storage medium |
CN111177003A (en) * | 2019-12-30 | 2020-05-19 | 北京同邦卓益科技有限公司 | Test method, device, system, electronic equipment and storage medium |
CN111324629A (en) * | 2020-02-19 | 2020-06-23 | 望海康信(北京)科技股份公司 | Business data processing method and device, electronic equipment and computer storage medium |
CN111324629B (en) * | 2020-02-19 | 2023-08-15 | 望海康信(北京)科技股份公司 | Service data processing method and device, electronic equipment and computer storage medium |
CN112416350A (en) * | 2020-12-14 | 2021-02-26 | 深圳壹账通智能科技有限公司 | View page construction method, apparatus, computer device and storage medium |
CN113254337A (en) * | 2021-05-24 | 2021-08-13 | 北京创源微致软件有限公司 | Software function testing system, method and server |
CN114780822A (en) * | 2022-06-20 | 2022-07-22 | 云账户技术(天津)有限公司 | Method and device for crawling application program data, electronic equipment and storage medium |
CN116010239A (en) * | 2022-10-25 | 2023-04-25 | 汇通达网络股份有限公司 | Automatic test method based on assembly line |
CN116010239B (en) * | 2022-10-25 | 2023-12-08 | 汇通达网络股份有限公司 | Automatic test method based on assembly line |
Also Published As
Publication number | Publication date |
---|---|
WO2020181839A1 (en) | 2020-09-17 |
CN110008118B (en) | 2023-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110008118B (en) | Page data testing method, device, computer equipment and storage medium | |
CN110990205B (en) | Interface call testing method, device and computer readable storage medium | |
CN109766256B (en) | Method and device for testing H5 page performance in application program and computer equipment | |
CN109446068B (en) | Interface test method, device, computer equipment and storage medium | |
CN110688598B (en) | Service parameter acquisition method and device, computer equipment and storage medium | |
CN111475376B (en) | Method, apparatus, computer device and storage medium for processing test data | |
CN110008117A (en) | Page test method, device, computer equipment and storage medium | |
CN109814854B (en) | Project framework generation method, device, computer equipment and storage medium | |
WO2020253061A1 (en) | Page generating method and apparatus, computer device, and storage medium | |
CN109542764B (en) | Webpage automatic testing method and device, computer equipment and storage medium | |
CN112637008B (en) | Link simulation test method, device, system, computer equipment and storage medium | |
CN110245505A (en) | Data table access method, device, computer equipment and storage medium | |
WO2020232883A1 (en) | Script defect scanning method and apparatus, computer device and storage medium | |
CN109144487B (en) | Method, device, computer equipment and storage medium for developing business of parts | |
CN108959384B (en) | Webpage data acquisition method and device, computer equipment and storage medium | |
CN110365724B (en) | Task processing method and device and electronic equipment | |
CN112612706A (en) | Automated testing method, computer device and storage medium | |
CN113315828A (en) | Traffic recording method and device, traffic recording equipment and storage medium | |
CN110245125A (en) | Data migration method, device, computer equipment and storage medium | |
CN113342767A (en) | Log generation method, device, equipment and storage medium | |
CN109582583B (en) | Software testing method, device, computer equipment and storage medium | |
CN111431767B (en) | Multi-browser resource synchronization method, device, computer equipment and storage medium | |
CN112016122A (en) | Webpage data processing method and device, computer equipment and storage medium | |
CN114528213A (en) | Automatic baffle plate testing method, device, equipment and storage medium | |
CN112711538B (en) | Test system simulation method, device, computer equipment 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20230310 |
|
CF01 | Termination of patent right due to non-payment of annual fee |