当前位置:网站首页>Process test supports batch parameter import, and the test efficiency is directly full!

Process test supports batch parameter import, and the test efficiency is directly full!

2022-06-10 00:14:00 InfoQ


null
Hello everyone ,
Apipost
It's updated again , This update not only enhances the stability , A super practical function has been launched :
excel Batch import request parameters
. With this function, the test efficiency is directly pulled to full , For testers, it's like adding wings to the tiger .

01

Apipost Process testing supports external import files to realize parameterization

Following “ People's blood book ” Added websocket After testing the function , Again, the focus is on
Process testing supports external import files to realize parameterization
. At present, we support csv,json,txt Three forms of import , It is very convenient to import process test data for testing .

02

Pain points in the process test scenario

As a tester , The hardest stage is probably the interface test execution stage , For an interface , There are a lot of test data that need batch verification , Changing request parameters one by one is too time-consuming and labor-consuming , Using parameterized batch processing of data can save a lot of time , Effectively improve work efficiency .

03

Operation guide for batch import parameters of data files

Now let's introduce in detail how to pass
Apipost
Realize the parametric import and verification of interface data .

1.APIS Set variables in


null

2. In the data file you want to test , Add the value corresponding to the variable you want to test

Each data file can contain multiple parameters , Interface runtime , Where variables are referenced in the interface , Will read the corresponding value in the file .

null

3. Open test data , appear “ Select File ” Upload the entrance


null

4. Click on “ Select File ”, Select the file you want to import txt/csv/json file


null
\

null
\

5. You can preview the selected file


null
\

null
\

6. View request


null
\

null

04

Update log

  • newly added   Process test support excel Batch import test case parameters
  • Optimize   Web cloud proxy and desktop proxy
  • Repair  5.4.2 Version and earlier versions fail to upgrade to the latest version
  • Repair   Some interface requests return garbled code
  • Repair  JS Scripted Long Type data accuracy is lost
  • Repair   Interface document export markdown Data exception problem
  • Repair   Import apizza Data time body Parameter description import failed
\
Of course , We are also optimizing product interaction experience and developing new functions , such as : Performance test, etc , Will slowly iterate into the product . It will bring you more surprises soon , I can look forward to it ~
The official link :
[
Apipost- Based on collaboration , More than API file 、 debugging 、Mock
Want to know more about the functions related to the use of the product , Welcome to visit
「 Visit the official website 」
author :Yd
link :https://juejin.cn/post/7105296789145649159
source : Rare earth digs gold
The copyright belongs to the author . Commercial reprint please contact the author for authorization , Non-commercial reprint please indicate the source .
原网站

版权声明
本文为[InfoQ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/160/202206092239524943.html