Am 9. August 2016 19:53:10 MESZ, schrieb Deepak Shetty <[email protected]>:
>Hi
>what does your sampler look like ?
>I tried with a normal HTTP sampler with this value in POST and it didnt
>drop any \ (%5c is the encoding for \) -
>
>POST data:
>test=+%3Cdiv+id%3D*%5C%5C%5C*%22CalloutProgress*%5C%5C%5C*%22+style%3D*%5C%5C%5C*%22display%3A+none*%3B%5C%5C%5C*%22%3E%3C%2Fdiv%3E
If you try it in combination with a double quote and a var, it will be dropped.
For example
\\\"${foo}
I haven't looked further into this issue. I believe it is a bug.
Regards,
Felix
>
>
>
>On Tue, Aug 9, 2016 at 2:22 AM, pintu.nipu das
><[email protected]>
>wrote:
>
>> Hi,
>>
>> When sending the callout progress div to server, jmeter is removing
>one "\"
>> in json requests. Details given below.
>>
>> * Request while recording in Jmeter :*
>>
>> <div id=*\\\*"CalloutProgress*\\\*" style=*\\\*"display:
>none*;\\\*"></div>
>>
>>
>> *Request while sending to server:*
>> <div id=\\"CalloutProgress*\\*" style=*\\*"display: none;*\\*"></div>
>>
>> So Jmeter is omitting one "*\*" when sending the to sever when in
>the json
>> request there is three "*\\\*". Because of this the server is not
>> recognizing it and sending *500* error and not processing.
>>
>>
>> But when there is only one "*\*" in the request,jmeter is processing
>as it
>> is without omitting anything.
>>
>> Is this a bug in Jmeter? Because other capturing tools are sending
>the
>> requests as it is.
>>
>> Thanks!
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]