-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGoogle-Map-API-project-soapui-project.xml
2 lines (2 loc) · 8 KB
/
Google-Map-API-project-soapui-project.xml
1
2
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project id="963b07fa-5fbc-4ebc-b777-93582e6af615" activeEnvironment="Default" name="Google Map API project" resourceRoot="" soapui-version="5.3.0" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:RestService" id="1e883fa5-af17-4a13-963a-63af0525dde4" wadlVersion="http://wadl.dev.java.net/2009/02" name="http://maps.googleapis.com" type="rest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache/><con:endpoints><con:endpoint>http://maps.googleapis.com</con:endpoint></con:endpoints><con:resource name="Json" path="/maps/api/geocode/json" id="928da10e-900c-4fa3-ac81-6227ed03d6ca"><con:settings/><con:parameters><con:parameter><con:name>address</con:name><con:value>hyderabad</con:value><con:style>QUERY</con:style><con:default>hyderabad</con:default><con:path xsi:nil="true"/><con:description xsi:nil="true"/></con:parameter></con:parameters><con:method name="Json 1" id="fd9e4c37-9ce1-49d0-967e-698d97fa9189" method="GET"><con:settings/><con:parameters/><con:representation type="RESPONSE"><con:mediaType>application/json; charset=UTF-8</con:mediaType><con:status>200</con:status><con:params/><con:element xmlns:json="http://maps.googleapis.com/maps/api/geocode/json">json:Response</con:element></con:representation><con:request name="Request 1" id="e1ba0aaf-5343-4fbb-a057-ccd098c57b93" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>http://maps.googleapis.com</con:endpoint><con:request/><con:originalUri>http://maps.googleapis.com/maps/api/geocode/json</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/><con:parameterOrder><con:entry>address</con:entry></con:parameterOrder></con:request></con:method></con:resource></con:interface><con:interface xsi:type="con:RestService" id="91320189-4e85-4532-ba46-fc486dd1cdef" wadlVersion="http://wadl.dev.java.net/2009/02" name="http://api.wunderground.com" type="rest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache/><con:endpoints><con:endpoint>http://api.wunderground.com</con:endpoint></con:endpoints><con:resource name="Index.xml" path="/auto/wui/geo/GeoLookupXML/index.xml" id="567febc8-264f-4848-99ac-a082ea6b9f72"><con:settings/><con:parameters><con:parameter><con:name>query</con:name><con:value>17.385044,78.486671</con:value><con:style>QUERY</con:style><con:default>17.385044,78.486671</con:default><con:path xsi:nil="true"/><con:description xsi:nil="true"/></con:parameter></con:parameters><con:method name="Index.xml 1" id="3e0da1ca-4858-4da9-9fce-3f8de5ffb9d6" method="GET"><con:settings/><con:parameters/><con:representation type="RESPONSE"><con:mediaType>text/xml</con:mediaType><con:status>200</con:status><con:params/><con:element>location</con:element></con:representation><con:request name="Request 1" id="283ab1a7-a20f-43c0-8529-41fd38b388a2" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>http://api.wunderground.com</con:endpoint><con:request/><con:originalUri>http://api.wunderground.com/auto/wui/geo/GeoLookupXML/index.xml</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters><entry key="query" value="17.385044,78.486671" xmlns="http://eviware.com/soapui/config"/></con:parameters><con:parameterOrder><con:entry>query</con:entry></con:parameterOrder></con:request></con:method></con:resource></con:interface><con:testSuite id="fe27a2e8-7d81-4380-b259-b5b02d30507a" name="TS01"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="8b6f1ebf-c015-4f2e-8253-dd56233f2606" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="TC01-Property Transfer in REST to next Level" searchProperties="true"><con:settings/><con:testStep type="restrequest" name="Hyderabad lat and lng" id="6cb21c5a-05db-4b42-8e2a-2ba0d81b0df5"><con:settings/><con:config service="http://maps.googleapis.com" resourcePath="/maps/api/geocode/json" methodName="Json 1" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Hyderabad lat and lng" id="e1ba0aaf-5343-4fbb-a057-ccd098c57b93" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>http://maps.googleapis.com</con:endpoint><con:request/><con:originalUri>http://maps.googleapis.com/maps/api/geocode/json</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/><con:parameterOrder><con:entry>address</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:testStep type="transfer" name="Property Transfer" id="9feb4b44-2cd3-4b3c-bc7b-e6c454eaaf22"><con:settings/><con:config xsi:type="con:PropertyTransfersStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false"><con:name>transfer lat</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>Hyderabad lat and lng</con:sourceStep><con:sourcePath>$.results[0].geometry.location.lat</con:sourcePath><con:targetType>lat</con:targetType><con:targetStep>#TestCase#</con:targetStep><con:type>JSONPATH</con:type><con:targetTransferType>JSONPATH</con:targetTransferType><con:upgraded>true</con:upgraded></con:transfers><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false"><con:name>transfer longitude</con:name><con:sourceType>Response</con:sourceType><con:sourceStep xsi:nil="true"/><con:sourcePath>$.results[0].geometry.location.lng</con:sourcePath><con:targetType>lng</con:targetType><con:targetStep>#TestCase#</con:targetStep><con:type>JSONPATH</con:type><con:targetTransferType>JSONPATH</con:targetTransferType><con:upgraded>true</con:upgraded></con:transfers></con:config></con:testStep><con:testStep type="restrequest" name="Get Weather by lat and lng" id="acab5b17-7d1c-425b-aceb-85c5481ce364"><con:settings/><con:config service="http://api.wunderground.com" resourcePath="/auto/wui/geo/GeoLookupXML/index.xml" methodName="Index.xml 1" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="Get Weather by lat and lng" id="283ab1a7-a20f-43c0-8529-41fd38b388a2" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>http://api.wunderground.com</con:endpoint><con:request/><con:originalUri>http://api.wunderground.com/auto/wui/geo/GeoLookupXML/index.xml</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters><entry key="query" value="${#TestCase#lat},${#TestCase#lng}" xmlns="http://eviware.com/soapui/config"/></con:parameters><con:parameterOrder><con:entry>query</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:properties><con:property><con:name>lat</con:name><con:value>17.385044</con:value></con:property><con:property><con:name>lng</con:name><con:value>78.486671</con:value></con:property></con:properties></con:testCase><con:properties/></con:testSuite><con:properties/><con:wssContainer/><con:oAuth2ProfileContainer/><con:oAuth1ProfileContainer/></con:soapui-project>