Visual Studio Team System - Web and Load Testing - Visual Studio Team System
Recent update: 2008-3-21

Is it possible to get the connection string from the app.config file for the DataSourceAttribute

2153 byte By GregoryDye at 2008-3-7
Hello, I would like to be able to change my DataSource Attribute connection string to access the app.config file. The problem that I am running into is that the connecting string must be a constant. Do you know of any work suggestions? Currently it is something like this. ...

How do I set the culture for a web test

316 byte By Mattxxxxxx at 2008-3-6
Have a web application which actively detects the client's preferred browser cultures to decide what to render (using Request.UserLanguages).I've recorded a web test - fine.When I play it back the client's preferred culture list is empty.How do I get the web test to present a list of ...

Console output from tests

135 byte By AlexSuzuki at 2008-3-5
Hi all, Is it possible to view Console output from TestMethods? It doesn't show up in the Quick Console window. cheers, Alex

ConnectionPool VS ConnectionPerUser

210 byte By Jesudhas at 2008-3-3
Hi, For a LoadTest's "Run Settings" properties, 1. whats the difference between using ConnectionPool and ConnectionPerUser? 2. Which setting "DOES NOT" cause any bottle necks on the Agents. Jesudhas

VSIP Extensibility for Testing Other Languages?

192 byte By Christian2005 at 2008-3-1
We are VSIP members with debugging support for our own scripting language. Can team test be extended for any arbitrary language? If not, is this planned and what is the timeframe? Thanks.

Modal Web Forms

225 byte By Jesudhas at 2008-2-28
Hi, We have modal web forms within our ASP.NET web application and we are not able to record scripts for them (no script is recorded). Is there a way to make the script recorded work with modal forms? Thanks, Jesudhas

Unit testing on remote machine ?

810 byte By Guenter at 2008-2-27
Hi,I am currently trying to build a web sxervice as an extension to SharePoint Portal Server.To use the SharePoint object model, I have to start the service on the remote machine running SPPS; it is not possible to do even the easiest things on my local machine running VS2k5.I love the idea of ...

RandomSleep functionality in Web Test. How?

501 byte By Jesudhas at 2008-2-26
Hi,I have a situation where I want the virtual users to sleep for a random amount of time. Can I achieve this without using the WebTestRequest class, bcos in this situation there is no request at that point.Eg. For a LoadTest (which has one web test), I set a constant load of 1000 users. The ...

How many virtual users does the load testing support?

176 byte By MikaJoronen at 2008-2-25
Hi, Does anyone know what the maximum number of virtual users is for the load testing tools and can the number be extended without adding PC's/Servers to the test? Cheers

Can you Test for Events?

511 byte By MichaelB at 2008-2-24
I'm just getting started with TDD. My code is improving. It was very useful to be able to test for the handling of exceptions using the ExpectedException attribute. How does one code up a test to verify that the correct firing of events? Also, it would be great for me to be able to count how ...

Question on "Re-sign" option for instrumented assemblies

600 byte By WN at 2008-2-23
In the test run configuration dialog, in the Code Coverage section, it is possible to select which assemblies get instrumented. There is also a "Re-sign..." button that, when clicked, brings up a "Binaries to re-sign" dialog which seemingly allows only a single key file to be used for signing ...

Confusing descrepancy between recording and playback...

2171 byte By kklasman at 2008-2-22
I have recorded a test which looks like this:- signin.aspx -> submiting page lands on search.aspx- click Register link on search.aspx -> lands on register.aspx- fill out page and submit -> lands on ValidateAddress.aspx (for mailto)- submit page -> lands on ValidateAddress.aspx (for ...

Where do i install the Test Controller and Agent From ?

328 byte By Imsoccrman at 2008-2-22
I have looked high and low and cannot for the life of me figure out where the installation for the agent and controller are located on the Team Foundation Server installation Media.The documentation states that the setup.exe's are int he dtec\cd folder ont he installation media and I can't ...

How to use Application Verifier?

568 byte By Ivo at 2008-2-21
The Application Verifier did work fine with Beta1, but I can't get it to work with Beta2.When I try Debug -> Start with Application Verifier I get the message "Application Verifier could not be enabled. Please refer to the release notes and supporting documentation".I tried installing the ...

Can a DataSource be anything other than a table?

376 byte By kklasman at 2008-2-20
SPROCs, dynamic SQL queries and views would all be very useful data sources. Tables are very limiting, especially when testing systems that don't have database delete capabilities I know, such a system was not designed with testability in mind, but that's my reality. I suspect its a common ...

Publishing test results fails - not sure why...

747 byte By MichaelShorten at 2008-2-20
I ran a unit test and wanted to publish the results back to the "operational store" to see what would happen and if I could do something with the data - however I got the following error:EndPublishRun: Server was unable to process request. > A connection attempt failed because the connected ...

Missing Test Menu

448 byte By BarryGervin at 2008-2-19
I have a VPC of beta 2 (all in one client & server) and the Test menu is missing? Any ideas how this could happen? I didn't do the install on this one, somebody from MS gave it to me. I can get to most of the testing functionality throught the testing toolbar but one thing in particular is ...

Convert Project to Test Project

245 byte By ChrisKinsman at 2008-2-18
I have a seperate project that just contains NUnit tests that i have converted the syntax to VSTS unit tests. The tests won't show up in the test manager however. Do I have to recreate the project as a Test project? How can I convert it?

Can a Context variable be set from a Datasource?

760 byte By kklasman at 2008-2-17
I want to run a user registration recorded webtest for each username stored in a database. I've: - recorded such a test - Added a datasource - Added a context variable (sUsername) - Set the Username page field to use the context variableBut I cannot see how to set the context variable from the ...

No process is associated with this object

442 byte By AnsonGoldade at 2008-2-16
I created a new Testing project for my solution and when I go to run the tests they all abort. When click on the "Test Run Error" I get 0/2 tests passed, 2 failed, 0 skiped. In the "More Info" section I get "No process is associated with this object." I can't figure what is going on with this ...

How do I re-run a webtest that requires unique values?

329 byte By kklasman at 2008-2-15
I have a multi-page webtest that registers a new user. The username entered by the user must be unique.I imagine that I could do this with a coded webtest by calling a routine that generates the username for me.Is it possible to record such a test and somehow have it use a unique value for ...

Querystring parameters in recorded WebTest?

828 byte By kklasman at 2008-2-15
I have a multi-page webtest that creates a new company. When the registration page is submitted, it ultimately navigates to an address validation page passing the newly created companyId as a querystring parameter. It actually visits this page twice, once for mailto and once for billto ...

How to get code coverage from Web Tests?

251 byte By LucasC at 2008-2-15
Hi, I'd like to get code coverage information from Web Tests. I configure the testo configuration in order to instrument the Web Site. I Run my web test but no coverage information was generated. Is there any additional Step? Thanks

Difficulties unit testing a web service

1953 byte By MichaelShorten at 2008-2-15
I have found it extremely difficult to unit test a web service - perhaps it's my testing-fu is very weak, but following some of the various help files are not getting it done.Scenario:1. Created a web service project - web service has one method. When I access the web service via the asmx ...

Web testing same app in multiple domains

942 byte By kklasman at 2008-2-15
My organization builds our websites to multiple domains, depending on where we are in the development cycle: dev, test, stage, production. Thus we need our automated tests to run in each of these domains without modification. We can do this with our current home grown automation tool.This seems ...

Coded Webtest and looping thru a datasource?

916 byte By GregoryDye at 2008-2-14
Hello, I am have a little problem and need some help. I have created a webtest which loops thru a datasource. Converted it to a coded webtest to do some validation but can not get it to loop thru the datasource. Is there anything that I am missing? Any help would be much appreciated. ...

absolute paths in vsmdi file

791 byte By AlexSuzuki at 2008-2-14
Hi, We use Visual Studio's test lists functionality to order our unit tests, since there are lots of them, and a hierarchical partitioning is definitely nice. As it seems, the structure of these lists are stored in the .vsmdi file. This is all well, but for the storage tag, which contains the ...

Manual Test Case Management?

161 byte By ScottPrugh at 2008-2-13
Does Team System have a mechanism for Manual Test Case management? In other words, can I store test cases, and then track and manage test case execution history?

Ordered Test

1344 byte By kklasman at 2008-2-13
I have a need, which should be fairly common, to run a set of tests for a given location in my e-commerce website. This location is several layers (pages) down in the page hierarchy. To avoid repeating the same recording (or script) in each of these tests, I'd like to create task-oriented ...

Work item changes

604 byte By AaronJ at 2008-2-12
I've been working with the work items in Team System. I've added a few new fields and made some changes. After the changes I went in and opened the work item, filled out some of the fields and tried to save the changes. I received an error stating "Error, The update has been rejected." My ...

How to pass cookie from LoadTest Initialize to webtest in loadtest.

647 byte By Oun at 2008-2-12
Hello; I want to pass the cookie set by Initialize step in LoadTest to each instance of the webtest in loadtest. Is it possible?For example:In init: I sign in into a page, the page sent me some cookies.during 1000 instances of the webtest: continue testing with the cookie set during the init.I tried...

Error adding Web Test to Load Test

959 byte By slee at 2008-2-11
I created a web test and was able to run that successfully. I then created a Load Test to my Test Project and then on the wizard page I tried to add the Web Test as a part of the Load Test.My web test shows up in the list, so I click on that and click the Right Arrow button, nothing happened. ...

ValidationRuleFindText not working as expected

506 byte By Jesudhas at 2008-2-10
Hi,I have added a "ValidationRuleFindText" to my WebTest to look for a particular string. If the string is found then the validation passes. While running the web test "alone" it works fine. But when the web test in included into a loadtest and a load of 10 virtual users applied, I get lots of ...

Can a generic test execute an existing TestComplete script?

258 byte By Charity at 2008-2-10
Hi, I am very new the the VS system. Is it possible currently to wrap an existing automated script that was created by AutomatedQA's TestComplete? I have attempted doing this but VSTS says "No process is associated with this object." Thanks! Charity

Web Test - Any way to compare an Extracted value (Context Variable) against an expected resu

125 byte By LucasC at 2008-2-8
Hi, Is there any way to compare an Extracted value against another expected value without using coded Web Tests? Thanks

Web Test - Can ValidationRules use a Datasource?

299 byte By LucasC at 2008-2-8
Hi, I couldn't find where to add a Datasource in validation rules. I can use data from a data source as parameters but if I can chage dinamically the parameters (Data Driven) I'd like to validate against Data Driven values. Is it possible? Is there any way to do that? Thanks in advance

Web Test Validation Rules: How to validate a especific HTML Element

801 byte By LucasC at 2008-2-7
Hi,I'm trying to use validation rules to validate the response of a Web Test.I'd like to validate that a especific object (an input type= text, id=TextBox2) has a especific value.I could validate that exists a Tag with this value, but I couldn't validate that this Tag was the one I want.I ...

Web Test - Any way to compare an Extracted value (Context Variable) against an expected result?

125 byte By LucasC at 2008-2-7
Hi, Is there any way to compare an Extracted value against another expected value without using coded Web Tests? Thanks

Additional files in .testrunconfig file

199 byte By DmitryBerkovich at 2008-2-7
Hi, Is it possible to add file in .testrunconfigfile->Deployment->Additional files with reference to environment variable. Something like %TEMP%\myFile.txt? Thanks, Dmitry Berkovich

Create Private Accessor and generic collections?

523 byte By AndreasSchweizer at 2008-2-7
Hi,the generated wrapper class to access private members doesn't contain any accessors for fields with a generic type, e.g.private Dictionary<string, CacheEntry> m_cache; Does anybody know a workaround for this problem?Thanks, ...

Howto.... Log failed steps to a file/table and extract querystrings

766 byte By MehmetOzdemir at 2008-2-6
I've been playing with Web Test to try out the following. Exercise a web application by logging in then logging out of a web app. I have hooked up the Username / Password fields to a table and I'm testing around 1500 logins. Now the test works great with most logins passing. What I would like ...

Load test report error

530 byte By Jonas at 2008-2-6
I got the load test to run and save its results in the database. When it's done, I clicked on the "Report" button to view a report, and I get this error:Cannot access reporting service ' http://mycomputername/reportserver/reportservice.asmx' (ListChildren Web Service method name is not ...

Load Test and certificates

322 byte By Thomas_K at 2008-2-5
I have to do a load/stress test using a webportal that uses certificates. I have to simulate different users logging in using different certificates. How would I be able to achieve this using a single machine? Thanks for your help, Thomas ...

Load test needs database

569 byte By Jonas at 2008-2-5
I tried to run a load test consisting of a single web test, and at the end of the run it said I needed to create a database for my test results, or needed to set a connection string. The error message had links to the help file, but they came up w/ "Item not found" in MSDN. How can I set this ...

WSE 2.0, Web Services load testing

267 byte By Mjohnson at 2008-2-4
Has anyone load tested an app that uses WSE 2.0? I've tried all the major tools on the market and none of them can get around the security (timestamping) that WSE brings to the app. I'm hoping that someone has been able to get VS team edition to work for them.

Class Name column in the Test Results?

725 byte By BobWiller at 2008-2-4
Is there anyway to get the Class Name column added to the list of available columns for the Test Results pane? It is available in the Test Manager, and it seems to be the best column to use to fully qualify the name of a test; If you are running a lot of unit tests that have the same name, but ...

How to get code coverage from Web Tests?

251 byte By LucasC at 2008-2-4
Hi, I'd like to get code coverage information from Web Tests. I configure the testo configuration in order to instrument the Web Site. I Run my web test but no coverage information was generated. Is there any additional Step? Thanks

Bug status in Team System

264 byte By AaronJ at 2008-2-4
In Team System, is there a way to edit the fields under Status? For example Priority is a status that shows up with numbers. I would like to be able to modify it so the number displays something else, 1-cosmetic, 2 -minor/work around, etc... thanks, aaron

workaround for handling SSl Sites

380 byte By Shikha at 2008-2-4
My Company has verisign secured site which I have to test. I tried fiddler2 but it does not record the ssl pages and results in an empty webtest when saved to VSTS. I read that a plugin can be used as a workaround. Can u help me with the possible workarounds because verisign generates a javascript t...

TestContext.AddResultFile

336 byte By Gerhardo at 2008-2-3
Hi,What is the intent of TextContext.AddResultFile() do? The help file just lists out the method at this point. I thought it would let me override the result file location, but that wasn't the case. Is this a result file that I can add and then populate with additional log information by ...

Visual Studio Team System

Site Classified