当前位置:网站首页>How to generate random data for interface testing

How to generate random data for interface testing

2020-11-10 17:25:28 Xiaotai 6

In the interface test, you need to generate some random data for testing , I'll teach you how to use it today apipost Self contained mock Field variables generate random data for testing .

open apipost

In the lower left corner there is a built-in red font mock Field variables , Today we generate random data using this built-in mock Field variables .

 

Select the data type to be generated , Then you can quote it

 

 

Copy the names of these variables and paste them into the parameter values .

Click send to view the data results , You can see every time test The data is different .

This is about how to use apipost Random generation of test data operation .

Tool download address :

ApiPost - Directly generated documents API debugging 、 Management tools www.apipost.cn Icon

版权声明
本文为[Xiaotai 6]所创,转载请带上原文链接,感谢