Skip to content

Instantly share code, notes, and snippets.

@michaelrice
Created August 4, 2014 18:26
Show Gist options
  • Save michaelrice/d1b73afe22e55406d014 to your computer and use it in GitHub Desktop.
Save michaelrice/d1b73afe22e55406d014 to your computer and use it in GitHub Desktop.
betamax recording from vijava
!tape
name: getVm_tape
interactions:
- recorded: 2014-08-03T02:14:17.955Z
request:
method: POST
uri: https://vs00-winutil.home.lab/sdk
headers:
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: '439'
Content-Type: text/xml; charset=UTF-8
Host: vs00-winutil.home.lab
SOAPAction: ''
User-Agent: Java/1.7.0_55
body: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><RetrieveServiceContent xmlns="urn:vim25"><_this type="ServiceInstance">ServiceInstance</_this></RetrieveServiceContent></soapenv:Body></soapenv:Envelope>
response:
status: 200
headers:
Cache-Control: no-cache
Content-Type: text/xml; charset=utf-8
Date: Sun, 3 Aug 2014 02:14:29 GMT
Set-Cookie: vmware_soap_session="524cfa1c-6106-146e-298f-2774a9586bfa"; Path=/; HttpOnly;
X-Betamax: !!org.codehaus.groovy.runtime.GStringImpl {}
body: |-
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<RetrieveServiceContentResponse xmlns="urn:vim25"><returnval><rootFolder type="Folder">group-d1</rootFolder><propertyCollector type="PropertyCollector">propertyCollector</propertyCollector><viewManager type="ViewManager">ViewManager</viewManager><about><name>VMware vCenter Server</name><fullName>VMware vCenter Server 5.0.0 build-455964</fullName><vendor>VMware, Inc.</vendor><version>5.0.0</version><build>455964</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>win32-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>5.0</apiVersion></about><setting type="OptionManager">VpxSettings</setting><userDirectory type="UserDirectory">UserDirectory</userDirectory><sessionManager type="SessionManager">SessionManager</sessionManager><authorizationManager type="AuthorizationManager">AuthorizationManager</authorizationManager><perfManager type="PerformanceManager">PerfMgr</perfManager><scheduledTaskManager type="ScheduledTaskManager">ScheduledTaskManager</scheduledTaskManager><alarmManager type="AlarmManager">AlarmManager</alarmManager><eventManager type="EventManager">EventManager</eventManager><taskManager type="TaskManager">TaskManager</taskManager><extensionManager type="ExtensionManager">ExtensionManager</extensionManager><customizationSpecManager type="CustomizationSpecManager">CustomizationSpecManager</customizationSpecManager><customFieldsManager type="CustomFieldsManager">CustomFieldsManager</customFieldsManager><diagnosticManager type="DiagnosticManager">DiagMgr</diagnosticManager><licenseManager type="LicenseManager">LicenseManager</licenseManager><searchIndex type="SearchIndex">SearchIndex</searchIndex><fileManager type="FileManager">FileManager</fileManager><virtualDiskManager type="VirtualDiskManager">virtualDiskManager</virtualDiskManager></returnval></RetrieveServiceContentResponse>
</soapenv:Body>
</soapenv:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment