Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A sample generation method, device, equipment and medium for automated testing

An automated test and sample technology, applied in the field of information processing, can solve problems such as inability to effectively guarantee sample coverage and representativeness, weaken the role of testing, and lose

Active Publication Date: 2022-03-01
深圳市活力天汇科技股份有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method cannot effectively guarantee the coverage and representativeness of samples, thus losing or weakening the role of testing

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
  • A sample generation method, device, equipment and medium for automated testing
  • A sample generation method, device, equipment and medium for automated testing
  • A sample generation method, device, equipment and medium for automated testing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0024] In one embodiment, as figure 1 As shown, a sample generation method for automated testing is provided, wherein the sample for automated testing is an example of air ticket data testing, but not limited thereto; the sample generation method for automated testing includes the following steps:

[0025] S1: Acquire data sources based on user search behavior, where the data sources include route information with flight dates and airline companies; ai...

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 sample generation method, device, computer equipment and storage medium for automated testing. The method includes: acquiring data sources based on user search behaviors, wherein the data sources include flight routes with flight dates and airline companies Information; airlines include independent routes and shared routes; group data sources according to flight dates to obtain the first-level stratified sampling data; filter the first-level stratified sampling data according to their airlines to obtain the second-level stratification Sampling data; screen the second-level stratified sampling data with independent routes and common routes to obtain the third-level stratified sampling data; perform sample extraction on the third-level stratified sampling data through the first preset weighted random sampling method, Get a test case dataset based on user search behavior. The technical scheme of the invention can select sample data that can cover most scenarios, take into account the coverage and representativeness of the samples, adapt to the user's search behavior, and meet the test requirements.

Description

technical field [0001] The invention relates to the field of information processing, in particular to a sample generation method, device, computer equipment and storage medium for automatic testing. Background technique [0002] The automated testing of air ticket data is a very important test in the mobile terminal and interface testing of air ticket products. That is, as an important process of air ticket inquiry service, it refers to repeated and long-term operations over a long period of time, and checking whether the system is abnormal during the test, whether the app will crash during operation, etc.; and how to automatically Define whether it is a network cause or a system bug, and give measures whether human intervention is required. [0003] When testing on all flight data, due to the large number of routes, it would be too costly to conduct a full route test. Therefore, at present, sample selection is usually performed through simple sampling. However, this metho...

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/36G06F16/9537
CPCG06F11/3684G06F16/9537
Inventor 张迪李阳李尚锦
Owner 深圳市活力天汇科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products