Retrieving log.txt regarding specific execution through web service
Through web service, I was able to
( sccsystem : logonUser )
( tmexecution : startExecution )
check state of execution
( tmexecution : getStateOfExecution )
get the execution result after making sure it’s finished and know which tests failed
( tmexecution : getExecutionResult )
get the “information” about the files regarding the test, but not the files itself
(tmperformer : getExecutionFiles)
Is there any way I can get the log.txt regarding a specific test result?
If you need the files of the testrun then take the mTestRunId from the TestDefinitionResult object and use performerService.getExecutionFiles(sessionId, testDefRunId) which returns an array of the result files. Each file has a unique id. To get the content of the file just call the following URL:
I am trying to retrieve the Execution Result Files following the suggestions here but I am currently stuck at creating web services message for tmperformer: getExecutionFiles request. I replace the <id> with the session_id of my current login, and the execution_id with the testDefRunID - retrieved from tmexecution : getExecutionResult response. However, when i send the request, the message return say the array is empty (see below) although there are 5 files in each test case run result of my execution plan in silk central. I wonder what do i miss here? Would you please help me?
tmperformer - getExecutionFiles request:
<soapenv:Envelope xmlns:xsi="www.w3.org/.../XMLSchema-instance" xmlns:xsd="www.w3.org/.../XMLSchema" xmlns:soapenv="schemas.xmlsoap.org/.../" xmlns:tm="http://tm.segue.com">
tmperform - getExecutionFiles response:
<soapenv:Envelope xmlns:soapenv="schemas.xmlsoap.org/.../" xmlns:xsd="www.w3.org/.../XMLSchema" xmlns:xsi="www.w3.org/.../XMLSchema-instance">
<ns1:getExecutionFilesResponse soapenv:encodingStyle="schemas.xmlsoap.org/.../" xmlns:ns1="http://tm.segue.com">
<getExecutionFilesReturn soapenc:arrayType="ns1:SPNamedEntity" xsi:type="soapenc:Array" xmlns:soapenc="schemas.xmlsoap.org/.../>
Would it be possible for you to log a support incident and we can look in to what are trying, to recommend how to resolve this for you?
Sorry for late reply. I already figured it out and resolved. There was a data error in my end when I construct the XML request message. Thanks