Revision 11:05e3b9ae1a68

View differences:

test/soap-ui/UPass-soapui-project.xml
2651 2651
def holder = new XmlHolder( messageExchange.responseContentAsXml )
2652 2652
def tac = holder["/soapenv:Envelope/soapenv:Body/ns1:wsGenerateTACwithSessionIDResponse/ns1:wsGenerateTACwithSessionIDReturn"]
2653 2653
messageExchange.modelItem.testStep.testCase.testSuite.project.setPropertyValue( "tacValueForSession3", tac.toString() )
2654
assert tac != null</scriptText></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://upass.ws.my/WS_UPass/wsGenerateTACwithSessionIDRequest"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="FinalUserTest" searchProperties="true" id="87a4c8df-1bfb-49a7-b90d-6603a8008855"><con:settings/><con:testStep type="request" name="wsGenerateTACwithSessionIDNonce"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsGenerateTACwithSessionIDNonce</con:operation><con:request name="wsGenerateTACwithSessionIDNonce"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">

2655
   <soapenv:Header/>

2656
   <soapenv:Body>

2657
      <upas:wsGenerateTACwithSessionIDNonce>

2658
         <upas:userAlias>test-user-1</upas:userAlias>

2659
         <upas:sessionID>0987654321</upas:sessionID>

2660
         <upas:nonce>T</upas:nonce>

2661
         <upas:appId>2</upas:appId>

2662
      </upas:wsGenerateTACwithSessionIDNonce>

2663
   </soapenv:Body>

2654
assert tac != null</scriptText></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://upass.ws.my/WS_UPass/wsGenerateTACwithSessionIDRequest"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="FinalUserTest" searchProperties="true" id="87a4c8df-1bfb-49a7-b90d-6603a8008855"><con:settings/><con:testStep type="request" name="wsGenerateTACwithSessionIDNonce"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsGenerateTACwithSessionIDNonce</con:operation><con:request name="wsGenerateTACwithSessionIDNonce"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">
2655
   <soapenv:Header/>
2656
   <soapenv:Body>
2657
      <upas:wsGenerateTACwithSessionIDNonce>
2658
         <upas:userAlias>test-user-1</upas:userAlias>
2659
         <upas:sessionID>0987654321</upas:sessionID>
2660
         <upas:nonce>T</upas:nonce>
2661
         <upas:appId>2</upas:appId>
2662
      </upas:wsGenerateTACwithSessionIDNonce>
2663
   </soapenv:Body>
2664 2664
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>declare namespace ns1='http://upass.ws.my';
2665 2665
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
2666 2666
matches( /soapenv:Envelope/soapenv:Body/ns1:wsGenerateTACwithSessionIDNonceResponse/ns1:wsGenerateTACwithSessionIDNonceReturn, "\p{Nd}{6}" )</path><content>true</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:assertion type="GroovyScriptAssertion" name="Script Assertion"><con:configuration><scriptText>import com.eviware.soapui.support.XmlHolder;
......
2669 2669
def holder = new XmlHolder( messageExchange.responseContentAsXml )
2670 2670
def tac = holder["/soapenv:Envelope/soapenv:Body/ns1:wsGenerateTACwithSessionIDNonceResponse/ns1:wsGenerateTACwithSessionIDNonceReturn"]
2671 2671
messageExchange.modelItem.testStep.testCase.testSuite.project.setPropertyValue( "tacValueForSession", tac.toString() )
2672
assert tac != null</scriptText></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsVerifyTACwithSessionIDNonce"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsVerifyTACwithSessionIDNonce</con:operation><con:request name="wsVerifyTACwithSessionIDNonce"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">

2673
   <soapenv:Header/>

2674
   <soapenv:Body>

2675
      <upas:wsVerifyTACwithSessionIDNonce>

2676
         <upas:userAlias>test-user-1</upas:userAlias>

2677
         <upas:inTac>${#Project#tacValueForSession}</upas:inTac>

2678
         <upas:sessionID>0987654321</upas:sessionID>

2679
         <upas:nonce>T</upas:nonce>

2672
assert tac != null</scriptText></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsVerifyTACwithSessionIDNonce"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsVerifyTACwithSessionIDNonce</con:operation><con:request name="wsVerifyTACwithSessionIDNonce"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">
2673
   <soapenv:Header/>
2674
   <soapenv:Body>
2675
      <upas:wsVerifyTACwithSessionIDNonce>
2676
         <upas:userAlias>test-user-1</upas:userAlias>
2677
         <upas:inTac>${#Project#tacValueForSession}</upas:inTac>
2678
         <upas:sessionID>0987654321</upas:sessionID>
2679
         <upas:nonce>T</upas:nonce>
2680 2680
         <upas:appId>2</upas:appId>
2681
      </upas:wsVerifyTACwithSessionIDNonce>

2682
   </soapenv:Body>

2681
      </upas:wsVerifyTACwithSessionIDNonce>
2682
   </soapenv:Body>
2683 2683
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>declare namespace ns1='http://upass.ws.my';
2684 2684
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
2685
/soapenv:Envelope/soapenv:Body/ns1:wsVerifyTACwithSessionIDNonceResponse/ns1:wsVerifyTACwithSessionIDNonceReturn</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsSP_ForceChangeStaticPassword"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsSP_ForceChangeStaticPassword</con:operation><con:request name="wsSP_ForceChangeStaticPassword"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">

2686
   <soapenv:Header/>

2687
   <soapenv:Body>

2688
      <upas:wsSP_ForceChangeStaticPassword>

2689
         <upas:userAlias>test-user-1</upas:userAlias>

2690
         <upas:newPassword>Passw0rd2</upas:newPassword>

2691
         <upas:oldPassword>Passw0rd</upas:oldPassword>

2692
      </upas:wsSP_ForceChangeStaticPassword>

2693
   </soapenv:Body>

2685
/soapenv:Envelope/soapenv:Body/ns1:wsVerifyTACwithSessionIDNonceResponse/ns1:wsVerifyTACwithSessionIDNonceReturn</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsSP_ForceChangeStaticPassword"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsSP_ForceChangeStaticPassword</con:operation><con:request name="wsSP_ForceChangeStaticPassword"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">
2686
   <soapenv:Header/>
2687
   <soapenv:Body>
2688
      <upas:wsSP_ForceChangeStaticPassword>
2689
         <upas:userAlias>test-user-1</upas:userAlias>
2690
         <upas:newPassword>Passw0rd2</upas:newPassword>
2691
         <upas:oldPassword>Passw0rd</upas:oldPassword>
2692
      </upas:wsSP_ForceChangeStaticPassword>
2693
   </soapenv:Body>
2694 2694
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>declare namespace ns1='http://upass.ws.my';
2695 2695
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
2696
/soapenv:Envelope/soapenv:Body/ns1:wsSP_ForceChangeStaticPasswordResponse/ns1:wsSP_ForceChangeStaticPasswordReturn</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsSP_VerifyPasswordComplexity"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsSP_VerifyPasswordComplexity</con:operation><con:request name="wsSP_VerifyPasswordComplexity"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">

2697
   <soapenv:Header/>

2698
   <soapenv:Body>

2699
      <upas:wsSP_VerifyPasswordComplexity>

2700
         <upas:password>Passw0rd2</upas:password>

2701
         <upas:applicationId>2</upas:applicationId>

2702
      </upas:wsSP_VerifyPasswordComplexity>

2703
   </soapenv:Body>

2696
/soapenv:Envelope/soapenv:Body/ns1:wsSP_ForceChangeStaticPasswordResponse/ns1:wsSP_ForceChangeStaticPasswordReturn</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsSP_VerifyPasswordComplexity"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsSP_VerifyPasswordComplexity</con:operation><con:request name="wsSP_VerifyPasswordComplexity"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">
2697
   <soapenv:Header/>
2698
   <soapenv:Body>
2699
      <upas:wsSP_VerifyPasswordComplexity>
2700
         <upas:password>Passw0rd2</upas:password>
2701
         <upas:applicationId>2</upas:applicationId>
2702
      </upas:wsSP_VerifyPasswordComplexity>
2703
   </soapenv:Body>
2704 2704
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>declare namespace ns1='http://upass.ws.my';
2705 2705
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
2706 2706
/soapenv:Envelope/soapenv:Body/ns1:wsSP_VerifyPasswordComplexityResponse/ns1:wsSP_VerifyPasswordComplexityReturn</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsUA_ModifyUser"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsUA_ModifyUser</con:operation><con:request name="wsUA_ModifyUser"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">
......
2729 2729
   </soapenv:Body>
2730 2730
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>declare namespace ns1='http://upass.ws.my';
2731 2731
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
2732
/soapenv:Envelope/soapenv:Body/ns1:wsAD_SuspendUserResponse/ns1:wsAD_SuspendUserReturn</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsAD_ActivateUser"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsAD_ActivateUser</con:operation><con:request name="wsAD_ActivateUser"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">
2732
/soapenv:Envelope/soapenv:Body/ns1:wsAD_SuspendUserResponse/ns1:wsAD_SuspendUserReturn</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsAD_ActivateUser"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsAD_ActivateUser</con:operation><con:request name="wsAD_ActivateUser"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">
2733
   <soapenv:Header/>
2734
   <soapenv:Body>
2735
      <upas:wsAD_ActivateUser>
2736
         <upas:rootAlias>${#Project#rootAlias}</upas:rootAlias>
2737
         <upas:rootPassword>${#Project#rootPassword}</upas:rootPassword>
2738
         <upas:adminUserAlias>${#Project#invokerUsername}</upas:adminUserAlias>
2739
      </upas:wsAD_ActivateUser>
2740
   </soapenv:Body>
2741
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>declare namespace ns1='http://upass.ws.my';
2742
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
2743
/soapenv:Envelope/soapenv:Body/ns1:wsAD_ActivateUserResponse/ns1:wsAD_ActivateUserReturn</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsSP_VerifyStaticPassword - first"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsSP_VerifyStaticPassword</con:operation><con:request name="wsSP_VerifyStaticPassword - first"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">
2733 2744
   <soapenv:Header/>
2734 2745
   <soapenv:Body>
2735
      <upas:wsAD_ActivateUser>
2736
         <upas:rootAlias>${#Project#rootAlias}</upas:rootAlias>
2737
         <upas:rootPassword>${#Project#rootPassword}</upas:rootPassword>
2738
         <upas:adminUserAlias>${#Project#invokerUsername}</upas:adminUserAlias>
2739
      </upas:wsAD_ActivateUser>
2746
      <upas:wsSP_VerifyStaticPassword>
2747
         <upas:userAlias>test-admin-1</upas:userAlias>
2748
         <upas:password>test</upas:password>
2749
      </upas:wsSP_VerifyStaticPassword>
2740 2750
   </soapenv:Body>
2741 2751
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>declare namespace ns1='http://upass.ws.my';
2742 2752
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
2743
/soapenv:Envelope/soapenv:Body/ns1:wsAD_ActivateUserResponse/ns1:wsAD_ActivateUserReturn</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsUA_DeleteUser"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsUA_DeleteUser</con:operation><con:request name="wsUA_DeleteUser"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">
2753
/soapenv:Envelope/soapenv:Body/ns1:wsSP_VerifyStaticPasswordResponse/ns1:wsSP_VerifyStaticPasswordReturn</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsSP_VerifyStaticPassword - second"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsSP_VerifyStaticPassword</con:operation><con:request name="wsSP_VerifyStaticPassword - second"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">
2754
   <soapenv:Header/>
2755
   <soapenv:Body>
2756
      <upas:wsSP_VerifyStaticPassword>
2757
         <upas:userAlias>test-admin-1</upas:userAlias>
2758
         <upas:password>test</upas:password>
2759
      </upas:wsSP_VerifyStaticPassword>
2760
   </soapenv:Body>
2761
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>declare namespace ns1='http://upass.ws.my';
2762
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
2763
/soapenv:Envelope/soapenv:Body/ns1:wsSP_VerifyStaticPasswordResponse/ns1:wsSP_VerifyStaticPasswordReturn</path><content>1</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsSP_VerifyStaticPassword - third"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsSP_VerifyStaticPassword</con:operation><con:request name="wsSP_VerifyStaticPassword - third"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">
2764
   <soapenv:Header/>
2765
   <soapenv:Body>
2766
      <upas:wsSP_VerifyStaticPassword>
2767
         <upas:userAlias>test-admin-1</upas:userAlias>
2768
         <upas:password>test</upas:password>
2769
      </upas:wsSP_VerifyStaticPassword>
2770
   </soapenv:Body>
2771
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>declare namespace ns1='http://upass.ws.my';
2772
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
2773
/soapenv:Envelope/soapenv:Body/ns1:wsSP_VerifyStaticPasswordResponse/ns1:wsSP_VerifyStaticPasswordReturn</path><content>2</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsSP_VerifyStaticPassword - invalid state"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsSP_VerifyStaticPassword</con:operation><con:request name="wsSP_VerifyStaticPassword - invalid state"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">
2774
   <soapenv:Header/>
2775
   <soapenv:Body>
2776
      <upas:wsSP_VerifyStaticPassword>
2777
         <upas:userAlias>test-admin-1</upas:userAlias>
2778
         <upas:password>test</upas:password>
2779
      </upas:wsSP_VerifyStaticPassword>
2780
   </soapenv:Body>
2781
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>declare namespace ns1='http://upass.ws.my';
2782
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
2783
/soapenv:Envelope/soapenv:Body/ns1:wsSP_VerifyStaticPasswordResponse/ns1:wsSP_VerifyStaticPasswordReturn</path><content>5</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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="wsUA_DeleteUser"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>WS_UPassSoapBinding</con:interface><con:operation>wsUA_DeleteUser</con:operation><con:request name="wsUA_DeleteUser"><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://localhost:9090/m2u-upass-ws/services/WS_UPass</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:upas="http://upass.ws.my">
2744 2784
   <soapenv:Header/>
2745 2785
   <soapenv:Body>
2746 2786
      <upas:wsUA_DeleteUser>
......
2751 2791
   </soapenv:Body>
2752 2792
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="SOAP Fault Assertion"/><con:assertion type="XPath Match" name="XPath Match"><con:configuration><path>declare namespace ns1='http://upass.ws.my';
2753 2793
declare namespace soapenv='http://schemas.xmlsoap.org/soap/envelope/';
2754
/soapenv:Envelope/soapenv:Body/ns1:wsUA_DeleteUserResponse/ns1:wsUA_DeleteUserReturn</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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:testCase><con:properties/></con:testSuite><con:properties><con:property><con:name>invokerUsername</con:name><con:value>UpassAdmin</con:value></con:property><con:property><con:name>invokerPassword</con:name><con:value>password</con:value></con:property><con:property><con:name>tacValue</con:name><con:value>863609</con:value></con:property><con:property><con:name>tacValueForSession</con:name><con:value>571404</con:value></con:property><con:property><con:name>securityCode</con:name><con:value>***98</con:value></con:property><con:property><con:name>rootAlias</con:name><con:value>root</con:value></con:property><con:property><con:name>rootPassword</con:name><con:value>P@ssw0rd</con:value></con:property><con:property><con:name>tacValueForSession2</con:name><con:value>738032</con:value></con:property><con:property><con:name>tacValueForSession3</con:name><con:value>***98</con:value></con:property></con:properties><con:wssContainer/><con:sensitiveInformation/></con:soapui-project>
2794
/soapenv:Envelope/soapenv:Body/ns1:wsUA_DeleteUserResponse/ns1:wsUA_DeleteUserReturn</path><content>0</content><allowWildcards>false</allowWildcards><ignoreNamspaceDifferences>false</ignoreNamspaceDifferences><ignoreComments>false</ignoreComments></con:configuration></con:assertion><con:credentials><con:authType>Global HTTP Settings</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:testCase><con:properties/></con:testSuite><con:properties><con:property><con:name>invokerUsername</con:name><con:value>UpassAdmin</con:value></con:property><con:property><con:name>invokerPassword</con:name><con:value>password</con:value></con:property><con:property><con:name>tacValue</con:name><con:value>106182</con:value></con:property><con:property><con:name>tacValueForSession</con:name><con:value>132473</con:value></con:property><con:property><con:name>securityCode</con:name><con:value>***98</con:value></con:property><con:property><con:name>rootAlias</con:name><con:value>root</con:value></con:property><con:property><con:name>rootPassword</con:name><con:value>P@ssw0rd</con:value></con:property><con:property><con:name>tacValueForSession2</con:name><con:value>674136</con:value></con:property><con:property><con:name>tacValueForSession3</con:name><con:value>***98</con:value></con:property></con:properties><con:wssContainer/><con:sensitiveInformation/></con:soapui-project>

Also available in: Unified diff