[Resolved] SoapUI 4.5 upgrade issue

soapUI pro announcements and discussions

[Resolved] SoapUI 4.5 upgrade issue

Postby CXin » 14 May 2012 10:17

I specified the username and password in service endpoints panel for each endpoint. The cases with the endpoints worked find in soapUI4.0

However after I upgraded to soapUI4.5, the cases are all failed.

I checked the response, it seems the authentication info is not passed over. Could anyone pls. help?

HTTP/1.0 401 Unauthorized
Date: Mon, 14 May 2012 09:16:22 GMT
Server: Apache-Coyote/1.1
Pragma: No-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 10:00:00 GMT
WWW-Authenticate: Digest realm="commonapi", qop="auth", nonce="1336986982877:83615b9e78cb624867226232e21a4814", opaque="6173F11201F47D9EF8580531C65ED8DD"
Content-Type: text/html;charset=utf-8
Set-Cookie: ROUTEID=.qa-qa1-002; path=/
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 378
X-Cache: MISS from qa-ops.corp.ebay.com
X-Cache-Lookup: MISS from qa-ops.corp.ebay.com:3128
Via: 1.0 api.qa1.gumtree.dev, 1.1 qa-ops.corp.ebay.com:3128 (squid/2.7.STABLE9)
Connection: close

<html><head><title>Apache Tomcat/6.0.35 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication ().</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.35</h3></body></html>
CXin
soapui pro users
soapui pro users
 
Posts: 82
Joined: 13 Dec 2010 09:35

Re: SoapUI 4.5 upgrade issue

Postby CXin » 15 May 2012 09:18

Does anyone please help?
CXin
soapui pro users
soapui pro users
 
Posts: 82
Joined: 13 Dec 2010 09:35

Re: SoapUI 4.5 upgrade issue

Postby SmartBear Support » 14 Jun 2012 10:04

Hi!

Sorry, but I'm a bit confused. Are you using a REST Service endpoint and applying the username and password settings on the Interface panel?
If so, try checking the Authenticate Preemptively checkbox in the Global preference -> HTTP Settings dialog

--
Regards

Erik
SmartBear Sweden
SmartBear Support
Administrator
Administrator
 
Posts: 6702
Joined: 16 Feb 2009 10:53

Re: SoapUI 4.5 upgrade issue

Postby CXin » 17 Jun 2012 04:58

Hi Erik,

The issue seems to happen on win7 64bit.
I had a mac upgrade to 4.5 but works fine.

We are testing REST API.
From the request, it doesn't respect it as a REST.
digest authentication doesn't work.

Sample:
GET http://ecg-api.kijiji.ca/api/ads/metadata/174 HTTP/1.1
Accept: application/xml
Authorization: Basic QWx2aW5hOkFsdmluYQ==
Accept-language: en-CA
CXin
soapui pro users
soapui pro users
 
Posts: 82
Joined: 13 Dec 2010 09:35

Re: SoapUI 4.5 upgrade issue

Postby CXin » 17 Jun 2012 05:00

resolved.
CXin
soapui pro users
soapui pro users
 
Posts: 82
Joined: 13 Dec 2010 09:35


Return to soapUI Pro Support