51Testing软件测试论坛
标题:
lr录制脚本中body键值对怎么参数化
[打印本页]
作者:
可爱的光头丫头
时间:
2019-5-29 14:58
标题:
lr录制脚本中body键值对怎么参数化
"Body={\"body\":{\"option\":\"saveInsertevent\",\"event_alarm\":\"{event_alarm}\",\"event_id\":\"{event_id}\",\"app_name\":\"BCS\",\"device_name\":\"{device_name}\",\"alarmType\":\"HOST\",\"event_summarycn\":\"CPUalarm\",\"event_man\":\"user123\",\"event_manid\":\"user123\",\"event_status1\":\"0\",\"active_since1\":\"{active_since1}\",\"active_endTime1\":\"{active_endTime1}\",\"event_number\":\"1\"},\"header\":{\"txcode\":\"undeal\",\"actionId\":\"doUnDeal\"}}",
用如上方式参数化,不行
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2