Forum Discussion

jzy's avatar
jzy
Regular Visitor
8 years ago

Fail to send Url Path or Query parameter as-is

My use case is validating webserver robustness by sending malformed query parameters in REST request.


Currently I set parameter Style=TEMPLATE, Level=RESOURCE With "Disables URL-Encoding of parameter value" checked, but these settings do allow me to send malformed such as "%9-" or "x|y" in query parameter value, SOAPUI either throws "IllegalArgumentException" or popup error message at me.

Please note, applying Url encoding to legitimize all query parameter is not an option, it voids the testing requirement.

 

Is there any workaround for me to sending anything without Url encoding checks?

Thanks.

3 Replies

  • brndmg's avatar
    brndmg
    New Contributor

    I am having the same issue.  I want to test our services with multiple malformed urls, but soapui won't even send them.

     

    Are there any capabilities to turn off the pre-request validation so that the urls get used "as-is"?

     

    Thanks.

    • nmrao's avatar
      nmrao
      Champion Level 3
      May be you put the endpoint into a custom property and use property expansion in the endpoint.
      Otherwise, can you please show a screen shot explaining problem?
      • brndmg's avatar
        brndmg
        New Contributor

         

         Here is a screenshot of the error and the url in question.