Waffle and Integration Test

Apr 26, 2012 at 8:36 AM

Hi !

I have a Web Application. The server is made in Java and runs in Tomcat.

The communication between client and server is done with REST protocol.

I am using waffle negotiate authenticator. (Waffle 1.4.)

All is fine.

But now, i want to execute integration tests with JUnit but how can i simulate the waffle authentication without using a navigator ?

Thanks for your help

Alex

Coordinator
Apr 26, 2012 at 1:34 PM

You'd have to write the NTLM client or stub the service. Waffle's source code contains a lot of client-side tests if you want to see what that looks like.