<rss version="2.0" xmlns:a10="http://www.w3.org/2005/Atom"><channel><title>Inflectra Customer Forums: i cant record data with SOAP API (Thread)</title><description>&#xD;
    we set the data but we couldn't record that. Can you help , please ?                             public         static         void     sentTestSetTestSteps(    int        testSetId   ) {   &#xD;
&#xD;
	TestStepConsumer    testStepConsumer    =     new     TestStepConsumer();   &#xD;
	ArrayOfRemoteAutomatedTestRun    remoteTestRuns    =     null    ;   &#xD;
&#xD;
	    try     {   &#xD;
	IImportExport    soap    =    testStepConsumer   .returnSoapObject();   &#xD;
	    boolean        connected    =    testStepConsumer   .connectSoap(   soap   ,    "****"   ,    "****"   );   &#xD;
	   connected    =    soap   .connectionConnectToProject(8);   &#xD;
&#xD;
	    if     (   connected   ) {   &#xD;
&#xD;
	   remoteTestRuns    =    soap   .testRunCreateForAutomatedTestSet(   testSetId   ,    "TestClient01"   );   &#xD;
	List     asd    =    remoteTestRuns   .getRemoteAutomatedTestRun();   &#xD;
	System.     out     .println(   "#1#"    +    asd   .get(0).getTestSetId().getValue() +    " "    +    asd   .get(0).getTestCaseId()   &#xD;
	+    " -: "    +    asd   .get(0).getExecutionStatusId());   &#xD;
	System.     out     .println(   "#2#"    +    asd   .get(1).getTestSetId().getValue() +    " "    +    asd   .get(1).getTestCaseId()   &#xD;
	+    " -: "    +    asd   .get(1).getExecutionStatusId());   &#xD;
	   asd   .get(0).setExecutionStatusId(1);   &#xD;
	   asd   .get(1).setExecutionStatusId(2);   &#xD;
	    try     {   &#xD;
	   soap   .testRunRecordAutomated1(   asd   .get(0));   &#xD;
	   soap   .testRunRecordAutomated1(   asd   .get(1));   &#xD;
	}     catch     (IImportExportTestRunRecordAutomated1ServiceFaultMessageFaultFaultMessage    e   ) {   &#xD;
	   //      TODO      Auto-generated catch block     &#xD;
	   e   .printStackTrace();   &#xD;
	} &#xD;
	System.     out     .println(   "#1#"    +    asd   .get(0).getTestSetId().getValue() +    " "    +    asd   .get(0).getTestCaseId()   &#xD;
	+    " -: "    +    asd   .get(0).getExecutionStatusId());   &#xD;
	System.     out     .println(   "#2#"    +    asd   .get(1).getTestSetId().getValue() +    " "    +    asd   .get(1).getTestCaseId()   &#xD;
	+    " -: "    +    asd   .get(1).getExecutionStatusId());   &#xD;
&#xD;
	}                        İ get this :     #1#154 1314 -: 3 &#xD;
 #2#154 1649 -: 3 &#xD;
 #1#154 1314 -: 1 &#xD;
 #2#154 1649 -: 2                &#xD;
&#xD;
</description><language>en-US</language><copyright>(C) Copyright 2006-2026 Inflectra Corporation.</copyright><managingEditor>support@inflectra.com</managingEditor><category domain="http://www.dmoz.org">/Computers/Software/Project_Management/</category><category domain="http://www.dmoz.org">/Computers/Software/Quality_Assurance/</category><generator>KronoDesk</generator><a10:contributor><a10:email>support@inflectra.com</a10:email></a10:contributor><a10:id>http://www.inflectra.com/kronodesk/forums/threads</a10:id><ttl>120</ttl><link>/Support/Forum/spiratest/issues-questions/1325.aspx</link><item><guid isPermaLink="false">threadId=1325</guid><author>canberk erkmen (cnbrk1907@hotmail.com)</author><category domain="http://www.inflectra.com/kronodesk/thread/tag">soap</category><category domain="http://www.inflectra.com/kronodesk/thread/tag"> api</category><title>i cant record data with SOAP API</title><description>&#xD;
    we set the data but we couldn't record that. Can you help , please ?                             public         static         void     sentTestSetTestSteps(    int        testSetId   ) {   &#xD;
&#xD;
	TestStepConsumer    testStepConsumer    =     new     TestStepConsumer();   &#xD;
	ArrayOfRemoteAutomatedTestRun    remoteTestRuns    =     null    ;   &#xD;
&#xD;
	    try     {   &#xD;
	IImportExport    soap    =    testStepConsumer   .returnSoapObject();   &#xD;
	    boolean        connected    =    testStepConsumer   .connectSoap(   soap   ,    "****"   ,    "****"   );   &#xD;
	   connected    =    soap   .connectionConnectToProject(8);   &#xD;
&#xD;
	    if     (   connected   ) {   &#xD;
&#xD;
	   remoteTestRuns    =    soap   .testRunCreateForAutomatedTestSet(   testSetId   ,    "TestClient01"   );   &#xD;
	List     asd    =    remoteTestRuns   .getRemoteAutomatedTestRun();   &#xD;
	System.     out     .println(   "#1#"    +    asd   .get(0).getTestSetId().getValue() +    " "    +    asd   .get(0).getTestCaseId()   &#xD;
	+    " -: "    +    asd   .get(0).getExecutionStatusId());   &#xD;
	System.     out     .println(   "#2#"    +    asd   .get(1).getTestSetId().getValue() +    " "    +    asd   .get(1).getTestCaseId()   &#xD;
	+    " -: "    +    asd   .get(1).getExecutionStatusId());   &#xD;
	   asd   .get(0).setExecutionStatusId(1);   &#xD;
	   asd   .get(1).setExecutionStatusId(2);   &#xD;
	    try     {   &#xD;
	   soap   .testRunRecordAutomated1(   asd   .get(0));   &#xD;
	   soap   .testRunRecordAutomated1(   asd   .get(1));   &#xD;
	}     catch     (IImportExportTestRunRecordAutomated1ServiceFaultMessageFaultFaultMessage    e   ) {   &#xD;
	   //      TODO      Auto-generated catch block     &#xD;
	   e   .printStackTrace();   &#xD;
	} &#xD;
	System.     out     .println(   "#1#"    +    asd   .get(0).getTestSetId().getValue() +    " "    +    asd   .get(0).getTestCaseId()   &#xD;
	+    " -: "    +    asd   .get(0).getExecutionStatusId());   &#xD;
	System.     out     .println(   "#2#"    +    asd   .get(1).getTestSetId().getValue() +    " "    +    asd   .get(1).getTestCaseId()   &#xD;
	+    " -: "    +    asd   .get(1).getExecutionStatusId());   &#xD;
&#xD;
	}                        İ get this :     #1#154 1314 -: 3 &#xD;
 #2#154 1649 -: 3 &#xD;
 #1#154 1314 -: 1 &#xD;
 #2#154 1649 -: 2                &#xD;
&#xD;
</description><pubDate>Thu, 12 Nov 2015 13:11:58 -0500</pubDate><a10:updated>2022-03-25T16:28:18-04:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1325.aspx</link></item><item><guid isPermaLink="false">messageId=2413</guid><author>David J (adam.sandman+support@inflectra.com)</author><title>&#xD;
Hello  Could you please  send us a help desk ticket  so that we can better assist?  Thanks  Adam &#xD;</title><description>&#xD;
Hello  Could you please  send us a help desk ticket  so that we can better assist?  Thanks  Adam &#xD;
&#xD;
</description><pubDate>Tue, 17 Nov 2015 21:01:58 -0500</pubDate><a10:updated>2015-11-17T21:01:58-05:00</a10:updated><link>/Support/Forum/spiratest/issues-questions/1325.aspx#reply2413</link></item></channel></rss>