cancel
Showing results for 
Search instead for 
Did you mean: 

SoapUI NG: JDBC TestStep: Results in text format from a table field are trimmed?

New Contributor

SoapUI NG: JDBC TestStep: Results in text format from a table field are trimmed?

Hello!

 

The text of certain table-columns in the JDBCRequest TestStep ResultSet XML are trimmed. Is there a way to prevent this?

 

The JSON response from the same column has the trailing whitespace but the JDBCRequestTestStep text does not have.

 

E.g.:

 

Database text: "10010 Chocolate Factory Street " -- note the training whitespace

JDBC Result text: "10010 Chocolate Factory Street" -- note the training whitespace has been trimmed by ReadyAPI/SoapUI NG

JSON Response text: "10010 Chocolate Factory Street " -- note the training whitespace is still present

 

This is messing up with my validation. Any advise? TIA.

1 REPLY 1
Moderator

Re: SoapUI NG: JDBC TestStep: Results in text format from a table field are trimmed?

As far as I know, our R&D team has plans for providing in the upcoming Ready! API release the "Pretty print" property for the JDBC Request Test Step, which allows controlling the described behavior.

Natalie
Customer Care Team

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors