3meters / proxibase

Patchr web service
1 stars 0 forks source link

Testing session expiration #427

Closed Jaymassena closed 8 years ago

Jaymassena commented 8 years ago

I need to make sure the clients are handling session expiration correctly. I looked through the service tests and didn't see one that targets session expiration (401.2). How can I send something to the service that will trigger the expired session response?

georgesnelling commented 8 years ago

I'll have to add a new flag. Working on it now...

georgesnelling commented 8 years ago

forgot to close. This is fixed with the new testExpire flag. See test/basic/02_passwords.js for example

Jaymassena commented 8 years ago

Thanks, I confirmed that this works for testing expiration.