Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Unable to Connect to HP QC using the REST API

$
0
0

I have gone through the login logout example provided by HP (in ALM 11.52). How ever I am unable to use it to connect it to QC.

 

I know that I have missed some minor thing, but after spending quite an amount of time also, I am unable to figure it out.

 

I have attached my java code. Please check the attachments.

 

PFB the below error which I am getting:

 

Exception in thread "main" java.lang.NullPointerException
at com.HPALM.connection.using.RESTAPI.AuthenticateLoginLogoutExample.isAuthenticated(AuthenticateLoginLogoutExample.java:182)
at com.HPALM.connection.using.RESTAPI.AuthenticateLoginLogoutExample.authenticateLoginLogoutExample(AuthenticateLoginLogoutExample.java:49)
at com.HPALM.connection.using.RESTAPI.AuthenticateLoginLogoutExample.main(AuthenticateLoginLogoutExample.java:25)

 

 

I am quite new to REST API.

 

Any help would be highly appreciated.

 

Thanks.


Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>