title: How to create a user session while running Junit test case
body: <p>I have written some test cases in Junit. Now while running these test cases I am getting an error because the values needed for some of the attributes are to be provided from a user session , like the user name. So how is it possible to create a user session while running the Junit test case and provide the session values for these attributes.
  I have to enter these attributes into an Oracle database.
  Thanks,
  Nigel.</p>