Hi No I mean what are you doing in the sampler - This is a variable /literal string ? You are using a POST request and this string goes into value? Encode is on/off ?
On Tue, Aug 9, 2016 at 11:11 AM, pintu.nipu das <[email protected]> wrote: > Hi , > > Thanks for the reply. It is a very big json post request for one of the > apexremote call. As Jmeter is omitting only when the request json is having > 3 "\" and processing when it is one. > > Because Jmeter is omitting the "\", the request is no longer a json (I have > verified the same using json formatter). > > Thanks! > > > > > On Tue, Aug 9, 2016 at 8:53 PM, Deepak Shetty <[email protected]> wrote: > > > 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 < > [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! > > > > > >
