Forum Discussion

jalanstrom's avatar
jalanstrom
Occasional Contributor
8 years ago

Content-Transfer-Encoding type quoted-printable adds equals (=) symbols web service cannot process

Due to the length of the content in the request, SoapUI Open Source is automatically setting the Content-Transfer-Encoding type to printed-quotable. 

 

Link to request text: https://gist.github.com/jalanstrom/ed71aa1c8d32a59ece07b6e063f9e041

 

Unfortunately, the application is expecting JSON content in that part of the request, so it's rejecting the request because of those equals (=) signs.

 

Link to response text: https://gist.github.com/jalanstrom/a6d6ea336e992c956b0c9200cfcdd7d9

 

When using Content-Transfer-Encoding type is 7bit, the request completes fine (link to request text: https://gist.github.com/jalanstrom/e20273c4322eb8c7c31d3a6199fa49be). But as soon as I go over a certain content limit, SoapUI is automatically changing the type to quote-printable.

 

Unfortunately I have yet to find any way to modify the Content-Transfer-Encoding type to something suitable (base64? binary?) that won't add the extra characters that drive my REST service crazy. 

 

Thanks for any help!!

15 Replies

  • nmrao's avatar
    nmrao
    Champion Level 3
    Is that you sending an attachment with binarydata?
    • jalanstrom's avatar
      jalanstrom
      Occasional Contributor

       

      nmrao wrote:
      Is that you sending an attachment with binarydata?

      The second part of the multipart request is a file attachment.

    • nisanik's avatar
      nisanik
      New Contributor

      nmrao wrote:
      Is that you sending an attachment with binarydata?


      Hello, 

       

      we are working on new POC for SoapUI (on REST project) , 
      However we facing this issue and it's blocking us.
      I am sending a REST multypart post request and attaching binary file.

      one of the parameter is a long (~2000 characters) Json string.

      SouUI define the content transfer to : "quoted printable" and cut cut to new line after 66 characters and add (=).

       

      What am i missing here ? any suggested Work Around  ?

      Thanks  

      • EladR's avatar
        EladR
        New Contributor

        Hello nmrao,

        Yes - we are sending an image (binarydata)

    • nisanik's avatar
      nisanik
      New Contributor

      Hello, 

       

      we are working on new POC for SoapUI (on REST project) , 
      However we facing this issue and it's blocking us.
      I am sending a REST multypart post request and attaching binary file.

      one of the parameter is a long (~2000 characters) Json string.

      SouUI define the content transfer to : "quoted printable" and cut cut to new line after 66 characters and add (=).

       

      What am i missing here ? any suggested Work Around  ?

      Thanks  

  • Hello.

     

    I have the same problem. Could you solve the problem?

     

    Thanks

  • EladR's avatar
    EladR
    New Contributor
    We are suffering from the same issue as nisanik raise. In case I won't be able to solve it - another alternative for testing tool will be considered.
    Please your important advice to solve this
  • EladR's avatar
    EladR
    New Contributor
    Thanks for your response,
    Imagine JSON file with ~2000 characters splitted into lines.
    Each line contains 66 characters and ends with "=" (equal) sign.
    Appriviate your support.
    Best Regards, Elad
  • EladR's avatar
    EladR
    New Contributor
    I don't really understand - do you have all details and going to provide us solution / workaround ?
    Thanks in advance, Elad