Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

Kerberos Authentification username looks like not used

$
0
0

Hello,

 

I have a soapui project which i am trying to run using the testrunner from the command line.

This is my command : 

 

testrunner.bat -ehttps://dev.middlegate.gin.merck.com:9999 -sSanityCheck -ukefi  -r -a -j -fC:\Users\kefi\Desktop\MGResults C:\Users\kefi\Desktop\MGAutomation\SanityCheck.xml

 

when i execute the command above all my test requests are failling with 401 Unauthorized, so it looks like the authentification was not challenged and the username is not used during the execution.

 


---------------- Request ---------------------------
Host: [dev.middlegate.gin.merck.com:9999]
Accept-Encoding: [gzip,deflate]
User-Agent: [Apache-HttpClient/4.1.1 (java 1.5)]
Connection: [Keep-Alive]

GET https://dev.middlegate.gin.merck.com:9999/v1/bricks/schema?sourceUri=jdbc%3A
postgresql%3A%2F%2F54.40.29.151%3A5432%2Fmiddlegate_test&table=cars&user=middleg
ate&password=test HTTP/1.1
Accept-Encoding: gzip,deflate
Host: dev.middlegate.gin.merck.com:9999
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)


---------------- Response --------------------------
WWW-Authenticate: [Negotiate]
Date: [Tue, 14 Jul 2015 09:21:06 GMT]
#status#: [HTTP/1.1 401 Unauthorized]
Content-Length: [26]
Content-Type: [text/html; charset=ISO-8859-1]
Server: [Jetty(9.2.2.v20140723)]
Cache-Control: [must-revalidate,no-cache,no-store]

{"message":"Unauthorized"}
Valid HTTP Status Codes in [CreateDataset] failed;
[Response status code:401 is not in acceptable list of status codes]
Status: FAILED
Time Taken: 517
Size: 26
Timestamp: Tue Jul 14 11:18:11 CEST 2015
TestStep: CreateDataset

----------------- Messages ------------------------------
[Valid HTTP Status Codes] Response status code:401 is not in acceptable list of
status codes

 

 

When i run the same project directly from soapui it works properly.

The username for the kerberos authentification is specified for each test step in my project.

 

Any idea why the username and the authentification seetings are ignored?

 

Thaks in advance

 

Rafik

 

 

 

 


Viewing all articles
Browse latest Browse all 20755

Trending Articles