ECiurleoIOP
8 years agoOccasional Contributor
SoapUI CE and ReadyAPI (SoapUI NG) encode URLs differently.
I have created an HTTP request to the URL below in SoapUI and SoapUI Pro NG
http://localhost:8888/content-service/content/book?query=(collection="IOP Concise Physics")
However, the encoding of the URL sent appears to differ between the two. It looks like SoapUI is encoding the quotes to %20 and %22 respectively.
In SoapUI Pro NG it seems to be encoding the URL twice, converting the % to %25 followed by the 22, resulting in %2522
Why do the free edition and the paid edition have different encoding behaviours?
Sent using SoapUI Pro NG
GET http://localhost:8888/content-service/content/book?query=(collection=%2522IOP%20Concise%20Physics%2522) HTTP/1.1 Accept-Encoding: gzip,deflate Host: localhost:8888 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.5.2 (Java/1.8.0_112)
Sent using SoapUI
GET http://localhost:8888/content-service/content/book?query=(collection=%22IOP%20Concise%20Physics%22) HTTP/1.1 Accept-Encoding: gzip,deflate Host: localhost:8888 Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
I have tried disabling URL encoding and putting in %20 or %22 but this results in the reverse behaviour occurring.