jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Jmeter is omitting one "\" when sending to server
Date Tue, 09 Aug 2016 17:53:10 GMT
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



On Tue, Aug 9, 2016 at 2:22 AM, pintu.nipu das <007bhabanisankar@gmail.com>
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!
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message