Rally: java application has started to throw an exception, recently -
i started using java application after 2 weeks , see following exception everytime run it:
exception in thread "main" java.io.ioexception: http/1.1 500 internal server error @ com.rallydev.rest.rallyrestapi.dorequest(rallyrestapi.java:258) @ com.rallydev.rest.rallyrestapi.dopost(rallyrestapi.java:276) @ com.rallydev.rest.rallyrestapi.update(rallyrestapi.java:155) @ exporttrtorally.testresult_to_testset(exporttrtorally.java:273) @ exporttrtorally.main(exporttrtorally.java:453)
it happening when testresults being added testset shown above. application has been working fine in past. know reason it?
here testresult_to_testset() method:
public static void testresult_to_testset(rallyrestapi r, arraylist<string> testres_refs, string testset_ref) throws ioexception{ system.out.println("\n--------------------------------\nadding test results testset..."); (string i2 : testres_refs){ jsonobject tingo2 = new jsonobject(); tingo2.addproperty("testset", testset_ref); updaterequest req = new updaterequest(i2, tingo2); updateresponse resp = r.update(req); if(resp.wassuccessful()) system.out.println(resp.getobject().get("_ref").getasstring()); } system.out.println("----------------------------------\ntestresults added testset\n----------------------------------"); }
thanks, haris
Comments
Post a Comment