【发布时间】:2018-05-10 10:07:19
【问题描述】:
/integration/live/rest/accessProfile?page=0&pageSize=10&sortBy=name&fieldList=name,id,date_created,date_modified,created_id,modified_id&filter=id%20not%20equal%20to%20%27200%27%20AND%20id% 20not%20equal%20to%20%27100%27%20AND%20id%20not%20equal%20to%20%27101%27%20AND%20id%20not%20equal%20to%20%27102%27%20AND%20id%20not% 20equal%20to%20%27103%27%20&getTotalRecordCo
我的代码是 * 参数 { page: '0', pageSize: '10',sortBy: 'name', fieldList: ['name','id', 'date_created', 'date_modified', 'created_id', 'modified_id'],filter : 'id%20not%20equal%20to%20%27200%27%20AND%20id%20not%20equal%20to%20%27100%27%20AND%20id%20not%20equal%20to%20%27101%27%20AND% 20id%20not%20equal%20to%20%27102%27%20AND%20id%20not%20equal%20to%20%27103%27%20',getTotalRecordCount:true }
和路径'/integration/live/rest/accessProfile'
当我运行测试用例时,路径没有在 REST 调用中正确替换
运行后发送到服务器的实际调用是
除了路径中的'fieldList'参数外,所有参数都被正确替换。
我正在寻找正确的语法来传递我的以下 REST 调用
/integration/live/rest/accessProfile?page=0&pageSize=10&sortBy=name&fieldList=name,id,date_created,date_modified,created_id,modified_id&filter=id%20not%20equal%20to%20%27200%27%20AND%20id% 20not%20equal%20to%20%27100%27%20AND%20id%20not%20equal%20to%20%27101%27%20AND%20id%20not%20equal%20to%20%27102%27%20AND%20id%20not% 20equal%20to%20%27103%27%20&getTotalRecordCount=true
【问题讨论】:
标签: karate