Created
February 19, 2016 03:08
-
-
Save jreece1567/82774003ee2fb3699b65 to your computer and use it in GitHub Desktop.
Simple test suite - all-stores and all-deals
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<con:soapui-project id="c81811bc-3f60-45c7-8df0-063ce101e0c5" activeEnvironment="Default" name="API Performance Project" resourceRoot="" soapui-version="5.2.1" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:RestService" id="ebf3dd75-0ff5-42cc-a2a4-580a60bad673" wadlVersion="http://wadl.dev.java.net/2009/02" name="https://api.uat.westfield.io" type="rest" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:endpoints><con:endpoint>https://api.uat.westfield.io</con:endpoint></con:endpoints><con:resource name="Stores" path="/v1/stores" id="ce413ae8-3bfe-4297-bdcd-f41369f934a2"><con:settings/><con:parameters><con:parameter><con:name>api_key</con:name><con:value>BEPH3JFgNsYetXCBx6tOdHGJzA6rwjgY</con:value><con:style>QUERY</con:style><con:default>BEPH3JFgNsYetXCBx6tOdHGJzA6rwjgY</con:default><con:path xsi:nil="true"/><con:description xsi:nil="true"/></con:parameter><con:parameter><con:name>per_page</con:name><con:value/><con:style>QUERY</con:style><con:default/><con:description xsi:nil="true"/></con:parameter></con:parameters><con:method name="Stores" id="288e3327-2548-4ea2-a752-5dfcb731105d" 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:stor="https://api.uat.westfield.io/v1/stores">stor:Response</con:element></con:representation><con:request name="Request 1" id="05ea6379-7595-45ca-acf6-b7757383398c" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Bypass-Cache" value="true" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:endpoint>https://api.uat.westfield.io</con:endpoint><con:request/><con:originalUri>https://api.uat.westfield.io/v1/stores</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters><entry key="per_page" value="999999" xmlns="http://eviware.com/soapui/config"/></con:parameters><con:parameterOrder><con:entry>api_key</con:entry><con:entry>per_page</con:entry></con:parameterOrder></con:request></con:method></con:resource><con:resource name="deals" path="/deals" id="fa65b351-4486-469e-809b-cfd45923785c"><con:settings/><con:parameters><con:parameter><con:name>api_key</con:name><con:value>BEPH3JFgNsYetXCBx6tOdHGJzA6rwjgY</con:value><con:style>QUERY</con:style><con:default>BEPH3JFgNsYetXCBx6tOdHGJzA6rwjgY</con:default></con:parameter><con:parameter><con:name>per_page</con:name><con:value/><con:style>QUERY</con:style><con:default/><con:description xsi:nil="true"/></con:parameter></con:parameters><con:method name="Method 1" id="fd309133-fa4b-4da6-98bc-7b9308d865b1" 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:deal="https://api.uat.westfield.io/deals">deal:Response</con:element></con:representation><con:request name="Request 1" id="6926bfcf-cbbd-44f5-8a91-701e349100f9" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Bypass-Cache" value="true" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:endpoint>https://api.uat.westfield.io</con:endpoint><con:request/><con:originalUri>https://api.uat.westfield.io/deals</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters><entry key="per_page" value="9999999" xmlns="http://eviware.com/soapui/config"/></con:parameters><con:parameterOrder><con:entry>api_key</con:entry><con:entry>per_page</con:entry></con:parameterOrder></con:request></con:method></con:resource><con:resource name="deals details" path="/deals/{dealid}" id="0b088b06-4651-4f0d-829c-04d45d258bfb"><con:settings/><con:parameters><con:parameter><con:name>api_key</con:name><con:value>BEPH3JFgNsYetXCBx6tOdHGJzA6rwjgY</con:value><con:style>QUERY</con:style><con:default>BEPH3JFgNsYetXCBx6tOdHGJzA6rwjgY</con:default></con:parameter><con:parameter><con:name>dealid</con:name><con:value/><con:style>TEMPLATE</con:style><con:default/><con:description xsi:nil="true"/></con:parameter></con:parameters><con:method name="Method 1" id="40886a88-71f2-4ad9-a367-af078073911f" 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:ns="https://api.uat.westfield.io/deals/49697">ns:Response</con:element></con:representation><con:request name="Request 1" id="26d88f2b-3391-4782-8263-7cc1d7d1028e" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><entry key="Bypass-Cache" value="true" xmlns="http://eviware.com/soapui/config"/></con:setting></con:settings><con:endpoint>https://api.uat.westfield.io</con:endpoint><con:request/><con:originalUri>https://api.uat.westfield.io/deals/49697</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters><entry key="dealid" value="49697" xmlns="http://eviware.com/soapui/config"/></con:parameters><con:parameterOrder><con:entry>api_key</con:entry><con:entry>dealid</con:entry></con:parameterOrder></con:request></con:method></con:resource></con:interface><con:testSuite id="353b7d53-3eb7-4a6a-8d8b-f293c5c46dc3" name="TestSuite1"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase id="0c359688-3cbb-459b-876e-d13ad1f65cff" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="AllStores" searchProperties="true"><con:settings/><con:testStep type="restrequest" name="AllStores" id="db0c1163-cfc8-4a18-bf62-b6f682c9c4e2"><con:settings/><con:config service="https://api.uat.westfield.io" methodName="Stores" resourcePath="/v1/stores" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="AllStores" id="59a7d5bd-b5fe-441b-9408-3f82adb5ff1f" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>https://api.uat.westfield.io</con:endpoint><con:request/><con:originalUri>https://api.uat.westfield.io/v1/stores</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> | |
<con:entry key="per_page" value="999999999"/> | |
<con:entry key="api_key" value="BEPH3JFgNsYetXCBx6tOdHGJzA6rwjgY"/> | |
</con:parameters><con:parameterOrder><con:entry>api_key</con:entry><con:entry>per_page</con:entry></con:parameterOrder></con:restRequest></con:config></con:testStep><con:loadTest id="795ac0ac-0af1-42fd-a4b1-e0c0d49e1302" name="LoadTest 1"><con:settings/><con:threadCount>10</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>60</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:testCase id="5f2ffbd5-76de-45e6-b85d-1b2ce8d27b2e" failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="AllDeals" searchProperties="true"><con:settings/><con:testStep type="restrequest" name="AllDeals" id="35afd80f-1344-43bd-be97-095846d38a95"><con:settings/><con:config service="https://api.uat.westfield.io" methodName="Method 1" resourcePath="/deals" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="AllDeals" id="bf806bae-dbee-45e6-aece-9a4113a6c915" mediaType="application/json"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>https://api.uat.westfield.io</con:endpoint><con:request/><con:originalUri>https://api.uat.westfield.io/deals</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> | |
<con:entry key="per_page" value="99999999"/> | |
<con:entry key="api_key" value="BEPH3JFgNsYetXCBx6tOdHGJzA6rwjgY"/> | |
</con:parameters><con:parameterOrder><con:entry>api_key</con:entry><con:entry/></con:parameterOrder></con:restRequest></con:config></con:testStep><con:testStep type="transfer" name="Property Transfer" id="17c5650a-1169-4f5f-80ec-8401d4fbf70e"><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>deal_id</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>AllDeals</con:sourceStep><con:sourcePath>data[5].deal_id | |
</con:sourcePath><con:targetType>dealid</con:targetType><con:targetStep>DealsDetails</con:targetStep><con:type>JSONPATH</con:type><con:upgraded>true</con:upgraded></con:transfers></con:config></con:testStep><con:testStep type="restrequest" name="DealsDetails" id="8f3ab6dc-6c80-4dfa-9d04-a62195b03a48"><con:settings/><con:config service="https://api.uat.westfield.io" methodName="Method 1" resourcePath="/deals/{dealid}" xsi:type="con:RestRequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:restRequest name="DealsDetails" id="923875c4-e255-4e15-b6bc-22e66000e2be" mediaType="application/json"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>https://api.uat.westfield.io</con:endpoint><con:request/><con:originalUri>https://api.uat.westfield.io/deals/49046</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters> | |
<con:entry key="dealid" value="49046"/> | |
<con:entry key="api_key" value="BEPH3JFgNsYetXCBx6tOdHGJzA6rwjgY"/> | |
</con:parameters></con:restRequest></con:config></con:testStep><con:loadTest id="cc7fff30-2770-4cef-af8b-7c9a1b389f93" name="LoadTest 1"><con:settings/><con:threadCount>10</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>true</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>60</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Simple</con:type></con:loadStrategy><con:assertion type="Step Status" name="Step Status"/><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval></con:loadTest><con:properties/></con:testCase><con:properties/></con:testSuite><con:properties/><con:wssContainer/><con:oAuth2ProfileContainer/><con:sensitiveInformation/></con:soapui-project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment