Inflectra Customer Forums: i cant record data with SOAP API (Thread) we set the data but we couldn't record that. Can you help , please ? public static void sentTestSetTestSteps( int testSetId ) { TestStepConsumer testStepConsumer = new TestStepConsumer(); ArrayOfRemoteAutomatedTestRun remoteTestRuns = null ; try { IImportExport soap = testStepConsumer .returnSoapObject(); boolean connected = testStepConsumer .connectSoap( soap , "****" , "****" ); connected = soap .connectionConnectToProject(8); if ( connected ) { remoteTestRuns = soap .testRunCreateForAutomatedTestSet( testSetId , "TestClient01" ); List asd = remoteTestRuns .getRemoteAutomatedTestRun(); System. out .println( "#1#" + asd .get(0).getTestSetId().getValue() + " " + asd .get(0).getTestCaseId() + " -: " + asd .get(0).getExecutionStatusId()); System. out .println( "#2#" + asd .get(1).getTestSetId().getValue() + " " + asd .get(1).getTestCaseId() + " -: " + asd .get(1).getExecutionStatusId()); asd .get(0).setExecutionStatusId(1); asd .get(1).setExecutionStatusId(2); try { soap .testRunRecordAutomated1( asd .get(0)); soap .testRunRecordAutomated1( asd .get(1)); } catch (IImportExportTestRunRecordAutomated1ServiceFaultMessageFaultFaultMessage e ) { // TODO Auto-generated catch block e .printStackTrace(); } System. out .println( "#1#" + asd .get(0).getTestSetId().getValue() + " " + asd .get(0).getTestCaseId() + " -: " + asd .get(0).getExecutionStatusId()); System. out .println( "#2#" + asd .get(1).getTestSetId().getValue() + " " + asd .get(1).getTestCaseId() + " -: " + asd .get(1).getExecutionStatusId()); } İ get this : #1#154 1314 -: 3 #2#154 1649 -: 3 #1#154 1314 -: 1 #2#154 1649 -: 2 en-US(C) Copyright 2006-2024 Inflectra Corporation.support@inflectra.com/Computers/Software/Project_Management//Computers/Software/Quality_Assurance/KronoDesksupport@inflectra.comhttp://www.inflectra.com/kronodesk/forums/threads120/Support/Forum/spiratest/issues-questions/1325.aspxthreadId=1325canberk erkmen (cnbrk1907@hotmail.com)i cant record data with SOAP API we set the data but we couldn't record that. Can you help , please ? public static void sentTestSetTestSteps( int testSetId ) { TestStepConsumer testStepConsumer = new TestStepConsumer(); ArrayOfRemoteAutomatedTestRun remoteTestRuns = null ; try { IImportExport soap = testStepConsumer .returnSoapObject(); boolean connected = testStepConsumer .connectSoap( soap , "****" , "****" ); connected = soap .connectionConnectToProject(8); if ( connected ) { remoteTestRuns = soap .testRunCreateForAutomatedTestSet( testSetId , "TestClient01" ); List asd = remoteTestRuns .getRemoteAutomatedTestRun(); System. out .println( "#1#" + asd .get(0).getTestSetId().getValue() + " " + asd .get(0).getTestCaseId() + " -: " + asd .get(0).getExecutionStatusId()); System. out .println( "#2#" + asd .get(1).getTestSetId().getValue() + " " + asd .get(1).getTestCaseId() + " -: " + asd .get(1).getExecutionStatusId()); asd .get(0).setExecutionStatusId(1); asd .get(1).setExecutionStatusId(2); try { soap .testRunRecordAutomated1( asd .get(0)); soap .testRunRecordAutomated1( asd .get(1)); } catch (IImportExportTestRunRecordAutomated1ServiceFaultMessageFaultFaultMessage e ) { // TODO Auto-generated catch block e .printStackTrace(); } System. out .println( "#1#" + asd .get(0).getTestSetId().getValue() + " " + asd .get(0).getTestCaseId() + " -: " + asd .get(0).getExecutionStatusId()); System. out .println( "#2#" + asd .get(1).getTestSetId().getValue() + " " + asd .get(1).getTestCaseId() + " -: " + asd .get(1).getExecutionStatusId()); } İ get this : #1#154 1314 -: 3 #2#154 1649 -: 3 #1#154 1314 -: 1 #2#154 1649 -: 2 Thu, 12 Nov 2015 13:11:58 -05002022-03-25T16:28:18-04:00/Support/Forum/spiratest/issues-questions/1325.aspxmessageId=2413David J (support1@inflectra.com) Hello Could you please send us a help desk ticket so that we can better assist? Thanks Adam Hello Could you please send us a help desk ticket so that we can better assist? Thanks Adam Tue, 17 Nov 2015 21:01:58 -05002015-11-17T21:01:58-05:00/Support/Forum/spiratest/issues-questions/1325.aspx#reply2413