08.09.2019
Sample Soapui Pro Project Xml Download Free

Soapui Free Download Windows 7

Save the project from the File menu, Save All Projects; Now we have a working SoapUI project. We could stay here. But that would mean that somebody would have to run the test manually. We would rather have a build system or similar to run the test often. Lets use the SoapUI project and connect to three different tools. These tools are: Maven; JUnit.
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up Find file Copy path

nmraoCreate RestMockSample-soapui-project.xml6d848ffApr 21, 2017
Sample Soapui Pro Project Xml Download Free Download
1 contributor
<?xml version='1.0' encoding='UTF-8'?> |
<con:soapui-projectid='fd15e5fc-9db0-4c01-b515-adebd8ed2369'activeEnvironment='Default'name='RestMockSample'resourceRoot=''soapui-version='5.3.0'xmlns:con='http://eviware.com/soapui/config'> |
<con:settings/> |
<con:interfacexsi:type='con:RestService'id='2ecce900-9d2d-437a-a57b-5751dbd5fcc3'wadlVersion='http://wadl.dev.java.net/2009/02'name='http://localhost:8080'type='rest'xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'> |
<con:settings/> |
<con:definitionCachetype='TEXT'rootPart=''/> |
<con:endpoints> |
<con:endpoint>http://localhost:8080</con:endpoint> |
</con:endpoints> |
<con:resourcename='products'path='/products/{productId}'id='ae6a1336-3c9f-499a-b2d7-5810a7d2fe40'> |
<con:settings/> |
<con:parameters> |
<con:parameter> |
<con:name>productId</con:name> |
<con:value/> |
<con:style>TEMPLATE</con:style> |
<con:default/> |
<con:descriptionxsi:nil='true'/> |
</con:parameter> |
</con:parameters> |
<con:methodname='Method 1'id='318319bd-33bd-4368-9394-0ecacdcbccf6'method='GET'> |
<con:settings/> |
<con:parameters/> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>404</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>404</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>404</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>404</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:representationtype='RESPONSE'> |
<con:mediaType>application/json</con:mediaType> |
<con:status>200</con:status> |
<con:params/> |
</con:representation> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>500</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>500</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>404</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>404</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>404</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>404</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>404</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>404</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>404</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>404</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:representationtype='FAULT'> |
<con:mediaTypexsi:nil='true'/> |
<con:status>404</con:status> |
<con:params/> |
<con:element>data</con:element> |
</con:representation> |
<con:requestname='Request 1'id='c764440f-e2fa-4dc6-9fcf-1f453265bdcc'mediaType='application/json'> |
<con:settings/> |
<con:endpoint>http://localhost:8080</con:endpoint> |
<con:request/> |
<con:credentials> |
<con:authType>No Authorization</con:authType> |
</con:credentials> |
<con:jmsConfigJMSDeliveryMode='PERSISTENT'/> |
<con:jmsPropertyConfig/> |
<con:parameters/> |
<con:parameterOrder> |
<con:entry>productId</con:entry> |
</con:parameterOrder> |
</con:request> |
</con:method> |
</con:resource> |
</con:interface> |
<con:testSuiteid='78b95652-2ff7-4378-9e03-4d9dd4eebb5a'name='TestSuite 1'> |
<con:settings/> |
<con:runType>SEQUENTIAL</con:runType> |
<con:testCaseid='6cbdc3db-bab5-406d-94d3-e535cebbecf5'failOnError='true'failTestCaseOnErrors='true'keepSession='false'maxResults='0'name='TestCase 1'searchProperties='true'> |
<con:settings/> |
<con:testSteptype='restrequest'name='REST Request'id='b3355704-09f2-4cf1-83a6-fce4e7d892b2'> |
<con:settings/> |
<con:configservice='http://localhost:8080'resourcePath='/products/{productId}'methodName='Method 1'xsi:type='con:RestRequestStep'xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'> |
<con:restRequestname='REST Request'id='c764440f-e2fa-4dc6-9fcf-1f453265bdcc'mediaType='application/json'> |
<con:settings> |
<con:settingid='com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers'><xml-fragment/></con:setting> |
</con:settings> |
<con:endpoint>http://localhost:8080</con:endpoint> |
<con:request/> |
<con:originalUri>http://localhost/products/1234</con:originalUri> |
<con:credentials> |
<con:authType>No Authorization</con:authType> |
</con:credentials> |
<con:jmsConfigJMSDeliveryMode='PERSISTENT'/> |
<con:jmsPropertyConfig/> |
<con:parameters> |
<entrykey='productId'value='1234'xmlns='http://eviware.com/soapui/config'/> |
</con:parameters> |
<con:parameterOrder> |
<con:entry>productId</con:entry> |
</con:parameterOrder> |
</con:restRequest> |
</con:config> |
</con:testStep> |
<con:properties/> |
</con:testCase> |
<con:properties/> |
</con:testSuite> |
<con:restMockServiceid='2835da44-037f-4648-9975-6e73e3d5419c'port='8080'path='/'host='AFF-DT1'name='REST MockService 1'> |
<con:settings/> |
<con:properties/> |
<con:restMockActionname='/products'method='GET'resourcePath='/products'id='8ef5b342-5e6a-4f91-bf5d-074fd1f7eaf3'> |
<con:settings/> |
<con:defaultResponse>Response 1</con:defaultResponse> |
<con:dispatchStyle>SCRIPT</con:dispatchStyle> |
<con:dispatchPath>context.productId = mockRequest.path.split('/').last()</con:dispatchPath> |
<con:responsename='Response 1'id='1f69ec67-de94-402b-8342-ef00c0f092eb'httpResponseStatus='200'mediaType='application/json'> |
<con:settings/> |
<con:responseContent>{ |
'product':'${productId}' |
}</con:responseContent> |
</con:response> |
</con:restMockAction> |
</con:restMockService> |
<con:properties/> |
<con:wssContainer/> |
<con:oAuth2ProfileContainer/> |
<con:oAuth1ProfileContainer/> |
<con:sensitiveInformation/> |
</con:soapui-project> |
Copy lines Copy permalink