• Embed Doc
  • Readcast
  • Collections
  • 1
    CommentGo Back
Download
 
INTRODUCTION AND OVERVIEW
Introduction VSTFS is a tool which is mainly intended for developers who unit test, web test, andload test their own application and gain performance for their applications.In VSTFS, for performing Load Test, we need to record the script as web test or unit test. Withweb test, we can record the applications which a user interact using the browser that is same asHTTP/HTML protocol. And with the unit test, we can record the stand-alone applications if that iscoded in any of the dotnet platform supported languages.To compare with, the LoadRunner – a famous tool for Load Test and Stress Test, we do thesimilar work in web test as what we do in VuGen. All the enhancements are made to the script tomake it run multiple times in the web test mode. And the things we do in load test are similar tothe Controller and the Analysis parts.
TO CREATE A PROJECT
Click on the Start button and open “Microsoft Visual studio 2008” as shown in the snapshot.
 
To create a project
Go to File (on the menu bar) ->New Project
On the “New Project” window that pops up select any one of the Project types. The type canbe one of the following
Test Projects
Visual Basic.Net
Visual C#
Visual C++.The User can choose any of the above depending on which ever language he is comfortable with.In case he selects “Test Projects” the default language in which the advanced scripting will be doneis Visual Basic.Net
Select the “Test Project” Template.
Browse to the location where you want to place your scripts and specify the name for theproject in the “Location” and “Name” textboxes in the “New Project” window.
Click on OK button and a new Project is thus created.
 
TO OPEN A EXISTING PROJECT
Open Visual Studio 2008.Go to File (Menu bar) -> Open -> Project. Browse to the required ProjectLocation and open the <
Solution_name
>.sln file.
To view all the items under a project
Click on the “View” option on the menu bar and select “Solution Explorer”. The “Solution Explorer” lists all the items (e.g. Web tests, Load tests, classes etc) included in the project.
SCRIPTING IN WEB TESTRecording Web Test
To record a script one first needs to create a project.
Open an existing Project in which you want to record the script. On the main toolbar click onthe “Test” option.
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...

great work man.....thanks a ton. keep up the good work :)

You must be to leave a comment.
Submit
Characters: ...