AnsweredAssumed Answered

Not getting proper response for virtualized service testing from postman UI.

Question asked by Krishv on Feb 7, 2017
Latest reply on Feb 8, 2017 by Krishv

I am not getting proper response when I am testing virtualized service from postman UI. But the transaction is increasing in Server Console. I virtualised the RR pair of REST full webservice in DevTest workstaion. Also see the screenshot of inspection view.

The below is response getting PostMan UI

<html>
<head>
<title>404 Not Found</title>
</head>
<body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr/>
<p>
<i>The DevTest VSE service could not match your request to a recorded request.  Consider expanding your service image.</i>
</p>
<br/>
<font size="-2">Produced by a DevTest virtualized web server.</font>
</body>
</html>

 

And see the below message taken from inspection view from server console

Did not get a valid response object so we ignore processing this transaction.
net.sf.json.JSONException: nu.xom.ParsingException: The entity "nbsp" was referenced, but not declared. at line 7, column 96
at com.itko.lisa.vse.stateful.protocol.json.LISAXmlSerializer.read(LISAXmlSerializer.java:352)
at com.itko.lisa.vse.stateful.protocol.json.JSONHandlerJSONLibImpl.convertXMLToJSON(JSONHandlerJSONLibImpl.java:77)
at com.itko.lisa.vse.stateful.protocol.json.JSONDataProtocolHandler.updateResponse(JSONDataProtocolHandler.java:103)
at com.itko.lisa.vse.stateful.common.DataProtocolStandardControlFilter.subPreFilter(DataProtocolStandardControlFilter.java:170)
at com.itko.lisa.test.FilterBaseImpl.subFilter(FilterBaseImpl.java:148)
at com.itko.lisa.test.FilterBaseImpl.preFilter(FilterBaseImpl.java:95)
at com.itko.lisa.test.TestNode.doFilters(TestNode.java:1464)
at com.itko.lisa.test.TestNode.doPreFilters(TestNode.java:1417)
at com.itko.lisa.test.TestNode.executeNode(TestNode.java:964)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1283)
at com.itko.lisa.test.TestCase.execute(TestCase.java:1198)
at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183)
at com.itko.lisa.test.TestCase.executeTest(TestCase.java:1127)
at com.itko.lisa.coordinator.Instance.run(Instance.java:204)
Caused by: nu.xom.ParsingException: The entity "nbsp" was referenced, but not declared. at line 7, column 96
at nu.xom.Builder.build(Unknown Source)
at nu.xom.Builder.build(Unknown Source)
at com.itko.lisa.vse.stateful.protocol.json.LISAXmlSerializer.read(LISAXmlSerializer.java:329)
... 13 more
Caused by: org.xml.sax.SAXParseException: The entity "nbsp" was referenced, but not declared.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
... 16 more

Attachments

Outcomes