Hi All,
@Srikanth Gajawada,
@gajsr01,
@Koustubh WartyI have created a test case for creating a Virtual Service using swagger file. I am using following instructions as per the below link(for WSDL).
1) I have uploaded 'Swagger file' under 'Content' tab by selecting Type as 'Property/URL' and Content Type as 'application/json'
2) Under header tab I have parameterised Accept as 'application/zip' and content-type as 'multipart/form-data'
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/continuous-testing/devtest-solutions/10-5/using/using-the-apis/virtual-service-invoke-api.html#concept.dita_b344a409fadb5375f4ca2fe3245f17cda4cd612c_CreateaVirtualServicefromRRPairsoraSpecificationDocumentWSDLUsing DevTest 10.4 (Swagger-V2) version.Getting following error, while I am at '
Upload data to input container' step.
Error Message:| java.net.MalformedURLException:
no protocol: {{{Swagger details are present which I have passed through content tab}}
at java.net.URL.<init>(URL.java:593) at java.net.URL.<init>(URL.java:490) at java.net.URL.<init>(URL.java:439) at com.itko.lisa.ws.nx.NxWSStep$LisaURLDataSource.<init>(NxWSStep.java:1374) at com.itko.lisa.ws.nx.NxContent.getDataHandler(NxContent.java:127) at com.itko.lisa.ws.rest.RESTNodeBase.genActualPost(RESTNodeBase.java:450) at com.itko.lisa.ws.rest.RESTNodeBase.execute(RESTNodeBase.java:372) at com.itko.lisa.ws.rest.RESTNodeEditor$4.doCallback(RESTNodeEditor.java:1099) at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:195) at java.lang.Thread.run(Thread.java:745) ============================================================================</init></init></init></init>
Thanks,
Narasimha.