Hi, Even i am facing the same problem. In the response data,i have a value 'net+work'.I am using regular expression extractot and getting the value in the variable var1. When i use this variable in my next request, it is getting replaced as 'net%2Bwork' . When i analzed, %2B is the ascii value for the '+'. (refer: http://web.cs.dal.ca/~jamie/cs4173/examples/XHTML/entities/ASCII.html ) Similarly '/' is replaced as '%2F' and '=' as %3D. I used bean shell sampler to replace '%2B' with + and i put the new value in a variable var_new. When i used this var_new as input to another request, Its again replacing with '%2B' Its a show stopper issue for me to proceed further. Can any one please come with a solution for this.
Regards, Sharmila R On Thu, Aug 23, 2012 at 9:29 AM, Adrian Speteanu <[email protected]>wrote: > Hi, > > JMeter does not support it, but java has methods: > > http://stackoverflow.com/questions/2126378/java-convert-string-uffff-into-char > (I didn't have time to get into details, but I'm sure you'll find the best > way, the above is just an example) > > > So, back to your problem, use a beanshell pre-processor to deal with the > conversion. > > --Adrian S > > On Thu, Aug 23, 2012 at 4:09 PM, Sambhav Rathore < > [email protected]> wrote: > > > Hi All, > > For testing purpose, we are required to capture a variable from server > > side, which we are capturing using Post Processor Regular Expression > > Extractor. It is in the format abcde123838fgh*z5bB7Wg. The part > > <*> is the Unicode for * sign. I need to convert this part of > captured > > variable into * for all occurences. I cannot find a method to do that as > > Jmeter does not support Unicode. Kindly help if anyone knows how to > handle > > this problem. > > > > Thanks In Advance, > > Sambhav > > > > > > **************** CAUTION - Disclaimer ***************** > > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > > solely > > for the use of the addressee(s). If you are not the intended recipient, > > please > > notify the sender by e-mail and delete the original message. Further, you > > are not > > to copy, disclose, or distribute this e-mail or its contents to any other > > person and > > any such actions are unlawful. This e-mail may contain viruses. Infosys > > has taken > > every reasonable precaution to minimize this risk, but is not liable for > > any damage > > you may sustain as a result of any virus in this e-mail. You should carry > > out your > > own virus checks before opening the e-mail or attachment. Infosys > reserves > > the > > right to monitor and review the content of all messages sent to or from > > this e-mail > > address. Messages sent to or from this e-mail address may be stored on > the > > Infosys e-mail system. > > ***INFOSYS******** End of Disclaimer ********INFOSYS*** > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > >
