Service Virtualization

  • 1.  Is it possible to send JSON request using 'HTTP/HTML request' step

    Posted Nov 20, 2017 02:41 AM

    Hi All,

    Is it possible to send JSON request using 'HTTP/HTML request' step, as I can't configure SSL details in local.properties file to use REST(HTTPS) step or any other way to achieve this?

     

     

    Thanks,

    Narasimha.



  • 2.  Re: Is it possible to send JSON request using 'HTTP/HTML request' step
    Best Answer

    Broadcom Employee
    Posted Nov 21, 2017 09:42 PM

    Hi,


    If you want to send JSON part as context with application/json like REST step, then it is impossible to send JSON request by using the "HTTP/HTML Request" step.
    But you can send the (post) parameter style like <parameter key name>=<JSON part> by using the "HTTP/HTML Request" step.

     

    Why cannot you configure SSL details in local.properties file?
    Technically it is possible, please refer the this documentation.

     

    Cheers,