Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
All Communities
Enterprise Software
Mainframe Software
Symantec Enterprise
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
Members
Service Virtualization
Private Community
View Only
Community Home
Threads
Library
Events
Members
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
Lisa Invoke Test API's for creating SV
Jump to
Best Answer
Joao Ramos
Jul 08, 2020 02:36 PM
Hi community, I am trying to run the API's, in this case, Version 3, for the POST method with RR pair, ...
Vaibhav Jain
Jul 09, 2020 03:13 AM
Best Answer
Hi Ramos, In SV API v3, you can create virtual service using R-R pair with below configuration: URL: ...
Joao Ramos
Jul 09, 2020 09:09 AM
Thank you Jain, I did that on Postman and it worked. I don't know why, it did not on SoapUI . Regards,------------------------------------------- ...
1.
Lisa Invoke Test API's for creating SV
0
Recommend
Joao Ramos
Posted Jul 08, 2020 02:36 PM
Reply
Reply Privately
Options Dropdown
Hi community,
I am trying to run the API's, in this case, Version 3, for the POST method with RR pair, without success.
Any thoughts ?
Without the Header Content-Type: multipart/form-data;boundary="---=_Part_3_20890266.1594219121597":
With the Header Content-Type:
2.
RE: Lisa Invoke Test API's for creating SV
Best Answer
2
Recommend
Vaibhav Jain
Posted Jul 09, 2020 03:13 AM
Edited by Joao Ramos Jul 09, 2020 09:05 AM
Reply
Reply Privately
Options Dropdown
Hi Ramos,
In SV API v3, you can create virtual service using R-R pair with below configuration:
URL:
http://
host:port
/lisa-virtualize-invoke/api/v3/vses/
VSEName
/services
Header:
Body:
where R-R folder contains the messages and config file contains the configuration to be used, sample for the same is below
------------------------------------test.config----------------
{
"virtualService": {
"version": "2",
"name": "Test_VJ",
"description": "Invoke API V2",
"status": ""
},
"transportProtocol": {
"typeId": "HTTP",
"basePath": "/",
"useGateway": true,
"hostHeaderPassThrough": false
},
"dataProtocol": {
"forRequest": true,
"typeId": "SOAPDPH"
}
}
---------------------------------------------------------------------------
Authentication: username & password for devtest
With above data, you will be able to create virtual services.
If you want to create service using REST INVOKE API, then you have to use below url:
http://
host:port
/api/Dcm/VSEs/
NameofVSE
/actions/createService
Body:
and your zip folder structure should be:
Thanks
------------------------------
Regards,
Vaibhav Jain
Capgemini
------------------------------
Original Message
Original Message:
Sent: 07-08-2020 02:36 PM
From: Joao Ramos
Subject: Lisa Invoke Test API's for creating SV
Hi community,
I am trying to run the API's, in this case, Version 3, for the POST method with RR pair, without success.
Any thoughts ?
Without the Header Content-Type: multipart/form-data;boundary="---=_Part_3_20890266.1594219121597":
With the Header Content-Type:
3.
RE: Lisa Invoke Test API's for creating SV
0
Recommend
Joao Ramos
Posted Jul 09, 2020 09:09 AM
Reply
Reply Privately
Options Dropdown
Thank you Jain,
I did that on Postman and it worked. I don't know why, it did not on SoapUI .
Regards,
Original Message
Original Message:
Sent: 07-09-2020 03:12 AM
From: Vaibhav Jain
Subject: Lisa Invoke Test API's for creating SV
Hi Ramos,
In SV API v3, you can create virtual service using R-R pair with below configuration:
URL:
http://
host:port
/lisa-virtualize-invoke/api/v3/vses/
VSEName
/services
Header:
Body:
where R-R folder contains the messages and config file contains the configuration to be used, sample for the same is below
------------------------------------test.config----------------
{
"virtualService": {
"version": "2",
"name": "Test_VJ",
"description": "Invoke API V2",
"status": ""
},
"transportProtocol": {
"typeId": "HTTP",
"basePath": "/",
"useGateway": true,
"hostHeaderPassThrough": false
},
"dataProtocol": {
"forRequest": true,
"typeId": "SOAPDPH"
}
}
---------------------------------------------------------------------------
Authentication: username & password for devtest
With above data, you will be able to create virtual services.
If you want to create service using REST INVOKE API, then you have to use below url:
http://
host:port
/api/Dcm/VSEs/
NameofVSE
/actions/createService
Body:
and your zip folder structure should be:
Thanks
------------------------------
Regards,
Vaibhav Jain
Capgemini
Original Message:
Sent: 07-08-2020 02:36 PM
From: Joao Ramos
Subject: Lisa Invoke Test API's for creating SV
Hi community,
I am trying to run the API's, in this case, Version 3, for the POST method with RR pair, without success.
Any thoughts ?
Without the Header Content-Type: multipart/form-data;boundary="---=_Part_3_20890266.1594219121597":
With the Header Content-Type:
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2019. All rights reserved.
Powered by Higher Logic