Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin


 One Stop Testing ForumSoftware Testing @ OneStopTestingTest Cases @ OneStopTesting

Message Icon Topic: Test Case Definition

Post Reply Post New Topic
Author Message
tanushree
Senior Member
Senior Member
Avatar

Joined: 04Apr2007
Online Status: Offline
Posts: 2160
Quote tanushree Replybullet Topic: Test Case Definition
    Posted: 29Oct2007 at 4:02am

Test Case Definition

 

To define the test case follow the below given steps:

  1. Select the Suite LoginAPPJ2SESuite from the Suites Tree.

  2. Choose the menu item New Test Case under the menu File. This opens the Performance Test Case Creation screen.

  3. Enter "PERF-SampleAPI-001" in the Case ID field.

  4. Enter "Sample API testing case" in the Description field.

  5. Select the Severity as "ShowStopper" from the combo box.

  6. Enter the Description for test run as "Sample API Run".

  7. Enter the Maximum Time Limit as "1800".

  8. Ignore Application Control Parameters.

  9. Click Test Conditions button and choose the tab Check Condition.

    1. Select the option Collect Data after fixed time delay (WAIT)Wait Time as 20 and select the Agent Name as "M1" and specify the

    2. Click Commit To List and click OK.

  10. Click Next.

  11. In the Data Collection screen, choose the API Performance Data Collector [API] option.

  12. Click the Load API option to load the API com.adventnet.testtools.common.util.FileUtil.

  13. Set the required classpath and click OK.

  14. Select the Instance Type as "Static".

  15. Configure the method arguments as follows:

    1. Select the method countOccurenceInFile(String, String)Configure Arguments button. Specify the first string argument as "README.html" and the second string argument as "QEngine". Click OK. from the method list and click

    2. Select the method doesFileExists(String) from the method list and click Configure Arguments button. Specify the string argument as "README.html" and click OK.

    3. Select the method getLinesInFile(String) from the method list and click Configure Arguments button. Specify the string argument as "README.html" and click OK.

    4. Select the method getTimeStamp() from the method list.

    5. Select the method isStringInFile(String, String) from the method list and click Configure Arguments button. Specify the first string argument as "README.html" and the second string argument as "QEngine". Click OK.

  16. Select the Agent Name as "M1".

  17. Enter Number of Users as "1".

  18. Enter Number of Samples as "2".

  19. Enter Sample Interval as "10" seconds.

  20. Click Commit To List and click OK.

  21. Click Finish button. The automated test case PERF-SampleAPI-001 is added onto the Suites Tree.




Post Resume: Click here to Upload your Resume & Apply for Jobs

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.093 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Privacy Policy | Terms and Conditions
Job Interview Questions | Placement Papers | Free SMS | Freshers Jobs | MBA Forum | Learn SAP | Web Hosting