Micro Focus QTP (UFT) Forums
UFT RESTFUL API. Please pass json issue - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: UFT RESTFUL API. Please pass json issue (/Thread-UFT-RESTFUL-API-Please-pass-json-issue)



UFT RESTFUL API. Please pass json issue - kul20 - 08-06-2018

I am trying to write api test scripts using UFT. The api's are Restful and data is passed using JSON.
After adding the rest service, resource and method . I have loaded the json file in the HTTP tab of Properties section. When I run the test and view the results.

Request body says "NA"
and Response body shows errors as "Please pass JSON"