Eviware Forum

soapUI => soapUI => Topic started by: Christoph Schwarz on April 28, 2008, 07:55:02 am



Title: trim for values with spaces deletes the spaces
Post by: Christoph Schwarz on April 28, 2008, 07:55:02 am
i want to test the trim of spaces entered before and after the values (   password   ) to work correctly but when i save the projects and open them the next time soapui automatically deletes the spaces and i cant test correctly.

is there a possibility to disable this feature? or do i have to enter the values in a special way like escaped?

thanks
Christoph


Title: Re: trim for values with spaces deletes the spaces
Post by: omatzura on April 28, 2008, 09:08:37 am
Hi Chris,

is this in a standard XML request editor? Have you tried to turn off pretty-printing (Preferences\WSDL Settings)?

regards!

/Ole
eviware.com


Title: Re: trim for values with spaces deletes the spaces
Post by: Christoph Schwarz on April 28, 2008, 03:05:07 pm
Hi Ole,

i did a bit of investigation and it always happens when i have to do a refactor (which i had to do lately).
as far sa i could see it works when you just save the project and open it again as i had the pretty print turned off anyway.

Regards
Chris


Title: Re: trim for values with spaces deletes the spaces
Post by: omatzura on April 28, 2008, 09:07:11 pm
Hi Chris,

thanks for following up, we'll check the refactor-code to see if this can be fixed..

regards,

/Ole
eviware.com


Title: Re: trim for values with spaces deletes the spaces
Post by: Lars on May 06, 2008, 04:57:28 pm
Hi Chris,

This is probably caused by a pretty print that is performed by the refactoring code. I am creating an option to disable the pretty print. This will be available in the next build. Please let us know if this solves your problem.

Regards,
/Lars
eviware.com