可爱的光头丫头 发表于 2019-5-29 14:58:47

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\"}}",

用如上方式参数化,不行
页: [1]
查看完整版本: lr录制脚本中body键值对怎么参数化