Forum Discussion

technigirl74's avatar
technigirl74
Occasional Contributor
7 years ago

Getting URIException: Invalid Query but HTTP query is correct

Hi,

 

I have a very simple URI call which cannot be run in SoapUI because a Java error is returned.  The call (as shown in the raw request area) is simply:

GET https://melissa.lcm2.c7ks7s.com/ HTTP/1.1
Accept-Encoding: gzip,deflate

 

However SoapUI will not return the response and shows a Java error when I hit Send:

Mon Nov 05 12:13:00 CST 2018: ERROR: org.apache.commons.httpclient.URIException: Invalid query

 

Meanwhile, running the same query via CURL works just fine.  Also, the HTTP log within SoapUI shows that the query was sent and correct response received (see copy and paste below).

 

My question is, why is the SoapUI request editor erroring out and not showing the response?  I need to grab a few of the parameters that are returned in the response and parameterize them.  Is there a way to get around this issue?

 

Mon Nov 05 12:13:00 CST 2018: DEBUG: http-outgoing >>
GET / HTTP/1.1
referer: https://lcm-c7ks7s.auth.us-west-2.amazoncognito.com/login?client_id=673ufjii204p53c89lt92ht19c&redirect_uri=https%3A%2F%2Fmelissa.lcm2.c7ks7s.com%2Foauth2%2Fidpresponse&response_type=code&scope=openid%20profile&state=YNr7F0hyS%2FRqMUiTZyri1lmB4VdtpydZEOtM667hl%2FrOXo6itLyUf%2FsycZ52YqNr7dAqBHM%2Bx4Nmp53vrwdu0wYnwF6JQ%2FtcJRQ6hU8x4gPHn8Xt0FShFJVPt%2BA28XXZ36u%2BdC35RJhDHpzy6hg3Mr9n8%2BsTXLZFbML5mcg2jq%2FuqFV9plI2dMF0T9adCplmCDmT4runwM%2B3
accept-language: en-US,en;q=0.9
cookie:
pragma: no-cache
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
:method: GET
:scheme: https
upgrade-insecure-requests: 1
:path: /
cache-control: no-cache
:authority: melissa.lcm2.c7ks7s.com
accept-encoding: gzip, deflate, br
user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36
Content-Length: 0
Host: melissa.lcm2.c7ks7s.com
Connection: Keep-Alive

 

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    SmartBear Alumni (Retired)

    Hi technigirl74,

     

    I see that you have already opened a Support case about this issue. Let's continue working in the corresponding Support case.