背景: 公交调度系统中多个业务都需要用到billcode值。其值等于当前日期+随机数。 故自定义一个函数用于billcode值生成。 第一步:复制timeFunction.java做为MyBillcode的代码模板 第二步:更改KEY的名称
第三步:重构execute方法。只处理if (format.length() == 0){}情况,其他条件全部删掉
Jmeter自定义函数_myBillcode加密
原文:https://www.cnblogs.com/hisweety/p/13291900.html