An iterative testing method for web applications based on recording and replay

A testing method and web application technology, applied in the field of web application iterative testing based on recording and replay, can solve the problems of inferior automated testing software, time-consuming and labor-intensive purely manual testing, etc.

Active Publication Date: 2022-02-01
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a web application iterative testing method based on recording and replay, which is used to solve the problem in the prior art that automated testing software is not as accurate and comprehensive as manual testing, and pure manual testing is time-consuming and labor-intensive

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An iterative testing method for web applications based on recording and replay
  • An iterative testing method for web applications based on recording and replay
  • An iterative testing method for web applications based on recording and replay

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] combined with figure 1 As shown, an iterative testing method for web applications based on recording and replay, including:

[0030] Step S100: Develop a recording and replaying tool to record and replay functional testing, performance testing and safety testing, and the recording and replaying tools include functional testing recording and replaying tools, performance testing recording and replaying tools and safety testing recording and replaying tools tools, including:

[0031] The functional test record playback tool adopts the API recording provided by the browser and completes the playback;

[0032] The performance test record playback tool is used to record the configuration parameters in the performance test process, and then utilizes the stress test tool to bring the API to realize the test playback;

[0033] Described safety test record playback tool is used for recording test script, test tool and effective load payload used when vulnerability recurrence; ...

Embodiment 2

[0037] to combine figure 2 As shown, the workflow of the functional test record playback tool is specifically:

[0038] Open the tool for recording web page operations, and record all operations during the test;

[0039] Save the browser events of the test process to a file, and generate web page snapshots of each test point, which are used for comparison and verification of test results.

[0040] When performing function test recording and replay, it is necessary to open the web page operation recording tool. After the tool is opened, it can record all operations when testing a certain website function, and save the browser events during the test process to a file for convenience. Replay next time and generate web page snapshots of each test point, which will be used for comparison and verification of test results. During the function iteration process, each artificial iteration test will be recorded and merged into the previous record, ensuring that each test will cover a...

Embodiment 3

[0042] to combine image 3 As shown, the workflow of the performance test record replay tool is specifically:

[0043] Record the parameters and indicators of the configuration performance test;

[0044] The performance test automation execution tool completes the automated regression test and outputs the results.

[0045] Performance testing is different from functional testing. The test performance is tested through performance testing tools such as JMeter and LoadRunner. Therefore, it is only necessary to record the configuration parameters and related indicators of the performance testing process, and then pass the API or extension of performance testing such as JMeter and LoadRunner. Program to complete automated regression testing and output results.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a web application iterative testing method based on recording and playback, including: recording and playback of functional testing, performance testing and security testing: the functional testing recording and playback tool adopts the API provided by the browser to record and complete the playback ;The performance test record replay tool records the configuration parameters in the performance test process, and then uses the stress test tool and API to realize the test replay; the security test record replay tool records the test script, test tool and payload payload used when the vulnerability is reproduced ; Perform iterative testing and output the combined test results. In the solution of the present invention, automatic software tools for recording and replaying are used to replace testers to complete regression testing and modification verification tests, so that testers can focus on testing newly added parts. The core concept of this solution is how to use the automated tools of recording and replay to effectively combine with manual testing to efficiently and collaboratively complete testing tasks.

Description

technical field [0001] The invention relates to the technical field of automatic testing, in particular to an iterative testing method for web applications based on recording and replaying. Background technique [0002] With the continuous development and improvement of computer hardware and WEB technology, the amount of WEB applications that have been born is also huge. A large number of WEB applications have been developed and applied to all aspects of life and production. The entire life cycle plays a pivotal role, and the quality of the software depends entirely on it. Due to the complexity and variability of business logic and the continuous exploration and improvement of software development process methods, most software applications will adopt iterative development methods, followed by iterative and regression testing, which will be done once each iterative development is completed Iterative testing, testing the functions and security of the entire application, each...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3688
Inventor 朱家兴
Owner SICHUAN CHANGHONG ELECTRIC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products