Ask a Question

SoapUIPro Java Integration

DLR
Senior Member

SoapUIPro Java Integration

Hello, I am having some trouble with the Java integration API provided by the ready-api-maven-plugin v2.4.0 with the same local version of ReadyAPI installed. 

 

Certain requests, no matter how they are encoded, are including an escaped return character "\r" on each line of the request body. i.e;

{\r
    "subject" : {\r
        "principals" : [\r
            {\r
                "name" : "username",\r

etc, etc.

 

These tests work fine while running in ReadyAPI, but when called from java they are including these characters. I am using the SoapUIProTestCaseRunner, and I am having no luck finding a solution for this.

 

If anyone has any advice please let me know!

2 REPLIES 2
NBorovykh
Moderator

Hi @DLR,

 

This sounds like an issue. Please open a support case and attach your project and your Java code snippet so that the Support team could intestigate it: https://support.smartbear.com/message/?prod=ReadyAPI 

 

Thank you!

 

Natalie
Customer Care Team

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
TNeuschwanger
Community Leader

Hello,

 

Something that might not be optimal but might be a work around is to not have the input request so "pretty".  Many JSON editors can switch between raw and pretty.  Maybe use an editor on the request JSON to get one line string  instead of individual lines broken by line-feed or carraige return characters that make it pretty.

cancel
Showing results for 
Search instead for 
Did you mean: