<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project name="Sample SOAP Project Core" soapui-version="5.1.0-SNAPSHOT" resourceRoot="" id="9a18faae-53d4-41df-9779-e5d2b73f9ae8" abortOnError="false" runType="SEQUENTIAL" activeEnvironment="Default" xmlns:con="http://eviware.com/soapui/config"><con:settings><con:setting id="IncludeOverview">true</con:setting><con:setting id="IncludeResults">true</con:setting><con:setting id="FlowLayout">false</con:setting><con:setting id="ErrorDetails">true</con:setting><con:setting id="IncludeCoverage">true</con:setting><con:setting id="GeneratableJUnitReport@Style">Multiple Pages</con:setting><con:setting id="GeneratableJUnitReport@Folder">C:\dev\htmlreports</con:setting><con:setting id="ReportTitle">SoapUI Report</con:setting></con:settings><con:interface name="ServiceSoapBinding" bindingName="{http://www.soapui.org/sample/}ServiceSoapBinding" soapVersion="1_1" definition="WSDL-WADL/sample-service.wsdl" xsi:type="con:WsdlInterface" wsaVersion="NONE" id="cad43e59-c688-4894-a65e-03b87a23ca31" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:endpoints><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:endpoint>http://www.soapui.org/sample</con:endpoint></con:endpoints><con:operation action="http://www.soapui.org/sample/login" name="login" bindingOperationName="login" inputName="" isOneWay="false" receivesAttachments="false" sendsAttachments="false" type="Request-Response" id="bd71c401-a5af-420b-98ef-40c2fda8a388"><con:settings/><con:call name="login rq" outgoingWss="" incomingWss="" id="64668751-91f2-4310-871f-8772469a5594"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>Login</username>
 <password>Login123</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation action="http://www.soapui.org/sample/logout" name="logout" bindingOperationName="logout" inputName="" isOneWay="false" receivesAttachments="false" sendsAttachments="false" type="Request-Response" id="7d86e7c5-ac2f-4209-b480-20083388225c"><con:settings/><con:call name="logout rq" outgoingWss="" incomingWss="" id="ed9e7ee6-19ec-4ec9-b093-2198adf42f87"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:logout>
 <sessionid>21974891784000294</sessionid>
 </sam:logout>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation action="http://www.soapui.org/sample/search" name="search" bindingOperationName="search" inputName="" isOneWay="false" receivesAttachments="false" sendsAttachments="false" type="Request-Response" id="e21d7b56-c229-4dbd-a4b9-d38de5ae2a72"><con:settings/><con:call name="search rq" outgoingWss="" incomingWss="" id="0aaacb45-1edc-4117-9bee-e06e78ac942b"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>0154144954954053</sessionid>
 <searchstring>?</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation action="http://www.soapui.org/sample/buy" name="buy" bindingOperationName="buy" inputName="" isOneWay="false" receivesAttachments="false" sendsAttachments="false" type="Request-Response" id="50d613a9-f5a9-41d2-923e-51845905fbb1"><con:settings/><con:call name="buy rq" outgoingWss="" incomingWss="" id="e848e587-15e0-494f-af40-20be741c8f20"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:buy>
 <sessionid>?</sessionid>
 <buystring>?</buystring>
 </sam:buy>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:definitionCache rootPart="WSDL-WADL/sample-service.wsdl"><con:part><con:url>WSDL-WADL/sample-service.wsdl</con:url><con:content><wsdl:definitions name="sample" targetNamespace="http://www.soapui.org/sample/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://www.soapui.org/sample/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
 <wsdl:types>
 <xsd:schema targetNamespace="http://www.soapui.org/sample/">
 <xsd:element name="searchResponseContent">
 <xsd:complexType>
 <xsd:sequence>
 <xsd:element name="item" type="tns:ItemType" maxOccurs="unbounded"/>
 </xsd:sequence>
 </xsd:complexType>
 </xsd:element>
 <xsd:complexType name="ItemType">
 <xsd:sequence>
 <xsd:element name="id" type="xsd:string"/>
 <xsd:element name="description" type="xsd:string"/>
 <xsd:element name="price" type="xsd:string"/>
 </xsd:sequence>
 </xsd:complexType>
 <xsd:element name="buyResponseContent">
 <xsd:complexType>
 <xsd:sequence>
 <xsd:element name="purchasestatus" type="tns:PurchaseStatusType" maxOccurs="unbounded"/>
 </xsd:sequence>
 </xsd:complexType>
 </xsd:element>
 <xsd:complexType name="PurchaseStatusType">
 <xsd:sequence>
 <xsd:element name="id" type="xsd:string"/>
 <xsd:element name="stockStatus" type="xsd:string"/>
 <xsd:element name="expectedDelivery" type="xsd:string"/>
 </xsd:sequence>
 </xsd:complexType>
 </xsd:schema>
 </wsdl:types>
 <wsdl:message name="loginRequest">
 <wsdl:part name="username" type="xsd:string"/>
 <wsdl:part name="password" type="xsd:string"/>
 </wsdl:message>
 <wsdl:message name="loginResponse">
 <wsdl:part name="sessionid" type="xsd:string"/>
 </wsdl:message>
 <wsdl:message name="logoutResponse">
 <wsdl:part name="sessioninfo" type="xsd:string"/>
 </wsdl:message>
 <wsdl:message name="logoutRequest">
 <wsdl:part name="sessionid" type="xsd:string"/>
 </wsdl:message>
 <wsdl:message name="searchRequest">
 <wsdl:part name="sessionid" type="xsd:string"/>
 <wsdl:part name="searchstring" type="xsd:string"/>
 </wsdl:message>
 <wsdl:message name="searchResponse">
 <wsdl:part name="searchresult" element="tns:searchResponseContent"/>
 </wsdl:message>
 <wsdl:message name="buyRequest">
 <wsdl:part name="sessionid" type="xsd:string"/>
 <wsdl:part name="buystring" type="xsd:string"/>
 </wsdl:message>
 <wsdl:message name="buyResponse">
 <wsdl:part name="buyresult" element="tns:buyResponseContent"/>
 </wsdl:message>
 <wsdl:message name="login_faultMsg">
 <wsdl:part name="loginFault" type="xsd:string"/>
 </wsdl:message>
 <wsdl:message name="logout_faultMsg">
 <wsdl:part name="logoutFault" type="xsd:string"/>
 </wsdl:message>
 <wsdl:message name="search_faultMsg">
 <wsdl:part name="searchFault" type="xsd:string"/>
 </wsdl:message>
 <wsdl:message name="buy_faultMsg">
 <wsdl:part name="buyFault" type="xsd:string"/>
 </wsdl:message>
 <wsdl:portType name="ISampleService">
 <wsdl:operation name="login">
 <wsdl:input message="tns:loginRequest"/>
 <wsdl:output message="tns:loginResponse"/>
 <wsdl:fault name="fault" message="tns:login_faultMsg"/>
 </wsdl:operation>
 <wsdl:operation name="logout">
 <wsdl:input message="tns:logoutRequest"/>
 <wsdl:output message="tns:logoutResponse"/>
 <wsdl:fault name="fault" message="tns:logout_faultMsg"/>
 </wsdl:operation>
 <wsdl:operation name="search">
 <wsdl:input message="tns:searchRequest"/>
 <wsdl:output message="tns:searchResponse"/>
 <wsdl:fault name="fault" message="tns:search_faultMsg"/>
 </wsdl:operation>
 <wsdl:operation name="buy">
 <wsdl:input message="tns:buyRequest"/>
 <wsdl:output message="tns:buyResponse"/>
 <wsdl:fault name="fault" message="tns:buy_faultMsg"/>
 </wsdl:operation>
 </wsdl:portType>
 <wsdl:binding name="ServiceSoapBinding" type="tns:ISampleService">
 <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
 <wsdl:operation name="login">
 <soap:operation soapAction="http://www.soapui.org/sample/login"/>
 <wsdl:input>
 <soap:body use="literal" namespace="http://www.soapui.org/sample/"/>
 </wsdl:input>
 <wsdl:output>
 <soap:body use="literal" namespace="http://www.soapui.org/sample/"/>
 </wsdl:output>
 <wsdl:fault name="fault">
 <soap:fault use="literal" name="fault"/>
 </wsdl:fault>
 </wsdl:operation>
 <wsdl:operation name="logout">
 <soap:operation soapAction="http://www.soapui.org/sample/logout"/>
 <wsdl:input>
 <soap:body use="literal" namespace="http://www.soapui.org/sample/"/>
 </wsdl:input>
 <wsdl:output>
 <soap:body use="literal" namespace="http://www.soapui.org/sample/"/>
 </wsdl:output>
 <wsdl:fault name="fault">
 <soap:fault use="literal" name="fault"/>
 </wsdl:fault>
 </wsdl:operation>
 <wsdl:operation name="search">
 <soap:operation soapAction="http://www.soapui.org/sample/search"/>
 <wsdl:input>
 <soap:body use="literal" namespace="http://www.soapui.org/sample/"/>
 </wsdl:input>
 <wsdl:output>
 <soap:body use="literal" namespace="http://www.soapui.org/sample/"/>
 </wsdl:output>
 <wsdl:fault name="fault">
 <soap:fault use="literal" name="fault"/>
 </wsdl:fault>
 </wsdl:operation>
 <wsdl:operation name="buy">
 <soap:operation soapAction="http://www.soapui.org/sample/buy"/>
 <wsdl:input>
 <soap:body use="literal" namespace="http://www.soapui.org/sample/"/>
 </wsdl:input>
 <wsdl:output>
 <soap:body use="literal" namespace="http://www.soapui.org/sample/"/>
 </wsdl:output>
 <wsdl:fault name="fault">
 <soap:fault use="literal" name="fault"/>
 </wsdl:fault>
 </wsdl:operation>
 </wsdl:binding>
 <wsdl:service name="SampleService">
 <wsdl:port name="SamplePort" binding="tns:ServiceSoapBinding">
 <soap:address location="http://www.soapui.org/sample"/>
 </wsdl:port>
 </wsdl:service>
</wsdl:definitions></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache></con:interface><con:testSuite name="Simple TestSuite" id="93f915cc-dfd5-492c-850d-831ccda88ca4"><con:description>This is a sample TestSuite.

It contains a number of TestCases Illustrating a number of principles with SoapUI.

Try each test and read the descriptions.</con:description><con:settings><con:setting id="ExportJUnitReportAction@report-directory">C:\dev\testreport</con:setting><con:setting id="ExportJUnitReportAction@clear-existing">true</con:setting><con:setting id="ExportJUnitReportAction@format">Frames</con:setting><con:setting id="CreateReportAction@report-directory">C:\dev\testreport</con:setting><con:setting id="CreateReportAction@format">Multiple Pages</con:setting><con:setting id="IncludeOverview">true</con:setting><con:setting id="IncludeResults">true</con:setting><con:setting id="FlowLayout">false</con:setting><con:setting id="ErrorDetails">true</con:setting><con:setting id="IncludeCoverage">true</con:setting><con:setting id="ReportTitle">Default Title</con:setting></con:settings><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="Simple Login and Logout w. Properties Steps" searchProperties="true" maxResults="0" id="e48ca537-bd68-4f56-80b7-ce8c8242c751"><con:description>TestCase - Simple Login and Logout

This one is easy...

The test will first login and then it will logout. :-)

We are using a Property Transfer Step to move password and user name from a Properties Step to the 
Request and a second Property Transfer Step to move the sessionID we got in the login response to the logout request..</con:description><con:settings><con:setting id="ReportTitle">Default Titlkjle</con:setting></con:settings><con:testStep type="properties" name="Properties - Username and Password" id="7c494273-7f97-4a11-a365-3cc48b5e8920"><con:settings/><con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties><con:property><con:name>Username</con:name><con:value>Loginn${=String.valueOf(Math.random()).substring( 0, 5 )}</con:value></con:property><con:property><con:name>Password</con:name><con:value>Loginn123</con:value></con:property></con:properties></con:config></con:testStep><con:testStep type="transfer" name="Property Transfer - Move Username and Password" id="497813bf-81fc-49bf-8046-298f290a86d9"><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" transferChildNodes="false" useXQuery="false" entitize="false"><con:name>TransferUser</con:name><con:sourceType>Username</con:sourceType><con:sourceStep>Properties - Username and Password</con:sourceStep><con:targetType>Request</con:targetType><con:targetStep>Test Request - login</con:targetStep><con:targetPath>declare namespace sam='http://www.soapui.org/sample/';
//sam:login/username</con:targetPath></con:transfers><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" transferToAll="false"><con:name>TransferPass</con:name><con:sourceType>Password</con:sourceType><con:sourceStep>Properties - Username and Password</con:sourceStep><con:targetType>Request</con:targetType><con:targetStep>Test Request - login</con:targetStep><con:targetPath>declare namespace sam='http://www.soapui.org/sample/';
//sam:login/password</con:targetPath></con:transfers></con:config></con:testStep><con:testStep type="request" name="Test Request - login" id="557804f3-8c20-4840-9716-93513cf0c2f1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - login" outgoingWss="" incomingWss="" id="eb771584-ad25-4a49-9316-39c466a4fe04"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>Loginn${=String.valueOf(Math.random()).substring( 0, 5 )}</username>
 <password>Loginn123</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="eccf80d5-60f4-48e8-9551-4f8c7d9efb8e"/><con:assertion type="Schema Compliance" id="d5e307b0-a7a8-4e94-9249-6d2fc9dc4f24"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="e7bfc8ec-06aa-4acf-afba-e6faa2b26263"/><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Property Transfer - Move sessionID" id="dff3263f-fed5-49b2-8ced-80c5142f9ae5"><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" transferToAll="false" ignoreEmpty="false"><con:name>MoveSessionId</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>Test Request - login</con:sourceStep><con:sourcePath>declare namespace sam='http://www.soapui.org/sample/';
//sam:loginResponse/sessionid</con:sourcePath><con:targetType>Request</con:targetType><con:targetStep>Test Request - logout</con:targetStep><con:targetPath>declare namespace sam='http://www.soapui.org/sample/';
//sam:logout/sessionid</con:targetPath></con:transfers></con:config></con:testStep><con:testStep type="request" name="Test Request - logout" id="063e2b4d-66c2-4df5-ad47-b756afa44be7"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>logout</con:operation><con:request name="Test Request - logout" outgoingWss="" incomingWss="" id="b8be4b90-b87f-487b-8574-a329f4e12d4a"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:logout>
 <sessionid>7457366704567645</sessionid>
 </sam:logout>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="6cf16cc9-70f8-43c6-b87c-76ac96bc9227"/><con:assertion type="Schema Compliance" id="5703a506-38bb-4201-973a-60dd2515808b"><con:configuration/></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest 1" id="2e3517e5-cbf9-4f56-ad33-3a56cdbbec52"><con:settings><con:setting id="ReportTitle">Default Title</con:setting><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>5</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>false</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:statisticsLogFolder/><con:statisticsLogInterval>0</con:statisticsLogInterval><con:logStatisticsOnThreadChange>false</con:logStatisticsOnThreadChange><con:cancelOnReachedLimit>false</con:cancelOnReachedLimit><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval><con:updateStatisticsPerTestStep>false</con:updateStatisticsPerTestStep><con:reportParameters/></con:loadTest><con:properties/><con:reportParameters><con:property><con:name>ReportTitle</con:name><con:value>${=testCase.name}</con:value></con:property></con:reportParameters></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="Simple Login and Logout Property Expansion" searchProperties="true" maxResults="0" id="b99e440c-c19e-4818-a805-9b130aa66b13"><con:description>TestCase - Simple Login and Logout

This one is easy and a little tighter than "Simple Login and Logout w. Properties Steps"

The test will first login and then it will logout. :-)

We are using a Property Transfer Step to move password and user name from a Properties 
Step to the Request and a second Property Transfer Step to move the sessionID we got in the login response to the logout request..</con:description><con:settings/><con:testStep type="properties" name="Properties - Username and Password" id="05da0088-783c-4444-97d1-9486a52935bc"><con:settings/><con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties><con:property><con:name>Username</con:name><con:value>Loginn${=String.valueOf(Math.random()).substring( 0, 5 )}</con:value></con:property><con:property><con:name>Password</con:name><con:value>Loginu123</con:value></con:property></con:properties></con:config></con:testStep><con:testStep type="request" name="Test Request - login" id="4b480fd2-584a-4032-8090-3b41bf295807"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - login" outgoingWss="" incomingWss="" id="37ef55b0-c57f-4b33-a96d-30b03afef447"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>${Properties - Username and Password#Username}</username>
 <password>${Properties - Username and Password#Password}</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="a616fa6e-8e15-41a9-b65c-c13942518227"/><con:assertion type="Schema Compliance" id="42564a82-20fa-421c-a89f-49ed5917f641"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="a7e60daf-3650-4e98-8604-f37f422bdab7"/><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - logout" id="74f3e7f1-7507-4944-9082-a02863190fdf"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>logout</con:operation><con:request name="Test Request - logout" outgoingWss="" incomingWss="" id="d96c05b9-b8fc-440d-99c7-12cd97f45780"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:logout>
 <sessionid>${Test Request - login#Response#//sam:loginResponse/sessionid}</sessionid>
 </sam:logout>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="f1f2e41d-cb84-4131-8088-b6484bf3073f"/><con:assertion type="Schema Compliance" id="5c8b3d62-2c9e-4c99-b6fd-1e2fc6609efa"><con:configuration/></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/><con:reportParameters/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="Simple Login and Logout and Login Again" searchProperties="true" maxResults="0" id="4a2bfe83-78c8-4ee8-9d6a-e3ec52ccd91b"><con:description>TestCase - Simple Login and Logout

This one is a bit wonky, but has its reasons. What we are testing is that we are able to login again after a logout.

The test will:
1) login 
2) logout
3) login again
4) logout again 

The last step is there in order for us to be able to run the test continuously.</con:description><con:settings/><con:testStep type="properties" name="Properties - Username and Password" id="465aa81e-9c67-4c28-b7a4-bab5271514af"><con:settings/><con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties><con:property><con:name>Username</con:name><con:value>Loginn${=String.valueOf(Math.random()).substring( 0, 5 )}</con:value></con:property><con:property><con:name>Password</con:name><con:value>Loginu123</con:value></con:property></con:properties></con:config></con:testStep><con:testStep type="request" name="Test Request - login" id="a3e3f69b-1ac0-4516-b093-119f99511178"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - login" outgoingWss="" incomingWss="" id="0598ede4-b5fd-4c92-8e6f-54e50bfade3f"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>${Properties - Username and Password#Username}</username>
 <password>${Properties - Username and Password#Password}</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="f21620c5-3ae0-4362-a48b-4dd82c19cc89"/><con:assertion type="Schema Compliance" id="190c9d9f-f81c-41c0-9ec5-e5793d2c39ef"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="933410c2-2cf2-427c-919b-dd57ca0168a3"/><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - logout" id="b24399b1-4972-4b7c-b37a-6d02889ef8f3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>logout</con:operation><con:request name="Test Request - logout" outgoingWss="" incomingWss="" id="28143abd-f9e8-407e-8435-734ae90e3d8e"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:logout>
 <sessionid>${Test Request - login#Response#//sam:loginResponse/sessionid}</sessionid>
 </sam:logout>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="2907d4f4-61ad-4a72-8971-c55d709f496b"/><con:assertion type="Schema Compliance" id="0bfae5e7-f56b-4863-a205-eff59d30991a"><con:configuration/></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - login again" id="d2bab197-0d87-475c-b8e4-b9b0bbba47e5"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - login again" outgoingWss="" incomingWss="" id="013d8c62-131c-459e-9582-22f72f709279"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>${Properties - Username and Password#Username}</username>
 <password>${Properties - Username and Password#Password}</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="19304d61-7ced-4996-8430-eecfc0cb5f13"/><con:assertion type="Schema Compliance" id="40b36669-2669-4586-9e0a-05a42ac5192b"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="989dc0c3-359c-401e-870e-8ff211880e7b"/><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - logout again" id="7207ff12-3b31-420a-8598-795c515462e1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>logout</con:operation><con:request name="Test Request - logout again" outgoingWss="" incomingWss="" id="7196e17e-a00d-4345-91d4-3e202ed24a56"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:logout>
 <sessionid>${Test Request - login again#Response#//sam:loginResponse/sessionid}</sessionid>
 </sam:logout>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="86a1170e-efcd-49a6-b8a3-ca6401553c88"/><con:assertion type="Schema Compliance" id="3f988f0b-1777-4d5e-abd9-fbcf7da2174a"><con:configuration/></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/><con:reportParameters/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="Simple Search TestCase" searchProperties="true" maxResults="0" id="f41faf48-26b9-416b-bd93-aaa969c9236a"><con:description>TestCase - Simple Search TestCase


The test extends the previous TastCases by doing a simple search between login and logout.

We are using a Property Transfer Step to move password and user name from a Properties Step to the 
Request and a second Property Transfer Step to move the sessionID we got in the login response to the logout request..</con:description><con:settings/><con:testStep type="properties" name="Properties - Username and Password" id="0e16df5c-1f88-4f01-b3dd-0afaaddc4a7d"><con:settings/><con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties><con:property><con:name>Username</con:name><con:value>Logini${=String.valueOf(Math.random()).substring( 0, 5 )}</con:value></con:property><con:property><con:name>Password</con:name><con:value>Logini123</con:value></con:property><con:property><con:name>SearchPhrase</con:name><con:value>Item 1</con:value></con:property></con:properties></con:config></con:testStep><con:testStep type="transfer" name="Property Transfer - Move Username and Password" id="97d162db-bc1d-4e7d-9163-d9f5075b46a9"><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"><con:name>TransferUser</con:name><con:sourceType>Username</con:sourceType><con:sourceStep>Properties - Username and Password</con:sourceStep><con:targetType>Request</con:targetType><con:targetStep>Test Request - login</con:targetStep><con:targetPath>declare namespace sam='http://www.soapui.org/sample/';
//sam:login/username</con:targetPath></con:transfers><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" transferToAll="false"><con:name>TransferPass</con:name><con:sourceType>Password</con:sourceType><con:sourceStep>Properties - Username and Password</con:sourceStep><con:targetType>Request</con:targetType><con:targetStep>Test Request - login</con:targetStep><con:targetPath>declare namespace sam='http://www.soapui.org/sample/';
//sam:login/password</con:targetPath></con:transfers></con:config></con:testStep><con:testStep type="request" name="Test Request - login" id="83eebd9e-cbff-4284-868a-d03988cface4"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - login" outgoingWss="" incomingWss="" id="23ba5de1-d941-4ad4-bee7-3506545648fd"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>Logini${=String.valueOf(Math.random()).substring( 0, 5 )}</username>
 <password>Logini123</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="d6e010a6-df88-4b19-a53e-5a9a1d91c98f"/><con:assertion type="Schema Compliance" id="943874d3-eca7-49c8-bc66-aa7ff6544da5"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="4d19c387-e61f-4edb-99ce-11b45567327e"/><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="transfer" name="Property Transfer - Move sessionID" id="a3168c75-8874-49ae-a586-0a6cbc65fff3"><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" transferToAll="false" ignoreEmpty="false"><con:name>MoveSessionId</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>Test Request - login</con:sourceStep><con:sourcePath>declare namespace sam='http://www.soapui.org/sample/';
//sam:loginResponse/sessionid</con:sourcePath><con:targetType>Request</con:targetType><con:targetStep>Test Request - logout</con:targetStep><con:targetPath>declare namespace sam='http://www.soapui.org/sample/';
//sam:logout/sessionid</con:targetPath></con:transfers><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false"><con:name>moveSessionID Search</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>Test Request - login</con:sourceStep><con:sourcePath>declare namespace sam='http://www.soapui.org/sample/';
//sam:loginResponse/sessionid</con:sourcePath><con:targetType>Request</con:targetType><con:targetStep>Test Request - search</con:targetStep><con:targetPath>declare namespace sam='http://www.soapui.org/sample/';
//sam:search/sessionid</con:targetPath></con:transfers><con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false"><con:name>MoveSearchstring</con:name><con:sourceType>SearchPhrase</con:sourceType><con:sourceStep>Properties - Username and Password</con:sourceStep><con:sourcePath/><con:targetType>Request</con:targetType><con:targetStep>Test Request - search</con:targetStep><con:targetPath>declare namespace sam='http://www.soapui.org/sample/';
//sam:search/searchstring</con:targetPath></con:transfers></con:config></con:testStep><con:testStep type="request" name="Test Request - search" id="cefee572-8151-4836-8944-1712d2a717e1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - search" outgoingWss="" incomingWss="" id="32b115c8-e933-49a3-b4e4-5e0b9586428d"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>23053886437829452</sessionid>
 <searchstring>Item 1</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="18c3bb27-f4af-4dba-8bbf-ba281e8a2d79"/><con:assertion type="Schema Compliance" id="56208e31-21e6-46e4-9501-3c9414081f3e"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="06440ca6-1d1c-4097-944b-a687f7979e35"/><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - logout" id="bd328359-e4df-4841-a605-3a38265e20a7"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>logout</con:operation><con:request name="Test Request - logout" outgoingWss="" incomingWss="" id="44ad4f70-0d9a-4206-b78c-567df4594a51"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:logout>
 <sessionid>23053886437829452</sessionid>
 </sam:logout>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="265c6da2-f1a4-43f5-8012-a6fbfea0fd02"/><con:assertion type="Schema Compliance" id="34307f80-7d6d-498e-ab82-e09eddbbf6a8"><con:configuration/></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/><con:reportParameters/></con:testCase><con:properties/><con:setupScript/><con:tearDownScript/><con:reportScript>import soapui.demo.subreport.SystemPropertiesSubReport

if( !report.hasSubReport( "SystemProperties" ))
{
	report.addSubReport( new SystemPropertiesSubReport( testSuite ))
}
	</con:reportScript><con:reportParameters/></con:testSuite><con:testSuite name="TestSuite fails if we don't get faults" id="72c9ec8e-fe32-4848-bebd-303fe1c54534"><con:description>This is a complementary TestSuite that illustrates something important.

Do not only test that your Web Service works under the right conditions, also test that it work under the wrong ones.

One of the strengths of SoapUI is the ability do quickly create a number of destructive tests, that confirms that the your Web Service handles input errors, abuse, input faults etc. correctly.</con:description><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="TestCase - Invalid Login" searchProperties="true" maxResults="0" id="08759721-5f14-441f-8882-24bbbb27501c"><con:description>Now, what's this? TestCases that we want to fail?

Yes, sometimes it's a great idea to test that the Web Service fail when it should and fail correctly.
Therefore the TestCase will pass if we get fails for every test in the Case.

These tests are for login alone.</con:description><con:settings/><con:testStep type="request" name="Test Request - login wrong username" id="e017cabc-2410-4d53-9ee2-e048bb56af8e"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - login wrong username" outgoingWss="" incomingWss="" id="8c642c1e-b47c-4bf6-b21f-8f60cb149a15"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>Logi</username>
 <password>Loginn123</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="e1409d49-85c2-4a6f-a0f4-c54e64549d95"/><con:assertion type="Schema Compliance" id="773852cc-f120-4b47-b197-060abb0b93d4"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="cf538cae-9955-4c31-887f-6a9c930638df"/><con:assertion type="XPath Match" id="d545cb47-c42a-4ff3-ab3b-a25d9a4dbaaf"><con:configuration><path>declare namespace sam='http://www.soapui.org/sample/';
//detail/sam:loginFault</path><content>The login credentials are invalid</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Password without numbers" id="1ba5b892-ddc0-4f82-aaf5-ea9102e1a03a"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - Password without numbers" outgoingWss="" incomingWss="" id="5ad7990e-486f-43f5-a971-8a09ee9812b2"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>Loginn</username>
 <password>Loginn</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="ee03fe0f-550c-4b7b-885f-5f36da4b26d6"/><con:assertion type="Schema Compliance" id="6a1614fe-b06e-49c0-b4c3-e0da5241fc54"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="aa1f5b16-b775-4bce-81ef-a85b388caed2"/><con:assertion type="XPath Match" id="f311bbe3-dfc2-4547-8d86-d729dc4c00b5"><con:configuration><path>declare namespace sam='http://www.soapui.org/sample/';
//detail/sam:loginFault</path><content>The login credentials are invalid</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - To long User/Pass Combo (25)" id="8e482029-ffa9-4983-a526-e0b85d3604e4"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - To long User/Pass Combo (25)" outgoingWss="" incomingWss="" id="63f5800d-1071-47e0-ac0a-d8858bf5f1a8"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>Loginnnnnnsdfgdfgf</username>
 <password>Loginnnnnn123</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="39b0333c-d852-4e36-8c31-f82805e09235"/><con:assertion type="Schema Compliance" id="63cafcdf-4fa3-4bd9-b30b-598db9a7d0a4"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="c4ce241a-4ca2-4882-b3ab-e498d298ff48"/><con:assertion type="XPath Match" id="a7f5b1e7-5723-4e0d-afe7-a4108fce5e61"><con:configuration><path>declare namespace sam='http://www.soapui.org/sample/';
//detail/sam:loginFault</path><content>The login credentials are invalid</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - To short User/Pass Combo (9)" id="bb6c02d1-b1e8-4c83-b697-4a2118d0ee09"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - To short User/Pass Combo (9)" outgoingWss="" incomingWss="" id="050f0947-3e56-4303-9ad4-4dc2f768eda5"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>Log</username>
 <password>Log123</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="dbcfea17-1eae-4bd3-8afb-4eb319ee208a"/><con:assertion type="Schema Compliance" id="d9fbb375-6352-4ecb-af79-3fe1cbf22efc"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="9cf93905-1906-494b-bf65-126a9619fa63"/><con:assertion type="XPath Match" id="c32b8c32-5f3a-49eb-b005-e602c838f1f4"><con:configuration><path>declare namespace sam='http://www.soapui.org/sample/';
//detail/sam:loginFault</path><content>The login credentials are invalid</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Double Login step 1 (SUCCESS)" id="d9c5d8c4-b967-46b0-9bb7-95d26d77136d"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - Double Login step 1 (SUCCESS)" outgoingWss="" incomingWss="" id="88ad117c-1236-4a91-9c20-d550e0487a75"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>Login</username>
 <password>Login123</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="dd3988c4-d2dd-44db-ad0e-c01db8aca64e"/><con:assertion type="Schema Compliance" id="af7fc21b-959b-4905-b531-4f0d811c3a80"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="ece5fac6-5fa3-49b0-919e-43de32f225e6"/><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Double Login step 2 (FAIL)" id="9e6fd9a0-904b-47ba-8b19-e77d48acb848"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - Double Login step 2 (FAIL)" outgoingWss="" incomingWss="" id="4658ac0d-8b5d-42fe-8e4b-512bd3e77056"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>Login</username>
 <password>Login123</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="943ffe54-5475-4db0-8f69-49ea6c799cab"/><con:assertion type="Schema Compliance" id="60d71cb9-77cc-456a-839e-f4487480d186"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="2f202786-17fa-481b-89ce-cbd00f92ed6b"/><con:assertion type="XPath Match" id="34be28c8-2904-49c6-9bdb-c22ee96b9e8a"><con:configuration><path>//faultstring</path><content>Already Login</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - logout" id="f6b8cd7d-3479-4bf9-9fb4-7d114efd3286"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>logout</con:operation><con:request name="Test Request - logout" outgoingWss="" incomingWss="" id="556d162e-6094-47d3-9719-cd8446537c29"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:logout>
 <sessionid>${Test Request - Double Login step 1 (SUCCESS)#Response#//sam:loginResponse/sessionid}</sessionid>
 </sam:logout>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="ad146a17-d700-4db7-884f-aa6ba7603c55"/><con:assertion type="Schema Compliance" id="2d32b106-1432-4721-9a7e-3f8d2d2eb2e9"><con:configuration/></con:assertion><con:assertion type="XPath Match" id="bde7a546-90af-40c3-95cd-c8aa4e0f3d7c"><con:configuration><path>declare namespace sam='http://www.soapui.org/sample/';
//sam:logoutResponse/sessioninfo</path><content>OK</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/><con:reportParameters/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="TestCase - Invalid Search" searchProperties="true" maxResults="0" id="b039ef15-91b1-4e97-9d17-f0bfb2e1257a"><con:description>Another batch of TestCases that we want to fail?

These tests expands on what we did with "TestCase - Invalid Login" and shows some important test that you always should have.

1) If you have a Web Service that depends on logging in, always make sure that nothing can be done wothout logging in. Don't make one test, make several.
2) If you have a Web Service that depends on logging in, create a number of test with the user logged in.
3) Create SQL injections test. Sure this should not never ever happend, but it does... And when it does it is bad. It is easy to create with SoapUI and will make you sleep easier at night.
4) Always test what happends when you try to make a call quickly after logging out.
</con:description><con:settings/><con:testStep type="properties" name="Properties - Correct Session Property" id="f81a380f-a6ad-4373-a17f-92af52e777ac"><con:settings/><con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties><con:property><con:name>Session</con:name><con:value>29711622719335506</con:value></con:property></con:properties></con:config></con:testStep><con:testStep type="request" name="Test Request - Correct Search wo Login" id="05c0c6ef-15b8-4b96-afa4-a49e4fb5d877"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - Correct Search wo Login" outgoingWss="" incomingWss="" id="4cf7961b-ef8e-4361-b0b4-7d7ad454ef7d"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>${Correct Session Property#Session}</sessionid>
 <searchstring>Item 4</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="875652e8-bf7e-47d5-bb1c-d857c2f91b2f"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="a9317cdd-add7-435a-9201-8764405ca317"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="7d2b45af-1c96-43a9-bdf3-257cfcc40f21"/><con:assertion type="XPath Match" id="49fa971d-82f6-4856-90c2-9b219583a56e"><con:configuration><path>//faultstring</path><content>Invalid Session Id</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Illegal Search wo Login" id="14569466-61e1-4125-86ed-b56eea0e1389"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - Illegal Search wo Login" outgoingWss="" incomingWss="" id="f4dc4ddb-39c4-45d5-bc5f-362b817a60f2"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>${Correct Session Property#Session}</sessionid>
 <searchstring>Item 7</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="5742b701-0ad3-4c22-9bdc-ba9c375c25dd"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="c2faaa4a-9c50-4ca1-aad9-97fb19290f07"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="053b398a-08b2-4f46-80a9-c5acb70103f8"/><con:assertion type="XPath Match" id="aa948b5d-a64e-48a7-8e63-1610e6d32377"><con:configuration><path>//faultstring</path><content>Invalid Session Id</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Empty Search wo. Login" id="973ca037-a496-4103-83a0-b8d746aa16aa"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - Empty Search wo. Login" outgoingWss="" incomingWss="" id="a82cfadf-0e6b-4bc2-a905-ff49bfb0ca15"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>${Correct Session Property#Session}</sessionid>
 <searchstring/>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="f38dd62f-1c66-43d7-bf05-cb3089c08a82"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="c7f83796-67e4-4e58-b568-db588d14cc5a"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="ef6d198c-8fcc-4b44-817c-ebe4cac71829"/><con:assertion type="XPath Match" id="4c43a3df-7a77-457f-a5a7-20e678e82b29"><con:configuration><path>//faultstring</path><content>Invalid Session Id</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Illegal Session wo. Login" id="5693b10d-7547-4baa-b213-347b62f2631e"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - Illegal Session wo. Login" outgoingWss="" incomingWss="" id="d7b91c18-2b88-453c-bf29-a6ac4cff17c9"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>6767676767676</sessionid>
 <searchstring>Item 1</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="f77c5890-6341-4b56-894d-c3dfff9067f0"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="0d1a1f27-e316-4d17-95e3-7d94e955624c"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="2bcb9229-d443-4d3e-836e-b5acba621a56"/><con:assertion type="XPath Match" id="dc3edc93-88bd-4b7f-9124-164d172f4f30"><con:configuration><path>//faultstring</path><content>Invalid Session Id</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - SQL Injection SearchString wo. Login" id="0d6d3f86-775f-452a-85c1-c620b02e2f6f"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - SQL Injection SearchString wo. Login" outgoingWss="" incomingWss="" id="dc84bb59-57c7-45b5-b814-e473befa9094"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>${Correct Session Property#Session}</sessionid>
 <searchstring>Select * from Customers</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="693dfcde-b1ed-417c-bf0e-b2887110e546"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="94dabe90-61f5-47ba-b184-44a9ca8e5f7a"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="9ba0575f-2988-45a3-a5c8-70e17cd02a36"/><con:assertion type="XPath Match" id="ed939787-d3e5-4e01-996f-6c74e6cd1fdc"><con:configuration><path>//faultstring</path><content>Invalid Session Id</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - SQL Injection Session wo. Login" id="296facb6-2e0c-4353-8170-6d85af325aa9"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - SQL Injection Session wo. Login" outgoingWss="" incomingWss="" id="28821d37-236a-4bc2-82f7-ee9f19f3c123"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>Select * from Customers</sessionid>
 <searchstring>Item 2</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="8fb9e7c8-ab3a-4da0-a989-4360d956cff0"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="7543009f-5178-4a7f-9a35-5646771fc2a3"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="db1e61c1-2a51-4d13-9334-bb8ff83323ae"/><con:assertion type="XPath Match" id="14ee2eb0-4f80-40eb-b2b7-0ae46df67a4a"><con:configuration><path>//faultstring</path><content>Invalid Session Id</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Double SessionIDs wo. Login" id="f5acd9aa-d675-4cc9-9c2e-2ce64bce9b0e"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - Double SessionIDs wo. Login" outgoingWss="" incomingWss="" id="41c53469-79dc-406f-bc26-8ba5b6c84997"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>${Correct Session Property#Session}</sessionid>
	 <sessionid>${Correct Session Property#Session}</sessionid>
 <searchstring>Item 2</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="49639732-0520-42e2-b215-03f5a36e7b60"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="4e577361-8193-40b1-9f0d-5957c7319ebc"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="11e770ff-67ca-4baf-a11a-da0bd95b4f2f"/><con:assertion type="XPath Match" id="7c372548-a32d-47a5-9d52-235638f9c754"><con:configuration><path>//faultstring</path><content>Missing operation for soapAction [http://www.soapui.org/sample/search] and body element [{http://www.soapui.org/sample/}search] with SOAP Version [SOAP 1.1]</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Login" id="1688a7d6-e6ac-4c8d-97cc-aa85204b85c3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - Login" outgoingWss="" incomingWss="" id="ff2b3c52-89c1-46e0-a1d9-49be862dc9ec"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>Login</username>
 <password>Login123</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="a6444a73-faef-4a26-b17d-a6104ef4e788"/><con:assertion type="Schema Compliance" id="51e1cab0-5f0c-4053-bcb2-38c60e71e6f3"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="8ea76d72-eee7-4536-931c-74617ea9ed98"/><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Illegal Search" id="18e9c7c2-a8bb-4da5-bc15-4605536cd515"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - Illegal Search" outgoingWss="" incomingWss="" id="238cc1c6-1048-4d9f-b338-5c45036ee509"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>${Test Request - Login#Response#//sam:loginResponse/sessionid}</sessionid>
 <searchstring>Item 7</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="218d5780-445d-4463-b26c-80d1d166693f"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="425dbb84-4889-4c68-aefc-cf4d941bbc3f"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="ccd51a84-768d-4355-82c6-1e4242bf7c89"/><con:assertion type="Simple Contains" id="d5eccf63-f2c2-4546-8f0a-5a3b51da6848"><con:configuration><token>Unknown Search</token><ignoreCase>false</ignoreCase></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Empty Search" id="6e18d196-63f4-4b96-8999-d7f44601d55d"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - Empty Search" outgoingWss="" incomingWss="" id="766d5622-fb8a-49bd-94a6-876999fcf77b"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>${Test Request - Login#Response#//sam:loginResponse/sessionid}</sessionid>
 <searchstring/>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="665f0c3d-3442-4cf0-8005-a70ea704a954"/><con:assertion type="Not SOAP Fault Assertion" id="b5d950fd-ccd2-4c65-a0cc-9569ae399427"/><con:assertion type="XPath Match" id="cfce16c8-5d8f-4fe5-bcd8-9fac23dfcb7f"><con:configuration><path>//faultstring</path><content>Unknown Search String</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion type="Schema Compliance" name="Schema Compliance" id="15845c5f-1f76-4757-8199-676c9fa2c934"><con:configuration/></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Illegal Session" id="c7a5bfb8-7726-4f58-bbe8-b3865ea003e1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - Illegal Session" outgoingWss="" incomingWss="" id="23e322bc-660a-4ddf-82ae-3061ae88cc34"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>6767676767676</sessionid>
 <searchstring>Item 1</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="21e25480-8af2-4af1-bcac-040ae628703e"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="b1260a53-1025-4297-bdaf-e2446843570f"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="764d4782-69b0-4a70-b82a-96b0b6c671ac"/><con:assertion type="XPath Match" id="fde420a5-5fe6-4294-b9f1-d682b457e82f"><con:configuration><path>//faultstring</path><content>Invalid Session Id</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - SQL Injection SearchString" id="44814ba5-46ce-4e28-9a3b-26ae5e657342"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - SQL Injection SearchString" outgoingWss="" incomingWss="" id="009dd124-b722-404a-8105-adfc2f542e00"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>${Test Request - Login#Response#//sam:loginResponse/sessionid}</sessionid>
 <searchstring>Select * from Customers</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="dc6cc573-7397-4c10-ac28-37e534be88f5"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="0851b427-0ee1-4f8f-9d8e-d8f4e636bd0e"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="1e58040a-8e0a-417f-bc2a-c079a1edfe3b"/><con:assertion type="XPath Match" id="732622df-5c2f-4172-986f-0e3ea7f1b241"><con:configuration><path>//faultstring</path><content>Unknown Search String</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - SQL Injection Session" id="81c2e1d9-84e2-45a5-8cc5-16ee0c8f6e72"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - SQL Injection Session" outgoingWss="" incomingWss="" id="c68d4149-5350-407a-8bb8-6c9dea87937f"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>Select * from Customers</sessionid>
 <searchstring>Item 2</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="ff94f26d-7f2f-4c94-9602-e8e922d589fb"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="16244ced-8030-4246-ba1f-739ae146d138"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="be20030b-4d8c-4feb-ba30-34b6734ab407"/><con:assertion type="XPath Match" id="4cbb5592-41f6-4c3d-b9c2-6d244d83cf00"><con:configuration><path>//faultstring</path><content>Invalid Session Id</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Double SessionIDs" id="03a7b6c1-c80d-4a2b-96ba-1b4858644b7b"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - Double SessionIDs" outgoingWss="" incomingWss="" id="8d8f6d73-7dbc-4138-bec2-36577142d985"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>${Test Request - Login#Response#//sam:loginResponse/sessionid}</sessionid>
	 <sessionid>${Test Request - Login#Response#//sam:loginResponse/sessionid}</sessionid>
 <searchstring>Item 2</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="07b2e7ad-06e8-4514-8bc5-c4bff1e70b0f"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="807f16ed-e98c-4809-9a99-a3ce91c9bb24"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="98125ce7-f4c6-46dd-b197-cfb48b7aebc4"/><con:assertion type="XPath Match" id="1aa7476d-6680-4382-a2dc-a58add73f50f"><con:configuration><path>//faultstring</path><content>Missing operation for soapAction [http://www.soapui.org/sample/search] and body element [{http://www.soapui.org/sample/}search] with SOAP Version [SOAP 1.1]</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - logout" id="88f88e90-e2b9-4d9e-a525-5211b5b9a7e2"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>logout</con:operation><con:request name="Test Request - logout" outgoingWss="" incomingWss="" id="8b47ccf1-61e0-463e-8fd4-0641f7608468"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:logout>
 <sessionid>${Test Request - Login#Response#//sam:loginResponse/sessionid}</sessionid>
 </sam:logout>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="52a4d941-9064-4e70-800d-971f7d9fc0cf"/><con:assertion type="Schema Compliance" id="bad673a9-c90c-45ce-be50-4ef8cc1cac89"><con:configuration/></con:assertion><con:assertion type="XPath Match" id="316eede0-9f37-4787-9e1b-23910f153545"><con:configuration><path>declare namespace sam='http://www.soapui.org/sample/';
//sam:logoutResponse/sessioninfo</path><content>OK</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Correct Search after Logout" id="55e4fcb3-eeda-43c6-a8fb-2d1dac398fe1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - Correct Search after Logout" outgoingWss="" incomingWss="" id="3f7c50d7-b12f-471d-b7e3-de1b95133e88"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>${Correct Session Property#Session}</sessionid>
 <searchstring>Item 4</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="09863c25-86c6-443d-8af6-364a049827ec"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="ed1ebe85-6f77-48ee-89f0-f1ce332b4cdf"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="0243e875-d4a7-4ba1-af2b-5a471eefd5ed"/><con:assertion type="XPath Match" id="0ddd06cb-b031-46a2-a49f-e82a676e05bf"><con:configuration><path>//faultstring</path><content>Invalid Session Id</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/><con:reportParameters/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="TestCase - Searching after Logging out LoadTests" searchProperties="true" maxResults="0" id="c3d3394e-1c70-404a-bcf5-7e6437e10728"><con:description>Here is an interesting TestCase.

The actual TestCase itself is not that interesting, but we've used it in order to test how the Web Service handles load.

AND...

The second LoadTest "LoadTest with Multiple Tests (will fail)" DOES fail. Why does it fail and not the first? 
This is because in the first test we have just one simple thread and in the second we have a whopping ten.

What have we achieved?
Our Web Service is not thread safe!
Bug Found!
</con:description><con:settings/><con:testStep type="request" name="Test Request - Login" id="0a7efbb2-8f67-4db6-969b-9e8134d20279"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - Login" outgoingWss="" incomingWss="" id="fa32357e-9cff-424d-a299-03f8738124f5"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>Login${=String.valueOf(Math.random()).substring( 0, 5 )}</username>
 <password>Login123</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="093abcd5-f21f-454a-97e9-b76d354b584d"/><con:assertion type="Schema Compliance" id="1a1559fc-915f-4002-a056-246c1898a782"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="9cc5aea4-b5eb-449b-a203-5b555e590dee"/><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - logout" id="29ff2f55-0e37-4b2f-bb1b-32ad2af9157b"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>logout</con:operation><con:request name="Test Request - logout" outgoingWss="" incomingWss="" id="429c4f90-25a2-4d4a-9ec3-40ba39ed76e9"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:logout>
 <sessionid>${Test Request - Login#Response#//sam:loginResponse/sessionid}</sessionid>
 </sam:logout>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="73118d55-ed8b-40c0-9199-02eac3a23b60"/><con:assertion type="Schema Compliance" id="e8bcf506-71ca-41b0-af3c-415e07bb27a4"><con:configuration/></con:assertion><con:assertion type="XPath Match" id="d8668ab2-9132-4497-9b1e-28ff52e06d5b"><con:configuration><path>declare namespace sam='http://www.soapui.org/sample/';
//sam:logoutResponse/sessioninfo</path><content>OK</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Correct Search after Logout" id="f3787b31-6a76-4ad9-9190-3c92cd05701a"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - Correct Search after Logout" outgoingWss="" incomingWss="" id="55474015-7742-4081-bd27-762a879b531b"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>${Test Request - Login#Response#//sam:loginResponse/sessionid}</sessionid>
 <searchstring>Item 4</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="78201c96-40ca-4231-ac54-d16b225b6b9e"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="e0ce7918-512c-4bd9-9892-9718bdc4dc54"><con:configuration/></con:assertion><con:assertion type="Not SOAP Fault Assertion" id="83453197-e57e-4224-aa9f-35581838272c"/><con:assertion type="XPath Match" id="f0e2347b-c5fb-461f-b01e-ce2dba3c7bbd"><con:configuration><path>//faultstring</path><content>Invalid Session Id</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest" id="c0bdf270-6c63-42c2-ac77-59772800eede"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>1</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>false</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:reportParameters/></con:loadTest><con:loadTest name="LoadTest with Multiple Tests (will fail)" id="7c347371-9b79-4ae3-a134-33b026bf0fe0"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>10</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>false</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:assertion type="Max Errors" name="After 30 errors, stop"><con:configuration><name>After 30 errors, stop</name><max-absolute-errors>30</max-absolute-errors><max-relative-errors>0.0</max-relative-errors><test-step>- Any -</test-step></con:configuration></con:assertion><con:maxAssertionErrors>100</con:maxAssertionErrors><con:cancelExcessiveThreads>true</con:cancelExcessiveThreads><con:strategyInterval>500</con:strategyInterval><con:reportParameters/></con:loadTest><con:properties><con:property><con:name>URL</con:name><con:value/></con:property></con:properties><con:reportParameters/></con:testCase><con:properties/><con:reportParameters/></con:testSuite><con:testSuite name="Expanded TestSuite" id="77338b5f-9e5d-41b2-8b73-85171bf7f726"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="Search and Buy TestCase" searchProperties="true" maxResults="0" id="bd5bc347-98a7-4e66-b57f-691e7db558eb"><con:description>TestCase - Search and Buy TestCase

This test is the first expanded TestCase.
It basically tests our entire MockService by doing the following.

1) Logging in
2) Searching for all items in stock
3) Choosing the first items and Buying it
4) Logging out

We also have added LoadTests of all "Strategies"

1) Simple
2) Variance
3) Burst
4) Thread

The thread strategy will produce errors. 
We will go into that further in the TestCase "TestCase - Searching after Logging out LoadTests" in the TestSuite
"Sample TestSuite fails if we don't get faults"</con:description><con:settings/><con:testStep type="properties" name="Properties - Username and Password" id="568d2f50-bb15-4647-a3a6-db0961f5eb5a"><con:settings/><con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties><con:property><con:name>Username</con:name><con:value>Logini${=String.valueOf(Math.random()).substring( 0, 5 )}</con:value></con:property><con:property><con:name>Password</con:name><con:value>Logini123</con:value></con:property><con:property><con:name>SearchPhrase</con:name><con:value>Item 1</con:value></con:property></con:properties></con:config></con:testStep><con:testStep type="request" name="Test Request - login" id="5e25d0d0-0499-4cd2-bdee-0ee678b4e3d4"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - login" outgoingWss="" incomingWss="" id="0a9b77b7-fe04-4427-8ec6-f930310e3a96"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>${Properties - Username and Password#Username}</username>
 <password>${Properties - Username and Password#Password}</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="c81bc8b1-e4ff-41a0-bf32-49cf57b1573f"/><con:assertion type="Schema Compliance" id="f4efc8d7-32d6-48ca-9e06-8c75b3fcea9c"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="b50e0f5e-2730-41f2-aa62-8c0ed17ba4ca"/><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - search" id="a9c1c768-1ec5-4cfe-9202-cae646a4a17e"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - search" outgoingWss="" incomingWss="" id="ca95e967-98af-487b-95c2-a19601adb541"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>${Test Request - login#Response#//sam:loginResponse/sessionid}</sessionid>
 <searchstring>all</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="e3cfdffe-ef7d-4f8a-8c6d-113c5397b6b4"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="6b72f1ae-ec85-4f83-bb61-d5065962f254"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="78418de8-2b90-4731-87c1-053afda949d2"/><con:assertion type="XPath Match" id="eab7d684-253f-41d6-8e8e-a9f7043dbe81"><con:configuration><path>declare namespace sam='http://www.soapui.org/sample/';
//sam:searchResponse[1]/sam:searchResponseContent/item[3]/description</path><content>One towel. Massively useful thing. 
Impress the strags with this amazing cloth!</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - Buy" id="15f3a5c6-e1bb-4e37-8811-b821d3e93878"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>buy</con:operation><con:request name="Test Request - Buy" outgoingWss="" incomingWss="" id="ca84f01a-7c10-4313-a7e8-deebd26e1291"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:buy>
 <sessionid>${Test Request - login#Response#//sam:loginResponse/sessionid}</sessionid>
 <buystring>${Test Request - search#Response#//sam:searchResponse/sam:searchResponseContent/item[id="Item 5"]/id}</buystring>
 </sam:buy>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="15671287-391b-4298-8c32-4a6270096de3"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="53d7c2b2-1888-4ca2-a796-3a7a95aa5019"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="59da267b-20a1-4b91-900c-8d640f299ee7"/><con:assertion type="XPath Match" id="f7a1696a-16b9-4145-820b-0eb7e55135df"><con:configuration><path>declare namespace sam='http://www.soapui.org/sample/';
//sam:buyResponse/sam:buyResponseContent/purchasestatus/expectedDelivery</path><content>You should already have it.</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - logout" id="3bd92d18-0010-453d-bae3-fd7aad5d8be3"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>logout</con:operation><con:request name="Test Request - logout" outgoingWss="" incomingWss="" id="75513718-c0f6-44a9-8d9c-1e4ee73229db"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:logout>
 <sessionid>${Test Request - login#Response#//sam:loginResponse/sessionid}</sessionid>
 </sam:logout>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="09376c49-9eab-4909-84e2-2589f52979e2"/><con:assertion type="Schema Compliance" id="2e544db2-608e-4cd6-bc5f-3fbf13ddad77"><con:configuration/></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:loadTest name="LoadTest - Simple Strategy" id="3a9945c9-b8b7-432c-bfe3-081950a6a188"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>1</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>false</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>30</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:reportParameters/></con:loadTest><con:loadTest name="LoadTest - Variance Strategy" id="f65961e4-39ec-46e2-97f9-41ec099b07e4"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>1</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>false</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>30</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Variance</con:type><con:config><interval>5000</interval><variance>0.5</variance></con:config></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:reportParameters/></con:loadTest><con:loadTest name="LoadTest - Burst Strategy" id="1834b0d5-c5a8-4897-b51b-aea84f3329d9"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>1</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>false</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>30</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Burst</con:type><con:config><burstDelay>5000</burstDelay><burstDuration>5000</burstDuration></con:config></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:reportParameters/></con:loadTest><con:loadTest name="LoadTest - Thread Strategy" id="3051bbef-2d86-4a05-9e21-fc971a04d30e"><con:settings><con:setting id="HttpSettings@close-connections">false</con:setting></con:settings><con:threadCount>2</con:threadCount><con:startDelay>0</con:startDelay><con:sampleInterval>250</con:sampleInterval><con:calculateTPSOnTimePassed>false</con:calculateTPSOnTimePassed><con:resetStatisticsOnThreadCountChange>true</con:resetStatisticsOnThreadCountChange><con:historyLimit>-1</con:historyLimit><con:testLimit>30</con:testLimit><con:limitType>TIME</con:limitType><con:loadStrategy><con:type>Thread</con:type><con:config><startThreadCount>1</startThreadCount><endThreadCount>2</endThreadCount></con:config></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:reportParameters/></con:loadTest><con:properties/><con:reportParameters/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" name="More Than Less Than TestCase" searchProperties="true" maxResults="0" id="fd17d7a2-29e0-4239-9d5b-9e516cd2809d"><con:description>This TestCase shows some interesting assertions. Check out the search TestStep, there are two assertions "XPath retrieve sibling value" 
and "XPath Match More Than Less Than" that shows some interesting ways of using XPath.</con:description><con:settings/><con:testStep type="properties" name="Properties - Username and Password" id="e0c567db-7c6e-497f-89c2-4668843332c8"><con:settings/><con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties><con:property><con:name>Username</con:name><con:value>Logini${=String.valueOf(Math.random()).substring( 0, 5 )}</con:value></con:property><con:property><con:name>Password</con:name><con:value>Logini123</con:value></con:property><con:property><con:name>SearchPhrase</con:name><con:value>Item 1</con:value></con:property></con:properties></con:config></con:testStep><con:testStep type="properties" name="Properties - Wanted Response" id="2fb7a6ed-2878-4c4b-b134-5ba97ba37268"><con:settings/><con:config xsi:type="con:PropertiesStep" saveFirst="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:properties><con:property><con:name>Item</con:name><con:value>Item 3</con:value></con:property><con:property><con:name>Wanted At Least</con:name><con:value>2.50</con:value></con:property><con:property><con:name>Wanted at most</con:name><con:value>3.50</con:value></con:property><con:property><con:name>Sibling</con:name><con:value>2.99</con:value></con:property></con:properties></con:config></con:testStep><con:testStep type="request" name="Test Request - login" id="bac1755f-6ac1-4ff6-a72a-94c1fa581a86"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>login</con:operation><con:request name="Test Request - login" outgoingWss="" incomingWss="" id="79fffeb7-67a8-4e84-91d0-f88a0c2c2214"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:login>
 <username>${Properties - Username and Password#Username}</username>
 <password>${Properties - Username and Password#Password}</password>
 </sam:login>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="b18b19de-4b0a-4a14-8751-c26352210c8f"/><con:assertion type="Schema Compliance" id="71fb8948-7d62-4e31-bbb5-fd22dde5bc42"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion" id="ab5ba6f7-e029-4fed-8405-ed1264be3b66"/><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - search" id="df49982c-137a-4789-9ac7-b0bd7bb3da80"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>search</con:operation><con:request name="Test Request - search" outgoingWss="" incomingWss="" id="f62fd91f-baf5-4f76-b951-c480a6a95bef"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:search>
 <sessionid>${Test Request - login#Response#//sam:loginResponse/sessionid}</sessionid>
 <searchstring>all</searchstring>
 </sam:search>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="8f6e5551-b689-443a-a81f-9c6d61bffa62"/><con:assertion type="SOAP Fault Assertion" id="45338657-4636-411c-9f59-8d5c9a73b8e0"/><con:assertion type="Schema Compliance" name="Schema Compliance" id="16fdcab9-71fe-4597-aea4-1332bccd58ec"><con:configuration/></con:assertion><con:assertion type="XPath Match" name="XPath Match for description" id="39377b18-8dcd-44be-b31f-1066318a7573"><con:configuration><path>declare namespace sam='http://www.soapui.org/sample/';
//sam:searchResponse[1]/sam:searchResponseContent/item[3]/description</path><content>One towel. Massively useful thing. 
Impress the strags with this amazing cloth!</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="XPath Match" name="XPath Match More Than Less Than" id="a8257b5e-29d5-4e2a-84b2-456750befd80"><con:configuration><path>declare namespace sam='http://www.soapui.org/sample/';
//sam:searchResponse[1]/sam:searchResponseContent/item[id="${Properties - Wanted Response#Item}"]/price >= ("${Properties - Wanted Response#Wanted At Least}")
and 
//sam:searchResponse[1]/sam:searchResponseContent/item[id="${Properties - Wanted Response#Item}"]/price &lt;= ("${Properties - Wanted Response#Wanted At Most}" )</path><content>true</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:assertion type="XPath Match" name="XPath retrieve sibling value" id="6a6b1bc5-2de4-4771-83f2-6718a06ac292"><con:configuration><path>declare namespace sam='http://www.soapui.org/sample/';

//sam:searchResponse[1]/sam:searchResponseContent/item[price="${Properties - Wanted Response#Sibling}"]/id</path><content>${Properties - Wanted Response#Item}</content><allowWildcards>false</allowWildcards></con:configuration></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="Test Request - logout" id="6b42f58d-1d0b-4c30-8d13-fefe6764c094"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>ServiceSoapBinding</con:interface><con:operation>logout</con:operation><con:request name="Test Request - logout" outgoingWss="" incomingWss="" id="e82a0e4f-1beb-42f4-83f9-7c28788e0192"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://127.0.0.1:8088/mockServiceSoapBinding</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:logout>
 <sessionid>${Test Request - login#Response#//sam:loginResponse/sessionid}</sessionid>
 </sam:logout>
 </soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response" id="9af53fad-da92-47fb-895b-6f8deeed4e54"/><con:assertion type="Schema Compliance" id="8d8aa864-5717-4182-96cf-355d47fb141b"><con:configuration/></con:assertion><con:credentials><con:username xsi:nil="true"/><con:password xsi:nil="true"/><con:domain xsi:nil="true"/><con:authType>No Authorization</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/><con:reportParameters/></con:testCase><con:properties/><con:reportParameters/></con:testSuite><con:mockService port="8088" path="/mockServiceSoapBinding" name="ServiceSoapBinding MockService" host="localhost" id="d7cc7921-0403-47f3-aaaf-c5f05daf7441"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.mock.WsdlMockService@require-soap-action">false</con:setting></con:settings><con:mockOperation name="login" interface="ServiceSoapBinding" operation="login" id="4b03c019-7a68-4fa3-b5c3-a285e6eadce5"><con:settings/><con:dispatchPath>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( mockRequest.requestContent )

def username = holder.getNodeValue( "//username" )
def password = holder.getNodeValue( "//password" )
def sum = username + password

// validate
if( sum.length() > 25 || sum.length() &lt; 10 || !username.startsWith("Login") || !password.endsWith( "123" ))
 return "Invalid Login Fault"

if( context.hasProperty( sum ))
 return "Already Logged In Fault"

// seems ok
def sessionid = String.valueOf( Math.random() ).substring( 2 )

context.setProperty( sum, sessionid )
context.setProperty( sessionid, sum )

requestContext.sessionid = sessionid
return "Ok Response"
</con:dispatchPath><con:dispatchStyle>SCRIPT</con:dispatchStyle><con:defaultResponse>Ok Response</con:defaultResponse><con:response name="Ok Response" encoding="UTF-8" httpResponseStatus="200" id="d517dd7f-31fc-4859-9c68-ac0fb58a19d5"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:loginResponse>
 <sessionid>${sessionid}</sessionid>
 </sam:loginResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Invalid Login Fault" encoding="UTF-8" httpResponseStatus="200" id="9e97152a-730e-4777-8ec7-d61903a694d2"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Body>
 <soapenv:Fault>
 <faultcode>Client</faultcode>
 <faultstring>Invalid Login</faultstring>
 <detail>
 <sam:loginFault>The login credentials are invalid</sam:loginFault>
 </detail>
 </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Already Logged In Fault" encoding="UTF-8" httpResponseStatus="200" id="1354df96-dca5-45d7-830e-00fc2876c8c5"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Body>
 <soapenv:Fault>
 <faultcode>Client</faultcode>
 <faultstring>Already Login</faultstring>
 <detail>
 <sam:loginFault>The specified credentials are already logged in</sam:loginFault>
 </detail>
 </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:dispatchConfig/></con:mockOperation><con:mockOperation name="logout" interface="ServiceSoapBinding" operation="logout" id="7822142f-4f70-45af-a7e9-d15df6e5e4b8"><con:settings/><con:dispatchPath>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( mockRequest.requestContent )

def sessionid = holder.getNodeValue( "//sessionid" )

// check
if( !context.hasProperty( sessionid ))
 return "Invalid Session Id Fault"

// logout
context.removeProperty( context.getProperty( sessionid ))
context.removeProperty( sessionid )
requestContext.sessioninfo = "OK"

return "Ok Response"
</con:dispatchPath><con:dispatchStyle>SCRIPT</con:dispatchStyle><con:defaultResponse>Response 1</con:defaultResponse><con:response name="Ok Response" encoding="UTF-8" httpResponseStatus="200" id="e92b601c-4a89-45b6-a12a-c47079d4f120"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:logoutResponse>
 <sessioninfo>${sessioninfo}</sessioninfo>
 </sam:logoutResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Invalid Session Id Fault" encoding="UTF-8" httpResponseStatus="200" id="98b0a8e3-d32c-4b88-ac6b-24539f0526f5"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
 <soapenv:Body>
 <soapenv:Fault>
 <faultcode>Client</faultcode>
 <faultstring>Invalid Session Id</faultstring>
 </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:dispatchConfig/></con:mockOperation><con:mockOperation name="search" interface="ServiceSoapBinding" operation="search" id="3d58155a-f1f9-46f8-8e7c-0fba227b9465"><con:settings/><con:dispatchPath>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( mockRequest.requestContent )

def sessionid = holder.getNodeValue( "//sessionid" )

// check
if( !context.hasProperty( sessionid ))
 return "Invalid Session Id Fault"

def searchstring = holder.getNodeValue( "//searchstring" )

if (searchstring == "all") 
 return "WildCard Response"
else if (searchstring == "Item 1") 
 return "Item 1 Response"
else if (searchstring == "Item 2") 
 return "Item 2 Response"
else if (searchstring == "Item 3") 
 return "Item 3 Response"
else if (searchstring == "Item 4") 
 return "Item 3 Response"
else if (searchstring == "Item 5") 
 return "Item 5 Response"
else
return "Unknown Response" 
	


return "Search Response"</con:dispatchPath><con:dispatchStyle>SCRIPT</con:dispatchStyle><con:defaultResponse>Response 1</con:defaultResponse><con:response name="Search Response" encoding="UTF-8" httpResponseStatus="200" id="670b9bd7-bd16-47b1-9849-6f45c7d365a0"><con:settings/><con:script>context.item4description = Math.random() > 0.9 ? "garbage" : "Item nr 4"</con:script><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:searchResponse>
 <sam:searchResponseContent>
 <item>
 <id>1</id>
 <description>One handy protocol droid.</description>
 <price>1</price>
 </item>
 <item>
 <id>2</id>
 <description>Item nr 2</description>
 <price>2</price>
 </item>
 <item>
 <id>3</id>
 <description>Item nr 3</description>
 <price>3</price>
 </item>
 <item>
 <id>4</id>
 <description>${item4description}</description>
 <price>4</price>
 </item>
 <item>
 <id>5</id>
 <description>Item nr 5</description>
 <price>5</price>
 </item>
 </sam:searchResponseContent>
 </sam:searchResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Invalid Session Id Fault" encoding="UTF-8" httpResponseStatus="200" id="cf5213a9-56f5-4ece-9a07-e0673115870b"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
 <soapenv:Body>
 <soapenv:Fault>
 <faultcode>Client</faultcode>
 <faultstring>Invalid Session Id</faultstring>
 </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Item 1 Response" encoding="UTF-8" httpResponseStatus="200" id="30a385fc-f533-4060-8717-65cc163518cd"><con:settings/><con:script>context.item4description = Math.random() > 0.9 ? "garbage" : "Item nr 4"</con:script><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 	 <sam:searchResponse>
 <sam:searchResponseContent>
 <item>
 <id>Item 1</id>
 <description>One handy protocol droid. This droid is fluent 
		in over six million forms of communication and has a lovely golden color. 
		Built by an enthusiast. Mindwiped only once. Can be carried on your back.</description>
 <price>1</price>
 </item>
 </sam:searchResponseContent>
		</sam:searchResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Item 2 Response" encoding="UTF-8" httpResponseStatus="200" id="02e72bc0-dce0-4a8c-8cd6-21004f8d60ff"><con:settings/><con:script>context.item4description = Math.random() > 0.9 ? "garbage" : "Item nr 4"</con:script><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
	 <sam:searchResponse>
 <sam:searchResponseContent>
 <item>
 <id>Item 2</id>
 <description>Box of chocolate with several popular items. Covered in Glucose.
		Recommended safety distance when eating Spring Surprise, 10 feet.</description>
 <price>1.99</price>
 </item>
 </sam:searchResponseContent>
	 </sam:searchResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Item 3 Response" encoding="UTF-8" httpResponseStatus="200" id="cb57c4ed-b950-4752-b836-5eb1a705c2d9"><con:settings/><con:script>context.item4description = Math.random() > 0.9 ? "garbage" : "Item nr 4"</con:script><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
	 <sam:searchResponse>
 <sam:searchResponseContent>
 <item>
 <id>Item 3</id>
 <description>One towel. Massively useful thing. 
Impress the strags with this amazing cloth!</description>
 <price>2.99</price>
 </item>
 </sam:searchResponseContent>
	 </sam:searchResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Item 4 Response" encoding="UTF-8" httpResponseStatus="200" id="4bf91b7c-a39a-4e4c-8958-808c5254e2d6"><con:settings/><con:script>context.item4description = Math.random() > 0.9 ? "garbage" : "Item nr 4"</con:script><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
	 <sam:searchResponse>
 <sam:searchResponseContent>
 <item>
 <id>item 4</id>
 <description>Ono-Sendai 7. The newest cowboy tech from Hosaka. 
		Break the ICE with this conversation piece.</description>
 <price>4.99</price>
 </item>
 </sam:searchResponseContent>
 </sam:searchResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Item 5 Response" encoding="UTF-8" httpResponseStatus="200" id="a3b91c20-42e2-43ba-8e6f-e19770b9229e"><con:settings/><con:script>context.item4description = Math.random() > 0.9 ? "garbage" : "Item nr 4"</con:script><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
	 <sam:searchResponse>
 <sam:searchResponseContent>
 <item>
 <id>item 5</id>
 <description>soapui Pro 1.7.5. Necessary when testing Web Services.</description>
 <price>349</price>
 </item>
 <sam:searchResponseContent>
 </sam:searchResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Search Fault Response" encoding="UTF-8" httpResponseStatus="200" id="89aaefd2-d5c3-4107-a8ee-96093f0f318f"><con:settings/><con:script>context.item4description = Math.random() > 0.9 ? "garbage" : "Item nr 4"</con:script><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <soapenv:Fault>
 <faultcode>Server</faultcode>
 <faultstring>No Result</faultstring>
 <detail>
 <sam:loginFault>The search returned no items</sam:loginFault>
 </detail>
 </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Unknown Response" encoding="UTF-8" httpResponseStatus="200" id="4f7c15fa-55ec-45e8-aade-3aeec3578c02"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
 <soapenv:Body>
 <soapenv:Fault>
 <faultcode>Client</faultcode>
 <faultstring>Unknown Search String</faultstring>
 </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="WildCard Response" encoding="UTF-8" httpResponseStatus="200" id="824328c0-b63e-4738-8c63-48aa6948817b"><con:settings/><con:script>context.item4description = Math.random() > 0.9 ? "garbage" : "Item nr 4"</con:script><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:searchResponse>
 <sam:searchResponseContent>
 <item>
 <id>Item 1</id>
 <description>One handy protocol droid. This droid is fluent 
		in over six million forms of communication and has a lovely golden color. 
		Built by an enthusiast. Mindwiped only once. Can be carried on your back.</description>
 <price>1</price>
 </item>
 <item>
 <id>Item 2</id>
 <description>Box of chocolate with several popular items. Covered in Glucose.
		Recommended safety distance when eating Spring Surprise, 10 feet.</description>
 <price>1.99</price>
 </item>
 <item>
 <id>Item 3</id>
 <description>One towel. Massively useful thing. 
Impress the strags with this amazing cloth!</description>
 <price>2.99</price>
 </item>
 <item>
 <id>Item 4</id>
 <description>Ono-Sendai 7. The newest cowboy tech from Hosaka. 
		Break the ICE with this conversation piece.</description>
 <price>4.99</price>
 </item>
 <item>
 <id>Item 5</id>
 <description>soapui Pro 1.7.5. Necessary when testing Web Services.</description>
 <price>349</price>
 </item>
 </sam:searchResponseContent>
 </sam:searchResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:dispatchConfig/></con:mockOperation><con:mockOperation name="buy" interface="ServiceSoapBinding" operation="buy" id="acc1e3be-24aa-4b93-bede-92b711472400"><con:settings/><con:dispatchPath>def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( mockRequest.requestContent )

def sessionid = holder.getNodeValue( "//sessionid" )

// check
if( !context.hasProperty( sessionid ))
 return "Invalid Session Id Fault"

def buystring = holder.getNodeValue( "//buystring" )

if (buystring == "all") 
 return "WildCard Response"
else if (buystring == "Item 1") 
 return "Item 1 Response"
else if (buystring == "Item 2") 
 return "Item 2 Response"
else if (buystring == "Item 3") 
 return "Item 3 Response"
else if (buystring == "Item 4") 
 return "Item 3 Response"
else if (buystring == "Item 5") 
 return "Item 5 Response"
else
return "Unknown Response" 
	


return "Search Response"</con:dispatchPath><con:dispatchStyle>SCRIPT</con:dispatchStyle><con:defaultResponse>Buy Response</con:defaultResponse><con:response name="Buy Response" encoding="UTF-8" httpResponseStatus="200" id="ffda007e-196d-4d7f-af79-9baf0213a686"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:buyResponse>
 <sam:buyResponseContent>
 <purchasestatus>
 <id>?</id>
 <stockStatus>?</stockStatus>
 <expectedDelivery>?</expectedDelivery>
 </purchasestatus>
 </sam:buyResponseContent>
 </sam:buyResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Item 1 Response" encoding="UTF-8" httpResponseStatus="200" id="580b5771-e9ce-4c9b-b184-f417c0fae39f"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:buyResponse>
 <sam:buyResponseContent>
 <purchasestatus>
 <id>Item 1</id>
 <stockStatus>1 unit</stockStatus>
 <expectedDelivery>2000 years from now</expectedDelivery>
 </purchasestatus>
 </sam:buyResponseContent>
 </sam:buyResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Item 2 Response" encoding="UTF-8" httpResponseStatus="200" id="94003912-7369-4a6e-9f96-ff6dd8445cff"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:buyResponse>
 <sam:buyResponseContent>
 <purchasestatus>
 <id>Item 2</id>
 <stockStatus>10 000 boxes</stockStatus>
 <expectedDelivery>1 week</expectedDelivery>
 </purchasestatus>
 </sam:buyResponseContent>
 </sam:buyResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Item 3 Response" encoding="UTF-8" httpResponseStatus="200" id="632de031-5fd6-4834-bcb2-7a53d49ae8f4"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:buyResponse>
 <sam:buyResponseContent>
 <purchasestatus>
 <id>Item 3</id>
 <stockStatus>4 towels</stockStatus>
 <expectedDelivery>Any day now...</expectedDelivery>
 </purchasestatus>
 </sam:buyResponseContent>
 </sam:buyResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Item 4 Response" encoding="UTF-8" httpResponseStatus="200" id="c185c0c1-f92f-46fa-8bac-9ae2d8af9b1f"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:buyResponse>
 <sam:buyResponseContent>
 <purchasestatus>
 <id>Item 4</id>
 <stockStatus>1 unit</stockStatus>
 <expectedDelivery>In the near future.</expectedDelivery>
 </purchasestatus>
 </sam:buyResponseContent>
 </sam:buyResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Item 5 Response" encoding="UTF-8" httpResponseStatus="200" id="4fe9738f-99c2-4adb-a2d0-c40106b5c2d2"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:buyResponse>
 <sam:buyResponseContent>
 <purchasestatus>
 <id>Item 5</id>
 <stockStatus>1 license</stockStatus>
 <expectedDelivery>You should already have it.</expectedDelivery>
 </purchasestatus>
 </sam:buyResponseContent>
 </sam:buyResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Invalid Session Id Fault" encoding="UTF-8" httpResponseStatus="200" id="18839938-da85-4733-8510-91ff84d6c1fe"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
 <soapenv:Body>
 <soapenv:Fault>
 <faultcode>Client</faultcode>
 <faultstring>Invalid Session Id</faultstring>
 </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="Unknown Response" encoding="UTF-8" httpResponseStatus="200" id="49438f1e-b51c-476c-8365-ee3dc9fb48e1"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:buyResponse>
 <sam:buyResponseContent>
 <purchasestatus>
 <id>?</id>
 <stockStatus>?</stockStatus>
 <expectedDelivery>?</expectedDelivery>
 </purchasestatus>
 </sam:buyResponseContent>
 </sam:buyResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:response name="WildCard Response" encoding="UTF-8" httpResponseStatus="200" id="7642503b-816b-43f7-b402-bb50cb8d0003"><con:settings/><con:responseContent><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sam="http://www.soapui.org/sample/">
 <soapenv:Header/>
 <soapenv:Body>
 <sam:buyResponse>
 <sam:buyResponseContent>
 <purchasestatus>
 <id>Item 1</id>
 <stockStatus>1 unit</stockStatus>
 <expectedDelivery>2000 years from now</expectedDelivery>
 </purchasestatus>
 <purchasestatus>
 <id>Item 2</id>
 <stockStatus>10 000 boxes</stockStatus>
 <expectedDelivery>1 week</expectedDelivery>
 </purchasestatus>
	 <purchasestatus>
 <id>Item 3</id>
 <stockStatus>4 towels</stockStatus>
 <expectedDelivery>Any day now...</expectedDelivery>
 </purchasestatus>
 <purchasestatus>
 <id>Item 4</id>
 <stockStatus>1 unit</stockStatus>
 <expectedDelivery>In the near future.</expectedDelivery>
 </purchasestatus>'
 <purchasestatus>
 <id>Item 5</id>
 <stockStatus>1 license</stockStatus>
 <expectedDelivery>You should already have it.</expectedDelivery>
 </purchasestatus>
 </sam:buyResponseContent>
 </sam:buyResponse>
 </soapenv:Body>
</soapenv:Envelope>]]></con:responseContent><con:wsaConfig mustUnderstand="NONE" version="200508"/></con:response><con:dispatchConfig/></con:mockOperation><con:properties/><con:onRequestScript/></con:mockService><con:requirements/><con:properties><con:property><con:name>Some Property</con:name><con:value>with a value</con:value></con:property></con:properties><con:wssContainer/><con:databaseConnectionContainer/><con:oAuth2ProfileContainer/><con:reporting><con:reportTemplates>
 <con:name>SystemPropertiesReport</con:name>
 <con:path>/home/robert/soapui/bin/reports/subreports/loadtest/LoadTestLog.jrxml</con:path>
 <con:reportType>COMMON</con:reportType>
 <con:reportLevel>SUBREPORT</con:reportLevel>
 <con:nameInReport>LoadTestLog</con:nameInReport>
 <con:data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><![CDATA[<jasperReport xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report name" language="groovy" pageWidth="535" pageHeight="842" columnWidth="535" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <template>"../../styles.jrtx"</template>
 <field name="name" class="java.lang.String"/>
 <field name="value" class="java.lang.String"/>
 <columnHeader>
 <band height="59">
 <staticText>
 <reportElement style="ColumnHeader" x="0" y="35" width="122" height="20"/>
 <textElement textAlignment="Left" verticalAlignment="Middle"/>
 <text>Name</text>
 </staticText>
 <staticText>
 <reportElement style="ColumnHeader" x="133" y="35" width="40" height="20"/>
 <textElement textAlignment="Left" verticalAlignment="Middle"/>
 <text>Value</text>
 </staticText>
 <staticText>
 <reportElement style="SmallHeader" x="0" y="0" width="535" height="34"/>
 <textElement textAlignment="Left" verticalAlignment="Middle"/>
 <text>System Properties</text>
 </staticText>
 </band>
 </columnHeader>
 <detail>
 <band height="21">
 <textField>
 <reportElement x="0" y="1" width="122" height="20"/>
 <textElement textAlignment="Left" verticalAlignment="Top"/>
 <textFieldExpression class="java.lang.String">$F{name}</textFieldExpression>
 </textField>
 <textField>
 <reportElement x="133" y="1" width="350" height="20"/>
 <textElement textAlignment="Left" verticalAlignment="Top"/>
 <textFieldExpression class="java.lang.String">$F{value}</textFieldExpression>
 </textField>
 </band>
 </detail>
</jasperReport>]]></con:data>
 <con:description>NO DESC</con:description>
 <con:scope>PROJECT</con:scope>
 <con:dataSource xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</con:reportTemplates><con:xmlTemplates/><con:parameters/></con:reporting><con:sensitiveInformation/></con:soapui-project>