CN109542764B - Webpage automatic testing method and device, computer equipment and storage medium - Google Patents

Webpage automatic testing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN109542764B
CN109542764B CN201811210760.XA CN201811210760A CN109542764B CN 109542764 B CN109542764 B CN 109542764B CN 201811210760 A CN201811210760 A CN 201811210760A CN 109542764 B CN109542764 B CN 109542764B
Authority
CN
China
Prior art keywords
test
webpage
tested
case
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.)
Active
Application number
CN201811210760.XA
Other languages
Chinese (zh)
Other versions
CN109542764A (en
Inventor
马燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Health Insurance Company of China Ltd
Original Assignee
Ping An Health Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Health Insurance Company of China Ltd filed Critical Ping An Health Insurance Company of China Ltd
Priority to CN201811210760.XA priority Critical patent/CN109542764B/en
Publication of CN109542764A publication Critical patent/CN109542764A/en
Application granted granted Critical
Publication of CN109542764B publication Critical patent/CN109542764B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal 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 application relates to a webpage automatic testing method, a webpage automatic testing device, computer equipment and a storage medium. The method involves automated testing, comprising: extracting a request link element from a webpage to be tested; classifying the request link elements according to a preset request classification rule to obtain classified request link elements; inquiring a preset business rule corresponding to the webpage to be tested, generating a corresponding test case according to the business rule and the classified request link element, and establishing a test case list according to the test case; extracting a case to be tested from a test case list according to preset webpage test requirements, and carrying out automatic test on the case to be tested according to the webpage test requirements to obtain a webpage test result. By adopting the method, the pertinence of the test case can be ensured, and the efficiency of webpage test can be improved.

Description

Webpage automatic testing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and apparatus for automatically testing web pages, a computer device, and a storage medium.
Background
With the development of internet technology, more and more people acquire information through various web pages of each website. A web page is a plain text file containing HTML tags that can be stored in a computer at a corner of the world, a "page" in the world wide web, which is a hypertext markup language formatted file.
In the web page design process, performance of the designed web page needs to be tested, such as concurrency number, request response time, concurrency user number and the like. The current webpage test processing needs to input a great deal of labor cost, special testers perform manual test, the error rate is high, repeated test is needed, and the test efficiency is reduced.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a web page automation test method, apparatus, computer device, and storage medium capable of improving web page test efficiency.
A method of automated testing of web pages, the method comprising:
extracting a request link element from a webpage to be tested;
classifying the request link elements according to a preset request classification rule to obtain classified request link elements;
inquiring a preset business rule corresponding to the webpage to be tested, generating a corresponding test case according to the business rule and the classified request link element, and establishing a test case list according to the test case;
Extracting a case to be tested from a test case list according to preset webpage test requirements, and carrying out automatic test on the case to be tested according to the webpage test requirements to obtain a webpage test result.
In one embodiment, before the step of extracting the request link element from the web page to be tested, the method further includes:
determining a website to be tested, and extracting each business page from the website to be tested;
according to the service function type of the service page, importing the service page into a preset website page list;
and receiving the webpage test message, extracting a corresponding service page from the website page list according to the webpage test message, and taking the extracted service page as a webpage to be tested.
In one embodiment, the request classification rules include flow module classification rules; classifying the request link elements according to a preset request classification rule, and obtaining the classified request link elements comprises the following steps:
determining a request service type of a request link element;
determining a business flow module corresponding to the request link element according to the request business type;
and combining the business flow module and the flow module classification rule, and classifying the request link elements by the flow module to obtain classified request link elements.
In one embodiment, the business rules include business processes and security class requirements; the step of generating the corresponding test case according to the business rule and the classified request link element comprises the following steps:
determining a business flow and a security level requirement corresponding to the request business type from the business rule;
generating a test case to be encrypted according to the service flow corresponding to the request service type and the classified request link elements;
and encrypting the test cases to be encrypted according to the security requirements to obtain the test cases corresponding to the classified request link elements.
In one embodiment, the steps of extracting a case to be tested from a test case list according to a preset webpage test requirement, and performing an automatic test on the case to be tested according to the webpage test requirement to obtain a webpage test result include:
inquiring a preset webpage test requirement, wherein the webpage test requirement comprises a case test sequence, hardware configuration resources and network configuration resources;
extracting cases to be tested from the test case list according to the case test sequence;
and under the test conditions of the hardware configuration resources and the network configuration resources, executing the case to be tested to perform automatic test, and obtaining a webpage test result.
In one embodiment, after the step of creating the test case list from the test cases, further comprising:
constructing a case generation element according to the business rule and the request link element;
when the case generating element is detected to be updated, acquiring the updated case generating element;
generating a corresponding updated test case according to the updated case generation element;
the updated test cases are imported into the test case list and replaced with the updated test cases.
In one embodiment, after the step of obtaining the web page test result, the method further includes:
performing index classification on the webpage test results according to the test index categories to obtain classified webpage test results;
inquiring an index priority form corresponding to the test index category, and determining the priority level corresponding to the classified webpage test result according to the index priority form;
and sorting the classified webpage test results according to the priority level to obtain a webpage test report.
A web page automation test device, the device comprising:
the link element acquisition module is used for extracting a request link element from the webpage to be tested;
The link element classification module is used for classifying the request link elements according to a preset request classification rule to obtain classified request link elements;
the test case generation module is used for inquiring a preset business rule corresponding to the webpage to be tested, generating a corresponding test case according to the business rule and the classified request link elements, and establishing a test case list according to the test case;
the automatic test module is used for extracting the to-be-tested cases from the test case list according to the preset webpage test requirements, and carrying out automatic test on the to-be-tested cases according to the webpage test requirements to obtain webpage test results.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
extracting a request link element from a webpage to be tested;
classifying the request link elements according to a preset request classification rule to obtain classified request link elements;
inquiring a preset business rule corresponding to the webpage to be tested, generating a corresponding test case according to the business rule and the classified request link element, and establishing a test case list according to the test case;
Extracting a case to be tested from a test case list according to preset webpage test requirements, and carrying out automatic test on the case to be tested according to the webpage test requirements to obtain a webpage test result.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
extracting a request link element from a webpage to be tested;
classifying the request link elements according to a preset request classification rule to obtain classified request link elements;
inquiring a preset business rule corresponding to the webpage to be tested, generating a corresponding test case according to the business rule and the classified request link element, and establishing a test case list according to the test case;
extracting a case to be tested from a test case list according to preset webpage test requirements, and carrying out automatic test on the case to be tested according to the webpage test requirements to obtain a webpage test result.
According to the webpage automatic test method, device, computer equipment and storage medium, the request link elements extracted from the webpage to be tested are classified, the test cases are generated by combining the corresponding preset business rules of the webpage to be tested and the classified request link elements, the test cases are managed through the test case list, the cases to be tested are extracted from the test case list according to the preset webpage test requirements, and the extracted cases to be tested are automatically tested according to the webpage test requirements, so that the network test result is obtained. In the webpage automatic test process, corresponding test cases are generated according to each request link element by combining the business rules corresponding to the webpage to be tested, the pertinence of the test cases is ensured, the test case list is managed, the corresponding test cases are extracted from the test case list according to the actual webpage test requirements to carry out webpage automatic test, repeated tests are avoided, and the webpage test efficiency is improved.
Drawings
FIG. 1 is an application scenario diagram of a web page automation test method in one embodiment;
FIG. 2 is a flow chart of a method for automated testing of web pages in one embodiment;
FIG. 3 is a flow chart of a test case list update step in one embodiment;
FIG. 4 is a flowchart of a method for automated testing of web pages in another embodiment;
FIG. 5 is a block diagram of an automated web page testing apparatus in one embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The webpage automatic testing method provided by the application can be applied to an application environment shown in figure 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 sends a web page test request message to the server 104, the server 104 determines a corresponding web page to be tested after receiving the web page test request message, sorts the request link elements extracted from the web page to be tested, generates test cases by combining the corresponding preset business rules of the web page to be tested and the sorted request link elements, manages through the test case list, extracts the test cases from the test case list according to the preset web page test requirement, and executes the extracted test cases to be tested according to the web page test requirement for automatic test, thereby obtaining the network test result. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the server 104 may be implemented by a stand-alone server or a server cluster composed of a plurality of servers.
In one embodiment, as shown in fig. 2, a method for automatically testing a web page is provided, and the method is applied to the server 104 in fig. 1 for illustration, and includes the following steps:
step S201: the request link element is extracted from the webpage to be tested.
The web pages to be tested can be various web pages in each service system, such as a main page, each service web page and the like; the request link element is a web page element in the web page to be tested, such as text, picture, audio, animation, video and the like, and is related to relevant instruction codes for operating the web page, and when the request link element is operated, relevant operations for the web page, such as clicking operations for the web page element, are executed, so that the operations for the web page are triggered, particularly, clicking and logging operations after account passwords are input, wherein the request link element can be the web page element of a login button. Generally, different service web pages are provided with different request link elements in different service system websites to provide different service. In a specific application, each request link element can be crawled from a webpage to be tested based on a Python crawler technology, and in particular, a crawler engine can be built based on a Python+Selenium framework, and the request link elements can be crawled from the webpage to be tested through the crawler engine.
In a specific implementation, before extracting the request link element, a step of determining a web page to be tested may be further included, specifically, the terminal 102 may send a web page test request message to the server 104, the server 104 determines the web page to be tested according to the web page test request message, queries the web page to be tested, and extracts each request link element from the web page to be tested through a preset crawler engine.
Step S203: classifying the request link elements according to a preset request classification rule to obtain classified request link elements.
The request classification rules may include, but are not limited to, classification rules such as functional classification, flow classification, and architecture classification, and are used for classifying the obtained request link elements, so as to allocate corresponding test resources for different classified request link elements for targeted management and testing. Generally, a web page is provided with various request link elements to support diversified business services, for example, for an insurance system website, various insurance business related request link elements corresponding to the insurance system website are classified according to preset request classification rules after the request link elements are extracted, so as to realize targeted processing of the request link elements. For example, different request link elements such as underwriting, policy generation, policy derivation and the like which belong to the same insurance application flow process can be divided into the same class, so that corresponding webpages can be tested in sequence according to the flow processing sequence, and the testing efficiency of the business flow is ensured. Specifically, the request classification rule may be divided according to the actual test resources, or may be set according to the service type of the web page to be tested.
Step S205: inquiring a preset business rule corresponding to the webpage to be tested, generating a corresponding test case according to the business rule and the classified request link element, and establishing a test case list according to the test case.
Different webpages carry different content information, which includes different request link elements, and when generating test cases corresponding to webpages, the test cases closely related to the business implemented by the webpages are obtained by combining business rules corresponding to the webpages. Specifically, the service rule may be preconfigured for the service system according to the service actually provided by the webpage to be tested, specifically, the service system to which the webpage to be tested corresponds may be determined, and the service rule corresponding to the webpage to be tested may be obtained by querying from a service rule base of the service system. After the business rule corresponding to the webpage to be tested is obtained, the business rule and the classified request link elements are combined to generate corresponding test cases, for example, the classified request link elements are operated according to the business rule to simulate business circulation, and the corresponding test cases are generated. After obtaining the test cases corresponding to each request link element, summarizing the test cases, and establishing a test case list of the webpage to be tested, for example, establishing a MySQL test case list, so as to realize the management of the test cases of the webpage to be tested.
Step S207: extracting a case to be tested from a test case list according to preset webpage test requirements, and carrying out automatic test on the case to be tested according to the webpage test requirements to obtain a webpage test result.
After obtaining the test case list of the webpage to be tested, further extracting the corresponding test case from the test case list according to the webpage test requirement for automatic test, and obtaining the webpage test result of the webpage to be tested. The web page test requirements are set correspondingly to the web page to be tested, and can include, but not limited to, case test sequences, hardware configuration resources, network configuration resources and the like. The case test sequence may be a test sequence for extracting corresponding test cases from a test case list for automated testing, may be ordered according to the importance of each test case, and may be ordered from high to low in importance, for example, for test cases involving core services of a web page to be tested, the importance of which is higher, and for test cases of other additional functions, the importance of which is lower. The hardware configuration resources and the network configuration resources are all set as test conditions, so that the to-be-tested cases are automatically tested under different test conditions, and the webpage test results of the to-be-tested webpages under various hardware configuration resources and network configuration resources are obtained. In this embodiment, a case to be tested is extracted from a test case list according to a web page test requirement, and an automatic test is performed on the case to be tested according to the web page test requirement, so as to obtain a web page test result corresponding to the web page to be tested.
In the webpage automatic test method, the request link elements extracted from the webpage to be tested are classified, the test cases are generated by combining the corresponding preset business rules of the webpage to be tested and the classified request link elements, the test cases are managed through the test case list, the cases to be tested are extracted from the test case list according to the preset webpage test requirements, and the extracted cases to be tested are automatically tested according to the webpage test requirements, so that the network test result is obtained. In the webpage automatic test process, corresponding test cases are generated according to each request link element by combining the business rules corresponding to the webpage to be tested, the pertinence of the test cases is ensured, the test case list is managed, the corresponding test cases are extracted from the test case list according to the actual webpage test requirements to carry out webpage automatic test, repeated tests are avoided, and the webpage test efficiency is improved.
In one embodiment, before the step of extracting the request link element from the web page to be tested, the method further comprises: determining a website to be tested, and extracting each business page from the website to be tested; according to the service function type of the service page, importing the service page into a preset website page list; and receiving the webpage test message, extracting a corresponding service page from the website page list according to the webpage test message, and taking the extracted service page as a webpage to be tested.
The web page to be tested can be one of a plurality of web pages of a business system website so as to support business services of the business system. In this embodiment, before extracting the request link element from the web page to be tested, the web site to be tested is determined, and each service page is extracted from the web site to be tested. Specifically, the first terminal may send a website test request message to the server 104, where the website test request message includes identification information of a website to be tested, and after the server 104 receives the website test request message, the server extracts the identification information of the website to be tested from the website test request message, thereby determining the website to be tested, and extracting a service page supporting each service from the website to be tested. After each service page is extracted from the website to be tested, each service page is imported into a preset website page list for storage management according to the corresponding service function type, and when each service page of the website to be tested is required to be tested, the corresponding page can be directly extracted from the website page list. The second terminal sends a web page test message to the server 104 to request testing of the service page of the web site to be tested. In this embodiment, the server 104 receives the web page test message, extracts a corresponding service page from the web page list according to the web page test message, and uses the extracted service page as the web page to be tested, so as to perform subsequent web page automatic test processing.
In one embodiment, the request classification rules include flow module classification rules; classifying the request link elements according to a preset request classification rule, and obtaining the classified request link elements comprises the following steps: determining a request service type of a request link element; determining a business flow module corresponding to the request link element according to the request business type; and combining the business flow module and the flow module classification rule, and classifying the request link elements by the flow module to obtain classified request link elements.
The request classification rules can comprise classification rules such as function classification, flow classification, architecture classification and the like, and the obtained request link elements are classified so as to facilitate the targeted management and testing of the configuration of corresponding testing strategies for the request link elements of different classifications, such as setting different testing sequences, testing times, testing resources and the like for the request link elements of different classifications. In this embodiment, the request classification rule includes a flow module classification rule, that is, classification is performed according to the flow module to which the request link element belongs. Specifically, the request service type of the request link element is determined, for example, an underwriting service request, a policy generation service request, a claim settlement service request and the like, and then a service flow module corresponding to the request link element is determined according to the request service type, for example, the underwriting service request and the policy generation service request belong to the same insurance service flow module, and the claim settlement service request belongs to the claim settlement service flow module. After the business flow module corresponding to the request link element is determined, the business flow module and the flow module classification rule are combined, and the request link element is subjected to flow module classification to obtain the classified request link element. By classifying the flow modules according to the business flow modules to which each request link element belongs in the webpage to be tested and classifying the flow modules according to the flow module classification rules, each request link element in the webpage to be tested can be divided according to the implementation functions, the webpage test is carried out according to the actual requirements of the business flow, the pertinence of the test can be improved, and the validity of the test result is ensured.
In one embodiment, the business rules include business processes and security class requirements; the step of generating the corresponding test case according to the business rule and the classified request link element comprises the following steps: determining a business flow and a security level requirement corresponding to the request business type from the business rule; generating a test case to be encrypted according to the service flow corresponding to the request service type and the classified request link elements; and encrypting the test cases to be encrypted according to the security requirements to obtain the test cases corresponding to the classified request link elements.
For different webpages to be tested and request link elements which realize different service functions, the operation executed during application and the resource condition configuration during operation are different, for example, the login request link elements in a login page and the service request link elements in a service page are likely to face all service users, and the service page is only aimed at the service users with requirements for the type of service, namely, the traffic conditions of the service users faced by the login request link elements and the service request link elements are different; moreover, the login request link element needs to be subjected to link access verification with the user identification information base, and the service request link element is connected with the corresponding service database to access to obtain the corresponding service data, so that the operations executed by the login request link element and the service database are different. Therefore, corresponding test cases can be generated according to the business rules of the business functions realized by different webpages to be tested and request link elements so as to simulate the actual application situation and ensure the effectiveness of webpage testing.
In this embodiment, the business rule includes a business flow and a security requirement, where the business flow may be determined by a business flow module to which the request link element belongs, such as an application business flow, a claim settlement business flow, and a lending business flow; the security level requirement is a data encryption requirement, and specifically may include encryption content, encryption and decryption modes, and the like. Specifically, when the test case is generated, the service flow and the security class requirement corresponding to the request service type are extracted from the service rule, for example, the corresponding service flow and the security class requirement can be determined according to the request service type of the request link element from the service rule. And generating a test case to be encrypted according to the service flow and the classified request link elements, and encrypting the test case to be encrypted according to the security requirements, so as to obtain the test case corresponding to the classified request link elements. When the test case is executed, the operation of requesting the link element can be executed, so that the circulation of the business flow is realized, and the related test data is acquired in the operation process of the business flow, thereby realizing the test of the webpage to be tested. After obtaining the test cases generated by combining the service rules with the request link elements in the to-be-tested webpage, a database table can be established for storage and management, for example, a MySQL test case list is established, and each test case is imported into the MySQL test case list for unified management and control.
In one embodiment, the steps of extracting a case to be tested from the test case list according to a preset webpage test requirement, and performing an automatic test on the case to be tested according to the webpage test requirement to obtain a webpage test result include: inquiring a preset webpage test requirement, wherein the webpage test requirement comprises a case test sequence, hardware configuration resources and network configuration resources; extracting cases to be tested from the test case list according to the case test sequence; and under the test conditions of the hardware configuration resources and the network configuration resources, executing the case to be tested to perform automatic test, and obtaining a webpage test result.
In this embodiment, when the automatic test is performed through the test case, a preset web page test requirement is queried, where the web page test requirement reflects the test item index for the web page to be tested, and specifically may include, but not limited to, a case test sequence, hardware configuration resources, network configuration resources, and the like. The case test sequence is the test sequence of the test cases corresponding to each request link element in the webpage to be tested, and can be ordered according to the importance of each test case so as to perform case test according to the importance from high to low; the hardware configuration resources and the network configuration resources are all set as test conditions, so that the to-be-tested cases are automatically tested under different test conditions, and the webpage test results of the to-be-tested webpages under various hardware configuration resources and network configuration resources are obtained. Specifically, after the webpage test requirement is obtained, the to-be-tested cases are extracted from the test case list according to the case test sequence, and then the extracted to-be-tested cases are executed for automatic test according to the test conditions corresponding to the hardware configuration resources and the network configuration resources, so that the webpage test result is obtained. The web page test results may include, but are not limited to, performance test index results, such as response time, throughput, concurrency, CUP occupancy, etc., reflecting the performance of the web page to be tested.
In one embodiment, as shown in fig. 3, after the step of creating the test case list according to the test cases, the method further includes a step of updating the test case list, specifically including:
step S301: and constructing a case generation element according to the business rule and the request link element.
After the test cases corresponding to the request link elements are generated and the test cases are managed through the constructed test case list, the business rules and the update conditions of the request link elements can be monitored regularly or in real time, and the test cases can be updated correspondingly in time. Specifically, a case generation element is constructed, wherein the case generation element is a factor related to test case generation, and specifically comprises a business rule and a request link element, namely, the case generation element is constructed according to the business rule and the request link element.
Step S303: when the case generating element is detected to be updated, the updated case generating element is acquired.
The set monitoring task thread monitors the update of the case generation element, such as can detect whether the modification record exists in the business rule and the request link element at regular time or in real time. When the case generating element is detected to be updated, the corresponding updated case generating element is acquired. Specifically, when the business rule or the request link element in the webpage to be tested is detected to be updated, the updated business rule or the request link element is acquired from the corresponding business database or the website system database.
Step S305: and generating a corresponding updated test case according to the updated case generation element.
And after the updated case generating element is obtained, generating a corresponding updated test case. Specifically, if only one of the business rule and the request link element is updated, a corresponding updated test case is generated according to the updated business rule or the updated request link element and the non-updated request link element or the non-updated business rule. If the business rule and the request link element are updated, generating a corresponding updated test case according to the updated business rule and the updated request link element.
Step S307: the updated test cases are imported into the test case list and replaced with the updated test cases.
After the updated test cases are obtained, the updated test cases are imported into a test case list corresponding to the webpage to be tested, so that the test case list is updated, and the updated test cases can be directly replaced with the original corresponding test cases. In this embodiment, by monitoring the service rule and the update condition of the request link element, the test case can be updated correspondingly in time, so as to ensure the efficiency and effectiveness of the test of the web page to be tested.
In one embodiment, after the step of obtaining the web page test result, the method further includes: performing index classification on the webpage test results according to the test index categories to obtain classified webpage test results; inquiring an index priority form corresponding to the test index category, and determining the priority level corresponding to the classified webpage test result according to the index priority form; and sorting the classified webpage test results according to the priority level to obtain a webpage test report.
After the web page test results of the request link elements are obtained, a web page test report can be generated according to the web page test results to display the test results. In this embodiment, after the web page test result is obtained, the web page test result is classified according to the test index category, for example, the web page test result may be classified according to the concurrency number, and the concurrency numbers in the web page test results of each request link element in the web page to be tested are classified into the same category, so as to perform the concurrency number centralized analysis. After the classified webpage test results are obtained, inquiring an index priority form corresponding to the test index category, and determining the priority level corresponding to the classified webpage test results according to the index priority form. For webpages of different service systems, the importance of different test index categories is different, for example, for webpages of service systems with high concurrency number requirements, the concurrency number index importance is high; and for the web page with high response time requirement, the response time index is high in importance. For the test index categories with different importance, different display priorities can be set to highlight the test results of the web pages. After the priority level corresponding to the classified webpage test results is determined, the classified webpage test results are ordered according to the priority level, and a webpage test report is obtained to display the webpage test results. The web page test results of the request link elements are subjected to aggregation and centralized processing according to the test index categories, so that web page test reports are obtained and displayed, and the advantages and disadvantages of the web page to be tested can be effectively highlighted.
In one embodiment, as shown in fig. 4, a web page automation test method is provided, which includes the following steps:
step S401: determining a website to be tested, and extracting each business page from the website to be tested;
step S402: according to the service function type of the service page, importing the service page into a preset website page list;
step S403: and receiving the webpage test message, extracting a corresponding service page from the website page list according to the webpage test message, and taking the extracted service page as a webpage to be tested.
In this embodiment, the web page to be tested may be one of a plurality of web pages of a service system website, so as to support service of the service system. The first terminal may send a website test request message to the server 104, where the website test request message includes identification information of a website to be tested, and after the server 104 receives the website test request message, the server extracts the identification information of the website to be tested from the website test request message, so as to determine the website to be tested, extract service pages supporting service services from the website to be tested, and import the service pages into a preset website page list for storage management according to the corresponding service function types of the service pages. The server 104 receives the webpage test message sent by the second terminal, extracts the corresponding service page from the website page list according to the webpage test message, and uses the extracted service page as the webpage to be tested, so as to perform subsequent webpage automatic test processing.
Step S404: extracting a request link element from a webpage to be tested;
step S405: determining a request service type of a request link element;
step S406: determining a business flow module corresponding to the request link element according to the request business type;
step S407: and combining the business flow module and the flow module classification rule, and classifying the request link elements by the flow module to obtain classified request link elements.
In this embodiment, the request classification rule includes a flow module classification rule, that is, classification is performed according to the flow module to which the request link element belongs. After extracting the request link element from the webpage to be tested, determining a business flow module corresponding to the request link element, combining the business flow module and a flow module classification rule, and classifying the request link element by the flow module to obtain the classified request link element.
Step S408: inquiring a preset business rule corresponding to the webpage to be tested, generating a corresponding test case according to the business rule and the classified request link element, and establishing a test case list according to the test case.
For different webpages to be tested and request link elements which realize different service functions, the operation executed in the application and the resource condition configuration in the operation are also different. In this embodiment, the business rule includes a business process and a security class requirement, and the step of generating the test case may include: determining a business flow and a security level requirement corresponding to the request business type from the business rule; generating a test case to be encrypted according to the service flow corresponding to the request service type and the classified request link elements; and encrypting the test cases to be encrypted according to the security requirements to obtain the test cases corresponding to the classified request link elements.
Step S409: inquiring a preset webpage test requirement, wherein the webpage test requirement comprises a case test sequence, hardware configuration resources and network configuration resources;
step S410: extracting cases to be tested from the test case list according to the case test sequence;
step S411: and under the test conditions of the hardware configuration resources and the network configuration resources, executing the case to be tested to perform automatic test, and obtaining a webpage test result.
When the automatic test is performed through the test cases, the preset webpage test requirements are queried, the webpage test requirements reflect test item indexes aiming at the webpage to be tested, and the method specifically can include, but is not limited to, case test sequences, hardware configuration resources, network configuration resources and the like. After the webpage test requirement is obtained, the to-be-tested cases are extracted from the test case list according to the case test sequence, and then the extracted to-be-tested cases are executed to perform automatic test according to the test conditions corresponding to the hardware configuration resources and the network configuration resources, so that webpage test results are obtained, wherein the webpage test results comprise performance test index results such as response time, throughput, concurrency number, CUP occupancy rate and other test index types.
Step S412: performing index classification on the webpage test results according to the test index categories to obtain classified webpage test results;
Step S413: inquiring an index priority form corresponding to the test index category, and determining the priority level corresponding to the classified webpage test result according to the index priority form;
step S414: and sorting the classified webpage test results according to the priority level to obtain a webpage test report.
After the web page test results of the request link elements are obtained, a web page test report can be generated according to the web page test results to display the test results. The web page test results of the request link elements are subjected to aggregation and centralized processing according to the test index categories, so that web page test reports are obtained and displayed, and the advantages and disadvantages of the web page to be tested can be effectively highlighted.
It should be understood that, although the steps in the flowcharts of fig. 2-4 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2-4 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or steps.
In one embodiment, as shown in fig. 5, there is provided a web page automation test device, including: a link element acquisition module 501, a link element classification module 503, a test case generation module 505, and an automated test module 507, wherein:
a link element obtaining module 501, configured to extract a request link element from a webpage to be tested;
a link element classification module 503, configured to classify the request link element according to a preset request classification rule, so as to obtain a classified request link element;
the test case generation module 505 is configured to query a webpage to be tested for a corresponding preset business rule, generate a corresponding test case according to the business rule and the classified request link element, and establish a test case list according to the test case;
the automatic test module 507 is configured to extract a case to be tested from the test case list according to a preset web page test requirement, and perform an automatic test on the case to be tested according to the web page test requirement, so as to obtain a web page test result.
According to the webpage automatic test device, the link element classification module classifies the request link elements extracted from the webpage to be tested, the test case generation module combines the corresponding preset business rule of the webpage to be tested and the classified request link elements to generate the test case, the test case list is used for management, the automatic test module extracts the case to be tested from the test case list according to the preset webpage test requirement, and the automatic test is performed according to the webpage test requirement to obtain the network test result. In the webpage automatic test process, corresponding test cases are generated according to each request link element by combining the business rules corresponding to the webpage to be tested, the pertinence of the test cases is ensured, the test case list is managed, the corresponding test cases are extracted from the test case list according to the actual webpage test requirements to carry out webpage automatic test, repeated tests are avoided, and the webpage test efficiency is improved.
In one embodiment, the system further comprises a business page extraction module, a page list module and a to-be-tested webpage determination module, wherein: the business page extraction module is used for determining a website to be tested and extracting each business page from the website to be tested; the page list module is used for importing the service page into a preset website page list according to the service function type of the service page; the to-be-tested webpage determining module is used for receiving the webpage test message, extracting a corresponding service page from the website page list according to the webpage test message, and taking the extracted service page as the to-be-tested webpage.
In one embodiment, the request classification rules include flow module classification rules; the link element classification module 503 includes a service type determination unit, a service flow module determination unit, and a link element classification unit, in which: a service type determining unit, configured to determine a request service type of a request link element; the business process module determining unit is used for determining a business process module corresponding to the request link element according to the request business type; and the link element classification unit is used for classifying the request link elements by combining the business process modules and the process module classification rules to obtain classified request link elements.
In one embodiment, the business rules include business processes and security class requirements; the test case generation module 505 includes a business rule unit, a case unit to be encrypted, and an encryption unit, wherein: the business rule unit is used for determining a business flow and a security level requirement corresponding to the request business type from the business rule; the case unit to be encrypted is used for generating a test case to be encrypted according to the service flow corresponding to the request service type and the classified request link elements; and the encryption unit is used for carrying out encryption processing on the test cases to be encrypted according to the security requirements to obtain the test cases corresponding to the classified request link elements.
In one embodiment, automated test module 507 includes a test requirements unit, a case extraction unit, and a test unit, wherein: the test requirement unit is used for inquiring a preset webpage test requirement, wherein the webpage test requirement comprises a case test sequence, hardware configuration resources and network configuration resources; the case extraction unit is used for extracting the cases to be tested from the test case list according to the case test sequence; and the test unit is used for executing the case to be tested to perform automatic test under the test conditions of the hardware configuration resources and the network configuration resources to obtain a webpage test result.
In one embodiment, the method further comprises a case generation element module, an update element acquisition module, an update case generation module and a case update module, wherein: the case generation element module is used for constructing case generation elements according to the business rules and the request link elements; the updating element acquisition module is used for acquiring updated case generating elements when the case generating elements are detected to be updated; the updated case generation module is used for generating a corresponding updated test case according to the updated case generation element; and the case updating module is used for importing the updated test case into the test case list and replacing the updated test case with the test case.
In one embodiment, the system further comprises an index category module, a priority level module and a test report generation module, wherein: the index category module is used for carrying out index classification on the webpage test results according to the test index categories to obtain classified webpage test results; the priority level module is used for inquiring the index priority form corresponding to the test index category and determining the priority level corresponding to the classified webpage test result according to the index priority form; and the test report generation module is used for sequencing the classified webpage test results according to the priority level to obtain a webpage test report.
For specific limitations of the web page automation test device, reference may be made to the above limitation of the web page automation test method, and no further description is given here. The modules in the webpage automatic testing device can be fully or partially realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method for automated testing of web pages.
It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory storing a computer program and a processor that when executing the computer program performs the steps of:
extracting a request link element from a webpage to be tested;
classifying the request link elements according to a preset request classification rule to obtain classified request link elements;
inquiring a preset business rule corresponding to the webpage to be tested, generating a corresponding test case according to the business rule and the classified request link element, and establishing a test case list according to the test case;
extracting a case to be tested from a test case list according to preset webpage test requirements, and carrying out automatic test on the case to be tested according to the webpage test requirements to obtain a webpage test result.
In one embodiment, the processor when executing the computer program further performs the steps of: determining a website to be tested, and extracting each business page from the website to be tested; according to the service function type of the service page, importing the service page into a preset website page list; and receiving the webpage test message, extracting a corresponding service page from the website page list according to the webpage test message, and taking the extracted service page as a webpage to be tested.
In one embodiment, the request classification rules include flow module classification rules; the processor when executing the computer program also implements the steps of: determining a request service type of a request link element; determining a business flow module corresponding to the request link element according to the request business type; and combining the business flow module and the flow module classification rule, and classifying the request link elements by the flow module to obtain classified request link elements.
In one embodiment, the business rules include business processes and security class requirements; the processor when executing the computer program also implements the steps of: determining a business flow and a security level requirement corresponding to the request business type from the business rule; generating a test case to be encrypted according to the service flow corresponding to the request service type and the classified request link elements; and encrypting the test cases to be encrypted according to the security requirements to obtain the test cases corresponding to the classified request link elements.
In one embodiment, the processor when executing the computer program further performs the steps of: inquiring a preset webpage test requirement, wherein the webpage test requirement comprises a case test sequence, hardware configuration resources and network configuration resources; extracting cases to be tested from the test case list according to the case test sequence; and under the test conditions of the hardware configuration resources and the network configuration resources, executing the case to be tested to perform automatic test, and obtaining a webpage test result.
In one embodiment, the processor when executing the computer program further performs the steps of: constructing a case generation element according to the business rule and the request link element; when the case generating element is detected to be updated, acquiring the updated case generating element; generating a corresponding updated test case according to the updated case generation element; the updated test cases are imported into the test case list and replaced with the updated test cases.
In one embodiment, the processor when executing the computer program further performs the steps of: performing index classification on the webpage test results according to the test index categories to obtain classified webpage test results; inquiring an index priority form corresponding to the test index category, and determining the priority level corresponding to the classified webpage test result according to the index priority form; and sorting the classified webpage test results according to the priority level to obtain a webpage test report.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
extracting a request link element from a webpage to be tested;
classifying the request link elements according to a preset request classification rule to obtain classified request link elements;
inquiring a preset business rule corresponding to the webpage to be tested, generating a corresponding test case according to the business rule and the classified request link element, and establishing a test case list according to the test case;
extracting a case to be tested from a test case list according to preset webpage test requirements, and carrying out automatic test on the case to be tested according to the webpage test requirements to obtain a webpage test result.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining a website to be tested, and extracting each business page from the website to be tested; according to the service function type of the service page, importing the service page into a preset website page list; and receiving the webpage test message, extracting a corresponding service page from the website page list according to the webpage test message, and taking the extracted service page as a webpage to be tested.
In one embodiment, the request classification rules include flow module classification rules; the computer program when executed by the processor also performs the steps of: determining a request service type of a request link element; determining a business flow module corresponding to the request link element according to the request business type; and combining the business flow module and the flow module classification rule, and classifying the request link elements by the flow module to obtain classified request link elements.
In one embodiment, the business rules include business processes and security class requirements; the computer program when executed by the processor also performs the steps of: determining a business flow and a security level requirement corresponding to the request business type from the business rule; generating a test case to be encrypted according to the service flow corresponding to the request service type and the classified request link elements; and encrypting the test cases to be encrypted according to the security requirements to obtain the test cases corresponding to the classified request link elements.
In one embodiment, the computer program when executed by the processor further performs the steps of: inquiring a preset webpage test requirement, wherein the webpage test requirement comprises a case test sequence, hardware configuration resources and network configuration resources; extracting cases to be tested from the test case list according to the case test sequence; and under the test conditions of the hardware configuration resources and the network configuration resources, executing the case to be tested to perform automatic test, and obtaining a webpage test result.
In one embodiment, the computer program when executed by the processor further performs the steps of: constructing a case generation element according to the business rule and the request link element; when the case generating element is detected to be updated, acquiring the updated case generating element; generating a corresponding updated test case according to the updated case generation element; the updated test cases are imported into the test case list and replaced with the updated test cases.
In one embodiment, the computer program when executed by the processor further performs the steps of: performing index classification on the webpage test results according to the test index categories to obtain classified webpage test results; inquiring an index priority form corresponding to the test index category, and determining the priority level corresponding to the classified webpage test result according to the index priority form; and sorting the classified webpage test results according to the priority level to obtain a webpage test report.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A method of automated testing of web pages, the method comprising:
extracting a request link element from a webpage to be tested;
determining a request service type of the request link element;
determining a business flow module corresponding to the request link element according to the request business type;
combining the business flow module with a preset flow module classification rule, and classifying the request link element by the flow module to obtain a classified request link element;
Inquiring a preset business rule corresponding to the webpage to be tested, wherein the business rule comprises a business process and a security class requirement;
determining a service flow and a security class requirement corresponding to the request service type from the service rule;
generating a test case to be encrypted according to the service flow corresponding to the request service type and the classified request link element;
encrypting the test case to be encrypted according to the security level requirement to obtain a test case corresponding to the classified request link element, and establishing a test case list according to the test case;
extracting a case to be tested from the test case list according to a preset webpage test requirement, and carrying out automatic test on the case to be tested according to the webpage test requirement to obtain a webpage test result.
2. The method of claim 1, further comprising, prior to the step of extracting the requested link element from the web page to be tested:
determining a website to be tested, and extracting each business page from the website to be tested;
importing the service page into a preset website page list according to the service function type of the service page;
And receiving a webpage test message, extracting the corresponding service page from the website page list according to the webpage test message, and taking the extracted service page as the webpage to be tested.
3. The method of claim 1, wherein the request link element comprises at least one type of web page element of text, picture, audio, animation, or video.
4. The method of claim 1, wherein the request link element is crawled from the web page to be tested based on a crawler technique.
5. The method of claim 1, wherein the step of extracting the case to be tested from the test case list according to a preset web page test requirement, and performing an automated test on the case to be tested according to the web page test requirement, to obtain a web page test result comprises:
inquiring a preset webpage test requirement, wherein the webpage test requirement comprises a case test sequence, hardware configuration resources and network configuration resources;
extracting cases to be tested from the test case list according to the case test sequence;
and under the test conditions of the hardware configuration resources and the network configuration resources, executing the to-be-tested case to perform automatic test, and obtaining a webpage test result.
6. The method of any one of claims 1 to 5, further comprising, after the step of creating a test case list from the test cases:
constructing a case generation element according to the business rule and the request link element;
when the case generating element is detected to be updated, acquiring the updated case generating element;
generating a corresponding updated test case according to the updated case generation element;
and importing the updated test cases into the test case list, and replacing the updated test cases with the test cases.
7. The method of claim 6, further comprising, after the step of obtaining web page test results:
performing index classification on the webpage test results according to the test index category to obtain classified webpage test results;
inquiring an index priority form corresponding to the test index category, and determining a priority level corresponding to the classified webpage test result according to the index priority form;
and sorting the classified webpage test results according to the priority level to obtain a webpage test report.
8. A web page automation test device, the device comprising:
the link element acquisition module is used for extracting a request link element from the webpage to be tested;
the link element classification module is used for determining the request service type of the request link element; determining a business flow module corresponding to the request link element according to the request business type; combining the business flow module with a preset flow module classification rule, and classifying the request link element by the flow module to obtain a classified request link element;
the test case generation module is used for inquiring a preset business rule corresponding to the webpage to be tested, wherein the business rule comprises a business process and a security level requirement; determining a service flow and a security class requirement corresponding to the request service type from the service rule; generating a test case to be encrypted according to the service flow corresponding to the request service type and the classified request link element; encrypting the test case to be encrypted according to the security level requirement to obtain a test case corresponding to the classified request link element, and establishing a test case list according to the test case;
The automatic test module is used for extracting a to-be-tested case from the test case list according to a preset webpage test requirement, and carrying out automatic test on the to-be-tested case according to the webpage test requirement to obtain a webpage test result.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN201811210760.XA 2018-10-17 2018-10-17 Webpage automatic testing method and device, computer equipment and storage medium Active CN109542764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811210760.XA CN109542764B (en) 2018-10-17 2018-10-17 Webpage automatic testing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811210760.XA CN109542764B (en) 2018-10-17 2018-10-17 Webpage automatic testing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109542764A CN109542764A (en) 2019-03-29
CN109542764B true CN109542764B (en) 2023-08-18

Family

ID=65844370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811210760.XA Active CN109542764B (en) 2018-10-17 2018-10-17 Webpage automatic testing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109542764B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162459A (en) * 2019-04-15 2019-08-23 深圳壹账通智能科技有限公司 Test cases generation method, device and computer readable storage medium
CN112199296B (en) * 2020-10-29 2022-09-23 腾讯科技(深圳)有限公司 Page testing method and device, computer equipment and storage medium
CN113434405B (en) * 2021-06-24 2023-06-13 青岛海尔科技有限公司 Method and device for determining test file, storage medium and electronic device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377759A (en) * 2008-08-26 2009-03-04 中国工商银行股份有限公司 Automatic interface test system
CN103853654A (en) * 2012-11-30 2014-06-11 国际商业机器公司 Method and device for selecting webpage testing paths
CN104023025A (en) * 2014-06-13 2014-09-03 中国民航信息网络股份有限公司 Website security vulnerability detection method and device based on service rules
CN105988920A (en) * 2015-02-04 2016-10-05 阿里巴巴集团控股有限公司 Test case generating method and device based on data sets
CN106294107A (en) * 2015-05-27 2017-01-04 富士通株式会社 The method and apparatus generating the test case of Webpage
EP3113016A1 (en) * 2015-06-29 2017-01-04 itemis AG Tracing dependencies between development artifacts in a development project
CN107122301A (en) * 2017-04-27 2017-09-01 武汉斗鱼网络科技有限公司 Interface detection method and device
CN108595324A (en) * 2018-04-09 2018-09-28 中国银行股份有限公司 Test cases reuse management method and system
CN108614770A (en) * 2018-04-09 2018-10-02 中国工商银行股份有限公司 Automatic test asserts method, apparatus, storage medium and equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101377759A (en) * 2008-08-26 2009-03-04 中国工商银行股份有限公司 Automatic interface test system
CN103853654A (en) * 2012-11-30 2014-06-11 国际商业机器公司 Method and device for selecting webpage testing paths
CN104023025A (en) * 2014-06-13 2014-09-03 中国民航信息网络股份有限公司 Website security vulnerability detection method and device based on service rules
CN105988920A (en) * 2015-02-04 2016-10-05 阿里巴巴集团控股有限公司 Test case generating method and device based on data sets
CN106294107A (en) * 2015-05-27 2017-01-04 富士通株式会社 The method and apparatus generating the test case of Webpage
EP3113016A1 (en) * 2015-06-29 2017-01-04 itemis AG Tracing dependencies between development artifacts in a development project
CN107122301A (en) * 2017-04-27 2017-09-01 武汉斗鱼网络科技有限公司 Interface detection method and device
CN108595324A (en) * 2018-04-09 2018-09-28 中国银行股份有限公司 Test cases reuse management method and system
CN108614770A (en) * 2018-04-09 2018-10-02 中国工商银行股份有限公司 Automatic test asserts method, apparatus, storage medium and equipment

Also Published As

Publication number Publication date
CN109542764A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN109446068B (en) Interface test method, device, computer equipment and storage medium
US11893137B2 (en) Secure multi-client data analysis
US10769228B2 (en) Systems and methods for web analytics testing and web development
CN110209652B (en) Data table migration method, device, computer equipment and storage medium
US20140310691A1 (en) Method and device for testing multiple versions
CN112491602B (en) Behavior data monitoring method and device, computer equipment and medium
CN106878108B (en) Network flow playback test method and device
CN109542764B (en) Webpage automatic testing method and device, computer equipment and storage medium
CN110674360B (en) Tracing method and system for data
CN116662987A (en) Service system monitoring method, device, computer equipment and storage medium
CN116776390A (en) Method, device, storage medium and equipment for monitoring data leakage behavior
CN116661936A (en) Page data processing method and device, computer equipment and storage medium
CN116860311A (en) Script analysis method, script analysis device, computer equipment and storage medium
CN115827122A (en) Operation guiding method and device, electronic equipment and storage medium
CN115145674A (en) Page jump method, device, equipment and medium based on dynamic anchor point
CN114301713A (en) Risk access detection model training method, risk access detection method and risk access detection device
CN111259050A (en) User operation track recording method and device, computer equipment and storage medium
CN111782967A (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
CN117574184B (en) Evidence merging processing method and device
CN117407420A (en) Data construction method, device, computer equipment and storage medium
CN116049508A (en) Test element information generation method, device, equipment and storage medium
CN116821499A (en) Information display method and device, electronic equipment and computer readable storage medium
CN114254621A (en) Document auditing method and device, electronic equipment and storage medium
CN117271486A (en) Data reporting method, device, equipment and storage medium based on artificial intelligence
CN115470256A (en) System and method for managing, tracing and checking trace data

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