postman 使用手册之内置动态变量 2

资料库

变量名 描述 例子
$randomDatabaseColumn 随机数据库列名称 updatedAt token group
$randomDatabaseType 随机数据库类型 tinyint text
$randomDatabaseCollation 随机数据库整理 cp1250_bin utf8_general_ci cp1250_general_ci
$randomDatabaseEngine 随机数据库引擎 MyISAM InnoDB Memory

日期

变量名 描述 例子
$randomDateFuture 未来的随机日期时间 Tue Mar 17 2020 13:11:50 GMT+0530 (India Standard Time)
Fri Sep 20 2019 23:51:18 GMT+0530 (India Standard Time)
Thu Nov 07 2019 19:20:06 GMT+0530 (India Standard Time)
$randomDatePast 随机过去的日期时间 Sat Mar 02 2019 09:09:26 GMT+0530 (India Standard Time)
Sat Feb 02 2019 00:12:17 GMT+0530 (India Standard Time)
Thu Jun 13 2019 03:08:43 GMT+0530 (India Standard Time)
$randomDateRecent 最近的随机日期时间 Tue Jul 09 2019 23:12:37 GMT+0530 (India Standard Time)
Wed Jul 10 2019 15:27:11 GMT+0530 (India Standard Time)
Wed Jul 10 2019 01:28:31 GMT+0530 (India Standard Time)
$randomWeekday 随机工作日 Thursday Friday Monday
$randomMonth 随机月份 February May January

域,电子邮件和用户名

变量名 描述 例子
$randomDomainName 随机域名 gracie.biz armando.biz trevor.info
$randomDomainSuffix 随机域后缀 org net com
$randomDomainWord 随机的不合格域名 gwen jaden donnell
$randomEmail 随机电子邮件地址 Pablo62@gmail.com Ruthe42@hotmail.com Iva.Kovacek61@hotmail.com
$randomExampleEmail 来自“示例”域的随机电子邮件地址 Talon28@example.com Quinten_Kerluke45@example.net Casey81@example.net
$randomUserName 随机用户名 Jarrell.Gutkowski Lottie.Smitham24 Alia99
$randomUrl 随机网址 https://anais.net https://tristin.net http://jakob.name

文件和目录

变量名 描述 例子
$randomFileName 随机文件名(包括不常见的扩展名) neural_sri_lanka_rupee_gloves.gdoc
plastic_awesome_garden.tif
incredible_ivory_agent.lzh
$randomFileType 随机文件类型(包括不常见的文件类型) model application video
$randomFileExt 随机文件扩展名(包括不常见的扩展名) war book fsc
$randomCommonFileName 随机文件名 well_modulated.mpg4
rustic_plastic_tuna.gif
checking_account_end_to_end_robust.wav
$randomCommonFileType 随机的常见文件类型 application audio
$randomCommonFileExt 随机的通用文件扩展名 m2v wav png
$randomFilePath 随机文件路径 /home/programming_chicken.cpio
/usr/obj/fresh_bandwidth_monitored_beauty.onetoc
/dev/css_rustic.pm
$randomDirectoryPath 随机目录路径 /usr/bin /root /usr/local/bin
$randomMimeType 随机MIME类型 audio/vnd.vmx.cvsd
application/vnd.groove-identity-message
application/vnd.oasis.opendocument.graphics-template

专卖店

变量名 描述 例子
$randomPrice 100.00至999.00之间的随机价格 531.55 488.76 511.56
$randomProduct 随机产品 Towels Pizza Pants
$randomProductAdjective 随机产品形容词 Unbranded Incredible Tasty
$randomProductMaterial 随机产品材料 Steel Plastic Frozen
$randomProductName 随机产品名称 Handmade Concrete Tuna Refined Rubber Hat
$randomDepartment 随机贸易类别 Tools Movies Electronics
变量名 描述 例子
$randomNoun 随机名词 matrix bus bandwidth
$randomVerb 随机动词 parse quantify navigate
$randomIngverb 以“ -ing”结尾的随机动词 synthesizing navigating backing up
$randomAdjective 随机形容词 auxiliary multi-byte back-end
$randomWord 随机词 withdrawal infrastructures IB
$randomWords 一些随机的单词 Samoa Synergistic sticky copying Grocery
Corporate Springs
Christmas Island Ghana Quality
$randomPhrase 随机短语 You can't program the monitor without navigating the mobile XML program!
overriding the capacitor won't do anything, we need to compress the optical SMS transmitter!
I'll generate the virtual AI program, that should microchip the RAM monitor!

评论区 (0)

没有记录
支持 markdown,图片截图粘贴拖拽都可以自动上传。