Hello i have tried using the shell script provided by the ATS to run the test suites in Jenkins build machine, got the following error, could someone suggest , whats the issue with this API call. Build error: Response Received. Starting the GetJobStatus API call... Sending SOAP Request To Server: https://ats100.mendixcloud.com/ws/GetJobStatus Initiating Send. Send Complete, Waiting For Response. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (500) Internal Server Error." At C:\Users\n102447\AppData\Local\Temp\hudson3418610297244916134.ps1:21 char:9 + $resp = $soapWebRequest.GetResponse() + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : WebException You cannot call a method on a null-valued expression. At C:\Users\n102447\AppData\Local\Temp\hudson3418610297244916134.ps1:22 char:9 + $responseStream = $resp.GetResponseStream() + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull You cannot call a method on a null-valued expression. At C:\Users\n102447\AppData\Local\Temp\hudson3418610297244916134.ps1:24 char:9 + $ReturnXml = [Xml] $soapReader.ReadToEnd() + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull You cannot call a method on a null-valued expression. At C:\Users\n102447\AppData\Local\Temp\hudson3418610297244916134.ps1:25 char:9 + $responseStream.Close() + ~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull Response Received. Status Test Run is: , please wait... Sending SOAP Request To Server: https://ats100.mendixcloud.com/ws/GetJobStatus Initiating Send. Send Complete, Waiting For Response. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (500) Internal Server Error." At C:\Users\n102447\AppData\Local\Temp\hudson3418610297244916134.ps1:21 char:9 + $resp = $soapWebRequest.GetResponse() + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : WebException
asked
naresh kumar medishetty
1 answers
1
Hello Naresh,
Based on the error log you provided it's hard to tell what went wrong. But did you change the following 4 variables in your script correctly: