Getting the following error when posting a login request to the retail app:
[RemoteTestNG] detected TestNG version 6.13.1
Body:
{
"username": "hiteshpande@gmail.com",
"password": "123456"
}
<html>
<head>
<title>Apache Tomcat/7.0.41 - Error report</title>
<style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head>
<body>
<h1>HTTP Status 404 - /Retail_App_Rest/retail/admin/login</h1>
<hr noshade="noshade" size="1"/>
<p>
<b>type</b>
Status report </p>
<p>
<b>message</b>
<u>/Retail_App_Rest/retail/admin/login</u>
</p>
<p>
<b>description</b>
<u>The requested resource is not available.</u>
</p>
<hr noshade="noshade" size="1"/>
<h3>Apache Tomcat/7.0.41</h3>
</body>
</html>
Server=Apache-Coyote/1.1
Content-Type=text/html;charset=utf-8
Content-Length=1019
Date=Tue, 10 Dec 2019 13:26:25 GMT
PASSED: test001
Would like to add that with username as 'admin' and password as 'whizdom' it is still giving HTTP error 404 - The requested resource is not available
For Module 16 Retail Application(REST Based)
Please use login id as 'admin' and password as 'whizdom' for login.
I think the module number is incorrect it should be Module 19.
Also the code base is of older date. Please update the code as well if the login credentials have been updated.
Working now