You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Derek Xiao <13...@qq.com> on 2017/08/27 04:00:11 UTC

回复:malformed url exception

May be Comma separated, you can try to add an integral quotation marks, and then escape the quotation marks inside




------------------ 原始邮件 ------------------
发件人: "Lekshmi Prakash"<le...@gmail.com>; 
发送时间: 2017年8月27日(星期天) 上午9:29
收件人: "user"<us...@jmeter.apache.org>; 
主题: malformed url exception



I have an HTTP request with below url

https://
<servername>/perfmultiple/v1/logs?$filter=${__urlencode({"$and":[{"endTime":{"$gt":"ISODate(2017-02-21T13:53:56.861Z)"}},{"command":"Alibaba"}]})}

I am getting a malformed url exception .

But if I send request with below url it works.There is only one value in
the json array

https://
<servername>/perfmultiple/v1/logs?$filter=${__urlencode({"$and":[{"endTime":{"$gt":"ISODate(2017-02-21T13:53:56.861Z)"}}]})}

How do I handle the scenario when the json array has more than one value?