Forum Discussion

mindful123's avatar
mindful123
New Contributor
12 years ago

SOAP UI 4.6.4

I'm running free version of SOAPUI 4.6.4 to verify Retail application where it keeps failing due to using wrong user name and password.

I'm told that I need to use user name and password that I registered with SOAPUI, since it was free version, I don't remember I created one.

Here is what failing

<soapenv:Body>
<urn:RetailLogin soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<credentials xsi:type="nam:credentials" xmlns:nam="http://localhost/retail/namespaces">
<!--You may enter the following 2 items in any order-->
<username xsi:type="xsd:string">mindful123</username>
<password xsi:type="xsd:string"></password>
</credentials>
</urn:RetailLogin>
</soapenv:Body>

Response

<ns1:RetailLoginResponse xmlns:ns1="urn:RetailApp">
<return xsi:type="tns:loginresponse">
<loginusername xsi:nil="true" xsi:type="xsd:string"/>
<sessionid xsi:nil="true" xsi:type="xsd:string"/>
<role xsi:nil="true" xsi:type="xsd:string"/>
<loginstatus xsi:type="xsd:string">Not able to login</loginstatus>
</return>
</ns1:RetailLoginResponse>

Please let me know if you have any solution or how to get proper user name or password

1 Reply

  • Hello,

    The log in that is being requested is that of the Service that you are trying to reach. Please be sure to push in the correct credentials for it. If the authentication is through a web form you will have to add n HTTP test request and add the endpoint and the user id and password as parameters. For more information visit the link below.

    http://www.soapui.org/Working-with-Proj ... oapui.html

    Regards,
    Temil sanchez