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

How to generate random data for interface testing

2020-11-10 11:24:00 Test life path

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

image

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 .

image

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

image

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

image

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

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

Tool download address :https://www.apipost.cn

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