Optum / mockiato

A web-based platform for API virtualization
Apache License 2.0
24 stars 9 forks source link

"Matching Template from this request" functionality generating match template when request payload has incorrect data #488

Closed pkotha5 closed 5 years ago

pkotha5 commented 5 years ago

1.Try to create SOAP/REST(for REST service , take XML)service 2.Give invalid data 3.Click on "Create Matching Template from this Request"

Actual Result : It's generating incorrect matching Template like as below

This page contains the following errors:

error on line 1 at column 1: Document is empty

Below is a rendering of the page up to the first error.

Additional Comments : "Create Matching Template from this request" is not working for REST Service having the Payload Type "PlainText"