How do you load-test your ASP.NET applications? - asp.net

I'm not sure where to start when it comes to load-testing ASP.NET applications. My team doesn't use VSTS so that option is out. Does anyone have any good suggestions or experience they can share?

I'ved used Microsoft's free Web Application Stress Tool. It lets you record a browsing session, then replay it using multiple clients.
It seems that Microsoft has pulled this application from the download center, but you can use this alternative download (it may require 7-Zip to unpack).

Red Gate Software has a product called ANTS that can be used to do this.
Click Here for product link

Using BrowserMob.com is quite cheap for what it provides. You can listen to an interview with the founder of Browser Mob on Startup Success Podcast #18.

You can use Grinder.
Its a nice Java Based Opensource tool, to load test webapps. Pretty lean as well.

Related

Alternative to 51degrees.mobi?

Since the mobile detection solution for ASP.NET 51degrees.mobi became commercial (the lite version isn't really useful anymore), I'm looking for an alternative solution.
Are there any other OpenSource or free projects, that enhance the detection of mobile devices with ASP.NET?
There is a free version of DeviceAtlas available for web developers who need an easy and reliable way to distinguish between mobile, tablet, desktop, TV etc. Also identifies OS and browser. It's available to your web application as a web service built on the DeviceAtlas Cloud infrastructure -
Completely free to use and available in Java .NET PHP Python Ruby
https://deviceatlas.com/blog/announcing-deviceatlas-cloud-free-version
Developers, hobbyists and micro-companies may find the free WURFL OnSite or Cloud offering sufficient for their needs.
WURFL Cloud: http://scientiamobile.com/wurflCloud/gettingStarted
WURFL OnSite: http://wurfl.sourceforge.net/dotnet_index.php
In free edition they allow any 2 free properties/capabilities which you can select like-
ux_full_desktop
is_wireless_device
is_tablet
brand_name
model_name
device_os
device_os_version
and many more...
This would help in getting just and much more required requesting device info. Hope this helps somebody in need.
Check out Apache DeviceMap for .NET: http://devicemap.apache.org
The best (and probably only) Open Source alternative that exists in that area.
After Apache showed too little interest in Mobile projects (there are only 2 active projects in this category, essentially all dominated by client-side Phonegap) especially on the server side, we put DeviceMap to rest in January 2017.
You can find the only true Open Source alternative in this field, free to use both for non-profit and commercial sites at OpenDDR.
WURFL should handle your needs: http://wurfl.sourceforge.net/

Designing a light-weight accounting application

I am designing a light-weight accounting application that suits small to medium
business (eg .shops), any reference to materials that help or ideas from anyone who did this kind of software before would be great.
NOTE : reference to a (C# preferably) library would be great.
There are many open-source accounting applications out there; i'm not sure if this one was done in c# but here's a link:
FrontAccounting(accounting software) Note: This one is a web-app.
The links for downloading the software are all the way at the bottom of the page in the "references" section. Hope that helps!
List of other accounting softwares(open source):
Other Softwares Scroll down to "Finance".
Try to keep it generic as possible and consider the adoption a plugin framework to forsee further extension. A good business analysis eventually is a prerequisite.

ASP.NET Application Development – Tools

We are building an ASP.NET website using C#.NET language and VSTS 2008.
Would you please let me know which are all the third-party tools those can help us in the complete SDLC of this project?
Thank you..
Regards,
Karina.
Try Microsoft Team Foundation Server. It will handle your source control, work item tracking, bug tracking, reports, and provide you with a Sharepoint project portal.
Phew! There's lots that you can use, basically a complete eco-system has been constructed around this.
Much depends on
the process you'll use to develop the software (waterfall? agile? a mix?)
where your people are (if you have remote folks, you'll need good collaboration)
how many you are (small projects won't need quite as much project tracking software)
the kind of project you're on (a large complex site might need a comprehensive database management system, a small one can just use free tools)
what metrics you need to report
how experienced your developers are
the kind of graphic design expertise you have and need
your budget!
And that's just off the top of my head.
More specifically, here's some third-party tools I've used successfully that I'd not consider starting a project of any size without:
A source code repository: Subversion is a good one, TFS is expensive but does the job
A continuous integration server: I prefer Hudson, others like CruiseControl.NET
A refactoring tool for software developers (Refactor!, Resharper)
A virtual machine system for hosting test systems on a server (I use VMWare)
For larger teams where you're using Agile methodologies and need to report progress, consider Scrumworks.
Putting it another way, I'd suggest that you budget at least $500 per developer for tools, add-ons and geegaws beyond Visual Studio.
At home I use:
tortoises - Source Control - http://tortoisesvn.tigris.org/
ankhsvn - VS Integration - http://ankhsvn.open.collab.net/
CruiseControl.Net - Continuous Integration - http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET
Screwturn wiki - wiki for knowledge sharing - http://www.screwturn.eu/
At work I use TFS.

ASP.Net Testing Suite?

I'm in the process of researching testing options for .Net development particularly ASP.Net.
What testing tools do you swear by? NUnit, Selenium, RhinoMocks are my current apps in my toolbox but what do others have to offer for a more complete testing coverage?
No budget
I swear by NUnit, Selenium and then a number of other little tools like YSlow, Firebug
I did a talk at Google Test Automation Conference http://www.youtube.com/watch?v=qQgDDAan4rM where I show how you can mix Selenium, NUnit and Yslow to get an idea of how the user is experiencing the system.
I have started using JsTestDriver as well and think that is really good for unit testing JavaScript The video from the same conference is here http://www.youtube.com/watch?v=aDKGGZv-T4M
All of those are free and most are open source
Kzu and friends have a new pet project called Moq, which may be the coolest derivative open source project name ever. -Scott Hanselman
http://www.hanselman.com/blog/MoqLinqLambdasAndPredicatesAppliedToMockObjects.aspx
Haven't gotten around to trying Moq out yet but I've seen Hanselman talk about it in a couple of his blog posts, probably worth checking it out.
See the answers to ASP.NET Free testing tools

Automated testing of FLEX based applications

What tools, preferably open source, are recommended for driving an automated test suite on a FLEX based web application? The same tool also having built in capabilities to drive Web Services would be nice.
Adobe distributes a test framework themselves: FlexUnit.
I heard of people using selenium as a free/open source testing tool. A quick google revealed a FLEX API for it. Not sure if it works or is still in development, but it may be worth a look.
http://sourceforge.net/projects/seleniumflexapi/
Are you looking to script code-level unit tests? If so, dpuint is the bomb: http://code.google.com/p/dpuint/ . This library makes it really easy to do automated testing on all sorts of asynchronous events, on either non-visual ActionScript objects or visual components. They also have a nice multi-page tutorial on the Google Code project page.
If you are looking for functional testing tools along the lines of automated record-and-playback simulating an end user using a Flex app, HP's QuickTest Pro is the Adobe-endorsed solution. It works great, but costs about $4,000 - $6,000 per seat.
Check out FlexMonkey. It does automated testing via FlexUnit tests.
Try looking at Melomel. It has Cucumber support baked right in and comes packaged with steps for most Halo and Spark components.
http://melomel.info
There's an automated test tool called RIATest that might fit the bill for you.
Unfortunately only for Windows, and not open source, but if it does the job it might be well worth the price ($399 at time of writing).
FunFX is an option for automating UI testing. I haven't used it extensively, but I've heard of some having success with it. Here is the article where I first learned about it.
I've been extensively using FunFX for several months now on a Flex 3 + Rails project. Not only is it open source, it's also written in Ruby, so integration with web services should be fairly easy. There are a few screencasts out there covering the basics.
The Flex code that your Flex app needs is contained in the SeleniumFlexAPI distribution .swc file, SeleniumFlexAPI.swc. Just include this file as a library when you compile your Flex app.
Sikuli is good tool which can be used to test flex/flash based web applications.
-It can automate anything on graphical user interface.
-It works on Windows, MAC OSX and Linux as well as iPhone and Android.
-Here is the Sikuli link
My preferred tool is Selenium Remote Control. There is a plug-in I discovered a few months ago:
http://code.google.com/p/flash-selenium/
This required 'hooks' to be written on the server side (ActionScript/Flex). Once they were added, I was able to do some browser testing using Selenium RC.
FunFX is great. We've used it extensively and have been very happy with it. The community is also active and very responsive, so that is a big plus for me.
The new version of the Selenium-Flex API (0.2.5) works great.

Resources