RQM REST API - get attachment with non-English file name
Hello,
My customer uses non-English files to attach them to test steps in Rational Quality Manager. But when I send HTTP GET request (REST API) with Postman to extract the attachment presentation:
https://jazz.server.com:9443/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/debugRQMProject/attachment/urn:com.ibm.rqm:attachment:31
then I get data like next:
...
You can see that non-English file name is displayed as questions signs.
Can please somebody outline a possible workaround to fix this problem and get readable file name in non-English?
Thank you!
|
2 answers
I would assume Postman is not rendering these non-English characters. You can check by using the same characters in a test case (for example) name/title and GET the test case in Postman and Firefox's Poster/HttpRequester. Can you copy the HTTP response content to another editor to display these characters? Also, check the HTTP response header for the file name (see https://jazz.net/wiki/bin/view/Main/RqmApi#ResourcesFootnote6).
Comments
I have followed to the recommendations. The old environment where I did it was "Chrome/Postman; OS-Ubuntu". I tried the same at "Firefox/HTTP Requester; OS-Windows". Another word I used another desktop environment to make the new request but with the same parameters.
When I try to get filename in the response text, I get:
Another way, if I try to extract file name from response's "Content-Disposition" header then I have the characters displayed in another kind but they are unreadable as earlier:
|
Paul Slauenwhite (8.4k●1●2)
| answered Nov 14 '17, 8:26 a.m.
FORUM MODERATOR / JAZZ DEVELOPER edited Nov 14 '17, 8:27 a.m. This looks like a defect. Please open a PMR (How to open a PMR (external users)) with all the relevant information.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.