Hi!
I'm trying to automate REST API of Microsoft MSD CRM application using Rest Assured and it requires NTLM Authentication. I have used the below line of code for NTLM authentication and getting the error message;
given().
auth().ntlm("username", "password", Workstation/hostname, "domain").
when().
then().
statusCode(200);
Error: WARNING: NEGOTIATE authentication error: No valid credentials provided (Mechanism level: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt))
Can anyone please help me how to do the NTLM authentication - OR - if there is any alternate way to negotiate authentication as mentioned in error.
Please share your response immeditely if anyone knows as it's blocked with client deliverables.
Thanks,
Sarath