Stress Testing Managed Host With VS 2008?
Jan 31, 2010Is it possible to stress test a managed host (not my own machine) using VS 2008?
View 4 RepliesIs it possible to stress test a managed host (not my own machine) using VS 2008?
View 4 RepliesI want to test asp.net application for stress, load and performance. Please guide me what free tools should be used for this ? Is there any tool which particularly can be used to analyse individual components, functions and scripts and resources they use ?
View 2 RepliesI'm currently developing a few ASP.NET MVC2/.NET 3.5SP1 web-services that are mostly IO bound (execute a couple HTTP back end calls + DB write per request) and i'm getting really poor load-testing performance.
To make sure it wasn't something in my application, I created a brand new ASP MVC 2 project (project -> new -> "ASP.NET MVC2 Web Application", based on .NET 3.5 SP1), added a "TestController" with the following action:
[Code]....
I deployed this on a dual-core test server, running Win2008 and IIS7, Application Pool set to "integrated mode". I have the following in my C:WindowsMicrosoft.NETFramework64v2.0.50727Aspnet.config:
[Code]....
Just in case, I added the following DWORD key in the registry:
[Code]....
I verified I was able to access my test action from a regular browser and started a load test from another machine on the same network: user load set to 500, no "think" time.
The following is what I observe on the machine running the loadtest after about 8 minutes:
req/s: 5.98avg response time: 78.4 secondsno errors whatsoevernote that the local CPU is 1-2% On the test server, this is what I observe using perfmon:
request current: flat line at 501request execution time: flat line at 1506 ms avg => this makes sense though I don't understand why I see the request coming back after 78 seconds at the other end% proc time avg < 1%request queued as well as all others asp.net v2.0.50727 counters at 0 I don't get it. I believe the expected behavior would be to see about 333 req/s (500/1.5) with a avp response time of 1.5xx seconds...
I wantto make a slower transmitting/transferring data speed for debugging issues.(no threading sleep is not my answer) searching a way to limit webdev.webserver speed (bandwidth) ?
for example maybe checking on "custom web server=webdev.webserver /BandwidthLimit=128bs"
is it possible to automatically populate a file upload control's file for automated testing and server stress. I have one upload control (that simply brings up the browse and selects the file) and a button that uploads the selected fileupload control's file. Is it possible to give the file upload control a file pather "C:myImage.jpg" and submit the file by pressing the upload butto:
document.getElementById("fileUpload").value = "C:myImage.jpg";
document.getElementById("btnUpload").click();
I have a simple website developed on vwd2008express edition .
I have precompiled the site and have all compiled files in a folder.
how to go abt deploying these files on iis.
I have a managed dll compiled in vc++ 2005 with .net 2.0 works fine in visual web 2005.I upgrade my VW to 2008 and add the same dll to a project but getting a compile error.VC++ 2005
public ref class Class1 {
public: Class1(){
b1 = gcnew array<System::Int16>(50000);};
[code]...
I have the web project with web services. When just run it, it is OK.But when put???
View 4 RepliesI am new to .NET
what is Unit Testing in VS 2008 and how to implement it.
I want to load test an ASP.NET web service. I have Visual Studio 2008 Professional Edition and Visual Studio 2010. Can either one of these products facilitate load testing? I can't seem to find anything and all Google returns is higher end editions of Visual Studio.If not, what are some of the alternatives.
View 3 RepliesThis is sudhir iam new in testing in vusual studio 2008 . how to do the unit testing in visual studio 2008
View 1 RepliesIs there any way to test my website using MS .net 2008 tool.
View 1 Repliesis there any tutorial about how to run a unit testing on a web page (events...etc) in visual studio 2008? is it even possible? i can find anything to start with
View 1 RepliesI have alway tested/debugged my web applications by using f5 to "Start Debugging". Recently (yesterday) I have begun to start without debugging then attach the debugger to the webdev process if I needed to set breakpoints or anything. So far I haven't noticed much of a performance increase when not using the debugger. I am curious about how others save time when running locally.
View 3 RepliesRecently for a class to implement unit test for one of its private methods I used PrivateObject by creating private accessor instead of refelection, to which i received a code review comment as below
"My main concern with Private Object is the use of object[] in constructor. It replaces strong typing enforced by compiler with JavaScript-style run-time error detection.Consequently , personally, I would not recommend it."
Comments above confused me beacuse as per my understanding reflection also needs the object[] to invoke any method.
am working as a web developer in a company. I am not aware of anything related to testing. Our company is planning to buy some testing softwares. Presently we are working on ASP.NET. We will be working on PHP and JAVA in future. I need your help to find out the best but cost effective testing sofwares.on TFS and Visual Studio Testing tool.
View 2 RepliesI'm currently building a .net web application that uses WCF web services to allow a Flex front end to access the database.
I'm in the process of setting up some unit/integration style testing on the web services and am trying to work out the best way to allow the tests to access and modify data in a separate test database.
Currently, the connection string in my unit test project points to my testing database, and the connection string in my web services project points to my development database. However, as I am using Linq it appears that when I call the web service methods from my test class, it uses the development database connection string. I have looked into creating mock objects or in-memory database but I believe the same issue would occur.
Is there a way to get this to work, or is my entire idea about what I want incorrect, in which case is there a better way to set this up?
I have a master page/content page going on in this situation. The page has two page methods that work, and they feed info to a pair of autocomplete extenders. The script manager on the Master Page has 'EnablePageMethods' set to true. The content page has a ScriptManagerProxy. The strange thing is that I have used this pattern on four other pages within the project.
<System.Web.Services.WebMethod()> _
Public Shared Function testing(ByVal uid As String, ByVal issn As String, ByVal journalName As String) As String
Return "true"
End Function
Here is the javaScript code:
function AddJournal(uid, issn, journalName) {
alert("uid: " + uid + " issn: " + issn + " name: " + journalName);
PageMethods.testing(uid, issn, journalName,
function(res) {
if (res !== "true") {
alert(res);
} else {
alert("The journal " + name + ", issn as " + issn + " was successfully entered.");
}
return;
},
function(res) {
alert("The journal database could not be accessed
" + res.get_message() + "
Status Code: " + res.get_statusCode() + "
Exception Type: " + res.get_exceptionType() + "
Please try again.");
});
}
The fail function is executed, and the status code is 0 (zero), and the exception type is an empty string. I can change the function with no parameters, and I get same error. I can the leave the parameters at three on the VB side, and change the parameters to two on the client side; then I do not get the error message, but none the other alerts are executed.
I'm used to developing private applications for very small amount of concurrent users (usually no more than 10) on very good servers, so I have never been pressed about stress testing my applications. That being said, this is something I want to have a better grasp on my applications.
FYI, all of my websites are based on ASP.NET 3.5 (WebForms), NHibernate (specially interested in testing it with numerous concurrent sessions) as the ORM of choice and require Active Directory authentication.
My kind webhost (1and1) royally asked me to go elsewhere to do something like this.
I have 2 sites. One of them was developed by a .Net programmer. Now I am contracted to implement a PHP site and fetch data from the .Net site.
There is an ASP.Net form that a customer fills and when they hit submit, the data gets stored in SQL Server DB. How do I also store the same data in MySQL parallelly? I cannot directly use some database connectors with ASP.Net since MySQL connectivity is not supported on 1and1 Windows hosting (biz account, no less!).
What I thought of is to publish an RSS feed of entries in ASP.Net site and routinely scrape that data into MySQL on Linux host. It is an overkill, I know. Not efficient.
I have one IIS entry with AppPool integrated mode. There are 5 or more host headers assigned. The application pulls data based on the host name from Request.Url.Host. When I have 2 or more sites open at the same time the value of the Request.Url.Host is the same across all the sites. About every 30 seconds it resets itself to the correct value from the last request and shows that value on the other sites. So ultimately the sites are loading the same data. The value in the HOST server variable is incorrect as well.
View 1 RepliesWe have an application that may or may not have problems during heavy load. To try to get more correct usage patterns regarding load, we'd like to just fire up a bunch of users logging in, and then repeatedly just navigating through a list of links (our menu basically.)Is there any open source or free tools we can use? We're not adverse to pay for anything if we need to but right now we are trying a bunch of different things and we'd like to hold off on this until we know a bit more.Of course, some simply Python scripts would do the trick, but if there's anything we could input our links to that saves us a bit of time in this it would be most welcome.
View 2 RepliesPossible Duplicate:
what is the difference between “managed” vs “unmanaged”? I am a beginner in C# ASP.net
the title says it all but just to elaborate a little further...What I basically need is to manage a large set of URL rewrites and redirects. The redirects are easy to do but the rewrites should be proxyed through the ARR proxy in IIS. As far as I can tell the IIS rewrite module uses the native setUrl API in IIS to get the ARR proxy to forward the request. I'm not up to the task of writing a native module so I thought it might be possible to write a managed module to do the same.@CarlosAg: Just to expand my comment on your answer. Heres the rules and providers I need to set up to make the rewrite module do what I want. Is it just me or doesn't it seem a little like manipulating the rewrite module into doing something it wasn't supposed to do?
<rewrite>
<providers>
<provider name="CustomRewrite" type="MyRewriteProviders.RewriteProvider, MyRewriteProviders,
[code]...
Is it possible to determine the managed pipeline IIS7 is running under in ASP.NET?
View 1 Replies