Forum Discussion
AutUser
16 years agoOccasional Contributor
Hello,
Thanks for asking.
When I browse thru the Rest Server (looks like a Web page actually),
I'm been asked to authenticate myself,and a popup screen displays asking for
the corresponding username and password.
After that, I get immediate access to the web pages and can navigate thru them.
When I try the same from SoapUI using Groovy, I get the following:
Exception thrown: Server returned HTTP response code: 401 for URL: http://domain.mycompany.com:8085/v1/years/
java.io.IOException: Server returned HTTP response code: 401 for URL: http://domain.mycompany.com:8085/v1/years/
Don't know if this info is enough to get my self understood.
If I put my username and passord on the URL command as follows:
URL url = new URL("http://user:pwd@domain.mycompany.com:8085/v1/years/");
I get exactly the same error message:
Exception thrown: Server returned HTTP response code: 401 for URL: http://user:pwd@domain.mycompany.com:8085/v1/years/
java.io.IOException: Server returned HTTP response code: 401 for URL: http://user:pwd@domain.mycompany.com:8085/v1/years/
Thanks in advance,
Igor
Thanks for asking.
When I browse thru the Rest Server (looks like a Web page actually),
I'm been asked to authenticate myself,and a popup screen displays asking for
the corresponding username and password.
After that, I get immediate access to the web pages and can navigate thru them.
When I try the same from SoapUI using Groovy, I get the following:
Exception thrown: Server returned HTTP response code: 401 for URL: http://domain.mycompany.com:8085/v1/years/
java.io.IOException: Server returned HTTP response code: 401 for URL: http://domain.mycompany.com:8085/v1/years/
Don't know if this info is enough to get my self understood.
If I put my username and passord on the URL command as follows:
URL url = new URL("http://user:pwd@domain.mycompany.com:8085/v1/years/");
I get exactly the same error message:
Exception thrown: Server returned HTTP response code: 401 for URL: http://user:pwd@domain.mycompany.com:8085/v1/years/
java.io.IOException: Server returned HTTP response code: 401 for URL: http://user:pwd@domain.mycompany.com:8085/v1/years/
Thanks in advance,
Igor
Related Content
- 5 years ago
- 8 years ago
Recent Discussions
- 15 years ago