quality@glassfish.java.net

Re: One more entry - Test application which uses file realm based authentication

From: Gopal Jorapur <Gopal.Jorapur_at_Sun.COM>
Date: Sun, 21 Sep 2008 11:24:45 -0700

Thanks for the contribution in our test framework

Thanks,
Gopal


On Aug 30, 2008, at 10:39 PM, Satyakrishna Jasti
<jastisatya_at_gmail.com> wrote:

> Hi All,
>
> finally I could modify some of my tests to use the quality test
> framework.
>
> Please find the attached three zip files which have these tests:
> 1. whois: It is a test jsp application which tests the page redirects,
> and functionalithy wise it fetches the domain information for a given
> website.
> 2. filerealm: It is a test application which tests the use of file
> realm based authentication and authorization.
> 3. jspsearchengine: It is a test application which searches for a
> keyword from a search engine of user's choice.
>
> I could not update the wiki page because I did not get the write
> permissions, though I had requested for the same.
>
> I still have some more tests that I need to modify to use the test
> framework, I would be sending them once I'm done.
>
> Thanks,
> Satyakrishna Jasti
>
> On 8/30/08, Judy Tang <Judy.J.Tang_at_sun.com> wrote:
>> Hi Satya,
>>
>> You give your try. Let me cc Gopal :-)
>>
>> Thanks,
>> Judy
>>
>> Satyakrishna Jasti wrote:
>>
>>> Hi judy
>>>
>>> sorry i think i am not clear in my previous mail
>>> can i use commons-httpclient-3.1.jar to write my test cases??
>>>
>>>
>>> thanks
>>> satya
>>>
>>> On 8/30/08, Satyakrishna Jasti <jastisatya_at_gmail.com> wrote:
>>>
>>>
>>>> Hi judy
>>>>
>>>> can u tell me how to do testing for webapplications in TestNG
>>>> can i use apacheHTTP for that
>>>> if so the community/lib does not contains the apachehttp.jar
>>>>
>>>> thanks
>>>>
>>>> satya
>>>>
>>>>
>>>> On 8/30/08, Judy Tang <Judy.J.Tang_at_sun.com> wrote:
>>>>
>>>>
>>>>> Hi Kedar,
>>>>>
>>>>> Please click on this link and go to step 4. Thanks. Would like
>>>>> every
>>>>> one try it and give us your input.
>>>>>
>>>>> https://glassfish.dev.java.net/quality/portal/participate.html
>>>>>
>>>>> Thanks,
>>>>> Judy
>>>>> Kedar Mhaswade wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Judy,
>>>>>>
>>>>>> Can you point me to
>>>>>>
>>>>>> "GlassFish Quality Community Test Framework"?
>>>>>>
>>>>>> Thanks,
>>>>>> Kedar
>>>>>>
>>>>>> Judy Tang wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Hi Satya,
>>>>>>>
>>>>>>> The rule is "Develop a set of test cases that follow and use the
>>>>>>> GlassFish Quality Community Test Framework".
>>>>>>>
>>>>>>> http://wiki.glassfish.java.net/Wiki.jsp?page=GlassFishQualityCommunityAwardsProgram
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Judy
>>>>>>>
>>>>>>> Satyakrishna Jasti wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Hi Judy,
>>>>>>>>
>>>>>>>> I will try converting the tests according to the specified
>>>>>>>> test
>>>>>>>> framework, but that might take some time. Meanwhile can I
>>>>>>>> send two
>>>>>>>> more entries that I have developed, as the contest end date
>>>>>>>> is nearing
>>>>>>>> :)
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Satya
>>>>>>>>
>>>>>>>> On 8/28/08, Judy Tang <Judy.J.Tang_at_sun.com> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hi Satya,
>>>>>>>>>
>>>>>>>>> Gopal replied to you through another thread. Thanks Gopal.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Judy
>>>>>>>>>
>>>>>>>>> Satyakrishna Jasti wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> Hi Judy
>>>>>>>>>>
>>>>>>>>>> it was not clear in the sent link the way to add my
>>>>>>>>>> applications
>>>>>>>>>> into the cvs repository
>>>>>>>>>> how can check-in my code into CVS repository or should i
>>>>>>>>>> need to
>>>>>>>>>> upload my files into the respective directory structure???
>>>>>>>>>>
>>>>>>>>>> A quick response is appreciated because i need to submit
>>>>>>>>>> some more
>>>>>>>>>> applications before the contest ends
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>> Satya
>>>>>>>>>>
>>>>>>>>>> On 8/28/08, Judy Tang <Judy.J.Tang_at_sun.com> wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> Hi Satya,
>>>>>>>>>>>
>>>>>>>>>>> This is nice. Would you please look into step 4 to
>>>>>>>>>>> understand
>>>>>>>>>>> how our
>>>>>>>>>>> test framework works and
>>>>>>>>>>> make your tests run with the framework. This is the way
>>>>>>>>>>> we plan
>>>>>>>>>>> to put
>>>>>>>>>>> all the community
>>>>>>>>>>> tests together.
>>>>>>>>>>>
>>>>>>>>>>> https://glassfish.dev.java.net/quality/portal/participate.html
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Judy
>>>>>>>>>>>
>>>>>>>>>>> Satyakrishna Jasti wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> attached is a test application which uses the file-realm
>>>>>>>>>>>> based
>>>>>>>>>>>> authentication and authorization.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>> Satya Krishna Jasti
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---------------------------------------------------------
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> This Application provides Test Cases for Test Glassfish
>>>>>>>>>>>> Realm capabilites
>>>>>>>>>>>>
>>>>>>>>>>>> Need to create a File Based Realm in GlassFish Server
>>>>>>>>>>>>
>>>>>>>>>>>> Steps to create a relam
>>>>>>>>>>>>
>>>>>>>>>>>> login into glassfish admin console
>>>>>>>>>>>>
>>>>>>>>>>>> goto Security-->Realms
>>>>>>>>>>>>
>>>>>>>>>>>> Name: file
>>>>>>>>>>>> Class Name:
>>>>>>>>>>>> com.sun.enterprise.security.suth.realm.file.FileRealm
>>>>>>>>>>>> JASS context: fileRealm
>>>>>>>>>>>> Key File: ${com.sun.aas.instanceRoot}/config/users-
>>>>>>>>>>>> keyfile
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Click save
>>>>>>>>>>>>
>>>>>>>>>>>> Your new Realm will be saved
>>>>>>>>>>>> Now add Users to the Relam
>>>>>>>>>>>>
>>>>>>>>>>>> todo that
>>>>>>>>>>>> goto Click Manage Users--->New
>>>>>>>>>>>>
>>>>>>>>>>>> User Id = User
>>>>>>>>>>>> Group List = Users
>>>>>>>>>>>> password = User
>>>>>>>>>>>> confirm New Password = User
>>>>>>>>>>>>
>>>>>>>>>>>> click ok
>>>>>>>>>>>>
>>>>>>>>>>>> then add another user with
>>>>>>>>>>>>
>>>>>>>>>>>> User Id = Manager
>>>>>>>>>>>> Group List = Managers
>>>>>>>>>>>> Password = Manager
>>>>>>>>>>>> confirm New Password = User
>>>>>>>>>>>>
>>>>>>>>>>>> click ok
>>>>>>>>>>>>
>>>>>>>>>>>> Restart the Server
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---------------------------------------------------------
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---
>>>>>>>>>>>> ---------------------------------------------------------
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>>>>>>>>>>> For additional commands, e-mail:
>>>>>>>>>>>> quality-help_at_glassfish.dev.java.net
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>> ---
>>>>>>>> ---
>>>>>>>> ---------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>>>>>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>> ---
>>>>>> ---
>>>>>> ---------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: quality-
>>>>>> unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>>>>
>>>>>>
>>>>>>
>>>>> ---
>>>>> ------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>>>
>>>>>
>>>>>
>>>>>
>>
>>
> <filerealm.zip>
> <jspsearchtool.zip>
> <whois.zip>