Hi,
After upgrade our ALM installation from ALM 11.00 to 12.00 and downloaded the file "ALM12.00_REST_API_Reference.zip" (REST API Reference) from HP website.
When I try run the "ReadExample.java", this returns me always the error:
serverResponse: java.io.IOException: Server returned HTTP response code: 500 for URL: http://wdsqc012:8080/qcbin/rest/server
Exception in thread "main" java.lang.RuntimeException: failed obtaining response for http://wdsqc012:8080/qcbin/rest/server
at wedo.restapi.qc.docexamples.Assert.assertEquals(Assert.java:23)
at wedo.restapi.qc.docexamples.ReadExampleChanged.readExample(ReadExampleChanged.java:57)
at wedo.restapi.qc.docexamples.ReadExampleChanged.main(ReadExampleChanged.java:16)
Notes:
- If I try run one other example "CreateDeleteExample.java" this returns me also the the same 500 error:
Server returned HTTP response code: 500 for URL: http://wdsqc012:8080/qcbin/rest/server
- If I try use is the rest api via browser (Google Chrome + Advanced Rest Client extension) is working without any error, in any case I need to put at URL the suffix "?login-form-required=y"
Thanks in advance,
Regards,
Daniel