Hi,
 
I'm trying to test a web application where different users have
different permissions to view files. When I try to login as different
users, it doesn't look like my login screen request sets the
cookies.
 
Also, once the server has sent cookies, will later requests
by the server to query client cookies be successful? In other
words, are cookies persistent in the webtest client?
 
Do you see anything wrong here?
 
Perl code (with some url info changed):
 
    return(
      {
       test_name    => "$user login",
       url          => 'http://test.com/query.cgi',
       params       => [ login => $user,
                                password => $password,
                                ShowLogIn => 1,
                                ShowLogIn => 'Login' ],
       accept_cookies => 'yes',
       show_cookies => 'yes',
       send_cookies => 'yes',
       text_require => [ 'Query Page' ]
      }
    );
Test Name: test araetz%40test.com login
URL: http://test.com/query.cgi?login=araetz%2540test.com&password=cd201cd&ShowLogIn=1&ShowLogIn=Login
 
  STATUS CODE CHECK
    Expected '200' and got: 200 OK                               SUCCEED
  REQUIRED TEXT
    Query Page                                                   FAIL
 
  SENT COOKIE(S)
    *** none ***
  RECEIVED COOKIE(S)
    *** none ***
 
 
Thanks!
 
-Alan