当前位置:网站首页>Testers, how to prepare test data
Testers, how to prepare test data
2022-07-07 00:13:00 【Official account_ Growth path of Xiaobo test】
In daily testing work , Will you encounter similar problems ?
1、 For example, the page data is not enough , The page turning function cannot be tested
2、 Some functions of the page have not found the data that meets the requirements for the time being
3、 When doing data analysis , It takes a lot of data , However, the amount of data in the existing environment can not meet the demand
......
How to solve the problem of data ?
1)、 be based on GUI Construct test data
benefits :
1、 It's not just data , It's essentially an end-to-end test
2、 There are not too many skill requirements , Familiar with the page , It's OK to operate on the page
shortcoming :
1、 Creating data is inefficient
2、 Creating data depends on too much ( Depends on the background interface 、 Test environment and development support )
3、 be based on GUI The method of creating test data is not suitable to be encapsulated as a test data tool
4、 The cost of making data is high , Poor stability , Too dependent
2) adopt api call (python Of faker library ,jmeter Methods such as )
advantage :
1、 The data generated is reliable
2、 Efficient
3、 The script that constructs the data can be changed into an interface case
4、 Can skip the front desk , Independent of the front end
shortcoming :
1、 The cost of learning
2、 You need to sort out the interfaces
3、 There are individual businesses , You need to use some parameters other than the interface ( Some data may be transferred to the interface after front-end processing ), It's very troublesome to deal with
3) Through the database (sql) Generate test data
advantage :
1、 High efficiency
shortcoming
1、 It's very difficult to organize the relationship of database , Sort out all the corresponding information of a business sql It's not easy.
4) Based on the existing online business data, after desensitization, it is imported into the test environment
When it comes to big data testing , A lot of data is often needed to validate logic , At this time, we can consider desensitizing the online data , Synchronize to the database of the test environment , At the same time, it can avoid that the data constructed by itself is not comprehensive , Cause missing test .
5) Comprehensive use API And database
be based on GUI Operation generating test data is the most primitive method , But it's inefficient , And introduce unnecessary
rely on ; adopt API Call and database operation to generate test data is the current mainstream practice , adopt API transfer
This method has the characteristics of high data accuracy but low creation efficiency , But through the database way has the creation efficiency to be high
But the maintenance complexity is also high .

边栏推荐
- Why is bat still addicted to 996 when the four-day working system is being tried out in Britain?
- Typescript incremental compilation
- 一图看懂对程序员的误解:西方程序员眼中的中国程序员
- Devops can help reduce technology debt in ten ways
- DAY SIX
- PostgreSQL使用Pgpool-II实现读写分离+负载均衡
- Common modification commands of Oracle for tables
- Do you still have to rely on Simba to shout for a new business that is Kwai?
- GPIO简介
- okcc呼叫中心的订单管理时怎么样的
猜你喜欢

MATLIB reads data from excel table and draws function image

DAY THREE

2022 latest blind box mall complete open source operation source code / docking visa free payment interface / building tutorial

从外企离开,我才知道什么叫尊重跟合规…

自动化测试工具Katalon(Web)测试操作说明
![[2022 the finest in the whole network] how to test the interface test generally? Process and steps of interface test](/img/8d/b59cf466031f36eb50d4d06aa5fbe4.jpg)
[2022 the finest in the whole network] how to test the interface test generally? Process and steps of interface test

Basic chart interpretation of "Oriental selection" hot out of circle data

Clipboard management tool paste Chinese version

Designed for decision tree, the National University of Singapore and Tsinghua University jointly proposed a fast and safe federal learning system

Rider离线使用Nuget包的方法
随机推荐
Unity color palette | color palette | stepless color change function
智能运维应用之道,告别企业数字化转型危机
2022 PMP project management examination agile knowledge points (9)
Oracle EMCC 13.5 environment in docker every minute
为什么完全背包要用顺序遍历?简要解释一下
What is AVL tree?
[2022 the finest in the whole network] how to test the interface test generally? Process and steps of interface test
okcc呼叫中心的订单管理时怎么样的
Unity 颜色板|调色板|无级变色功能
How does win11 restore the traditional right-click menu? Win11 right click to change back to traditional mode
Automatic test tool katalon (WEB) test operation instructions
Use Yum or up2date to install the postgresql13.3 database
DAY THREE
Use source code compilation to install postgresql13.3 database
Sword finger offer 26 Substructure of tree
How to answer the dualistic opposition of Zhihu
Typescript incremental compilation
Liuyongxin report | microbiome data analysis and science communication (7:30 p.m.)
C language input / output stream and file operation [II]
Yaduo Sangu IPO