Unable to download the attachnments with RQMUrlUtility :Got an IOException: java.io.FileNotFoundException
java -jar RQMUrlUtility.jar -command GET -user XXX -password XXX -filepath C:\\RQM_Cucumber_Framework\\Test_Artifacts\\test_data\\ -url https://igarqm01.swg.usma.ibm.com/jazz/service/com.ibm.rqm.integration.service.IIntegrationService/resources/XXXXX+Project/attachment/XXXXX
XXXXX -> this are removed me be since this is related our project.
Version: 6.0.6.1
Below is the details printed by RQMUrlUtility
Default cookie policy RFC_2109 is used.
RQMUrlUtility: Connected to https://igarqm01.swg.usma.ibm.com using project "XXXXXX"
Attempting to create SSL_TLS context
RQMUrlUtility: Calling [ HTTP GET ] method to download an attachment
RQMUrlUtility: Server Response code: 200
RQMUrlUtility: Got an IOException: java.io.FileNotFoundException: C:\XXXX\no-cache="set-cookie, set-cookie2" (The filename, directory name, or volume label syntax is incorrect.)
RQMUrlUtility: If the path contains spaces, surround it with double quotes.
RQMUrlUtility: The directory containing the file must exist and have appropriate permissions.
Disconnecting from the IBM Rational Quality Manager server.
One answer
Hi Sravan Kumar,
Please use this link to cross check the command used for downloading the attachments. Also, make sure, the directory structure used for download is accessible and as the error message is saying, the syntax might be incorrect in your case. Try using " " for the filepath.
Hope this helps,
Krupa Gunhalkar