123456789 |
- <?xml version="1.0" encoding="UTF-8"?>
- <con:soapui-project id="a13c12c2-de3e-4e45-8c55-b7e9afc3ea80" activeEnvironment="Default" name="SquadComposer" resourceRoot="" soapui-version="5.7.2" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:RestService" id="671b7b77-1ae0-477f-ba95-1cb5a555c059" 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:definitionCache/><con:endpoints><con:endpoint>http://localhost:5042</con:endpoint></con:endpoints><con:resource name="Health" path="/status/health" id="ce5de36a-98d4-4984-b8b2-d3e9ff78fb61"><con:settings/><con:parameters/><con:method name="Health 1" id="59482467-1c4c-4cc4-a38e-f19b5d6992a5" method="GET"><con:settings/><con:parameters/><con:representation type="RESPONSE"><con:mediaType>text/plain;charset=UTF-8</con:mediaType><con:status>200</con:status><con:params/><con:element>data</con:element></con:representation><con:request name="Request 1" id="c0bcabd9-26f9-46d4-9608-f55191d1ecc4" 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://localhost:5042</con:endpoint><con:request/><con:originalUri>http://localhost/status/health</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:request></con:method></con:resource><con:resource name="squads" path="/squads/" id="bea81bfa-be6a-4226-bd0d-dda90d1179a9"><con:settings/><con:parameters/><con:method name="list" id="462addbb-ca1e-4a73-9e4a-36096fb8f09d" method="GET"><con:settings/><con:parameters/><con:representation type="FAULT"><con:mediaType>application/json</con:mediaType><con:status>404</con:status><con:params/><con:element xmlns:squ="http://localhost/squads">squ:Fault</con:element></con:representation><con:representation type="RESPONSE"><con:mediaType>application/json</con:mediaType><con:status>200</con:status><con:params/><con:element>Response</con:element></con:representation><con:request name="Request 1" id="bd8c7c66-4424-4ccd-a32e-f9d3a67101b8" 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://localhost:5042</con:endpoint><con:request/><con:originalUri>http://localhost/squads</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:request></con:method><con:method name="create" id="6be71059-b58c-4f4b-9bec-e7cb9d216323" method="POST"><con:settings/><con:parameters/><con:representation type="FAULT"><con:mediaType>application/json</con:mediaType><con:status>500</con:status><con:params/><con:element xmlns:squ="http://localhost/squads/">squ:Fault</con:element></con:representation><con:representation type="REQUEST"><con:mediaType>application/json</con:mediaType><con:params/></con:representation><con:request name="Request 1" id="a513b9a3-cb21-4031-843d-90831d74b329" mediaType="application/json" postQueryString="false"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>http://localhost:5042</con:endpoint><con:request>{
- "name": "My Squad",
- "comment": "This is my squad",
- "mech1Id": 1,
- "mech2Id": 2,
- "mech3Id": 4
- }
- </con:request><con:originalUri>http://localhost/squads/</con:originalUri><con:credentials><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:request></con:method></con:resource></con:interface><con:properties/><con:wssContainer/><con:oAuth2ProfileContainer/><con:oAuth1ProfileContainer/></con:soapui-project>
|