testing

Average max concurrent users on Tomcat

Hello, I am doing stress tests with JMeter on web application (built with Spring, Struts2 REST, uses PostgreSQL). I am simulating typical user's scenario with my app - 4 GET, 3 INSERT, 20 UPDATE calls. Server specs: 4core Intel Xeon X5365 3GHz 8GB RAM single 320GB SATA disk OS: Ubuntu 8.10 32bit DB: Postgresql 8.4 Tomcat 6.0.18 Java 1....

How to fake out a subdomain lookup in Rails tests?

I have the following filter defined: # application_controller.rb class ApplicationController < ActionController::Base before_filter :find_account private def find_account @current_account = Account.find_by_subdomain!(request.subdomains.first) end end and in my test: # users_controller_test.rb class UsersController...

Is this a good way of testing Perl code?

I'm writing a module that has some functions dealing with text files. I'm new to testing, so I decided to go with Test::More. Here's how my test file looks like now: use mymod; use 5.10.0; use strict; use warnings; use Test::More 'no_plan'; my $file_name = "test.file"; sub set_up { my $self = shift; open(my $handle,">",$file_n...

what is the difference and advantage of usecase based testing and system testing

Hi, In what way usecase based testing is differen from system testing ? Can we consider system tesing as a subset of usecase based tesing , (ie)system testing consider only usecase of components or sub system with in the system. ...

Create coded webtests

Hi, I'm looking for a tool that plugs into the browser and records user actions and then saves a webtest in either c# or vb.net. Then the tests can be compiled and run without a browser, ie tests use httpwebrequest with extraction rules etc. I only have Visual Studio 2005 professional, I know that the functionality I'm after is availabl...

emulating iPhone video player behaviour

I need to debug a networking application which handles video downloaded by iPhone from Youtube. iPhone downloads chunks of video by requesting each time a different file range (by adding Content-Range in HTTP GET header) while PC applications usually request a whole file. Are there any PC application (preferably Linux, but Windows is al...

Production/Test Environment easy question

Hi, I am working in a website that in production has only the aspx files and the bin directory and files. Any body knows how any ideas how this website was deployed I usually have my websites and I submit the code as well. My question 2. How can I create a test website in the same server? I already create the test database. Any suggest...

Rails Foxy Fixtures throwing unknown column error

I am using dynamic fixtures and whenever I run my tests I am getting an error that thinks my association is a column, when it should be owner_id: ActiveRecord::StatementInvalid: Mysql::Error: Unknown column 'owner' in 'field list': INSERT INTO `companies` (`custom_host`, `name`, `created_at`, `updated_at`, `api_key`, `id`, `subdomain`, ...

In Asp.net MVC project is it possible to add a test project later?

Does anyobody can explain me, how to add a test project to the asp.net MVC project after I created them without it. I'm using ASp.net MVC 2 beta on VS2008 Dotnetframework 3.5 Thanks in advance Gabriel ...

Testing framework for data access tier

Is there any testing framework for Data access tier? I'm using mysql DB. ...

Javascript communication with Selenium (RC)

My Application has a lot of calculation being done in JavaScript according to how and when the user acts on the application. The project prints out valuable information (through console calls) as to how this calculation is going on, and so we can easily spot any NaNs creeping in. We are planning to integrate Selenium (RC with python) to...

How do I implement a test framework in a legacy project

So, I've got this big project written in PHP and Javascript. The problem is that it's become so big and unmaintainable that changing some little portion of the code will upset and probably break a whole lot of other portions. And I know for a fact that I'm really bad at testing my own code (as a matter of fact, others point this out dai...

OSGi unit testing without step that packages bundles...

I have checked a few testing solution for OSGI including PAX and had a quick look at the abstract TestCase within Spring DM but they both appear to require one to jar up and bundle associated bundles. I was hoping to find something that works without this intermediate step. Imagine the ability to package up packages on your classpath s...

How to test a TCP server implementation?

I have written a TCP server implementation using which I created an application which works as TCP echo service. Now I want to test this echo server in terms of How many connections it can handle What is the response time How much memory and CPU it uses Please can you suggest any standard method/tools to test this echo server. I und...

writing functional tests for a desktop app in dotnet

Hi, We are developing a desktop application in winforms using 3rd party controls,which are not UI automation compatible.Is there any way to do the functional tests through UI.We want to perform various actions on UI, n assert correct Ui changes are happening and the backend stuff changing(assert db record saved). ...

Best Practices for Roaming Profile Support Testing

We need to ensure that a Windows app that we make (which includes Office plugins) works right when installed in a Roaming Profile environment. Can anyone supply procedures, or a pointer to procedures, for Setting up a test AD domain for use in testing with roaming profiles testing The fact that we've got Office plugins implies, of c...

How do I setup FitNesse for use with .NET?

I'm trying to get started with FitNesse for .NET on Windows Vista. In all tutorials I find on the web I'm told to execute the run.bat file, but all i get when downloading the latest release is a .jar-file. When i run this, the filestructure is unpacked and I can reach the fitnesse server by browsing to http://localhost. Now, when I'm try...

Strategies for testing against a live system.

Let me describe the scenario: Our VB.NET web application talks to a third party data provider via webservices. It also saves data in a HUGE SQLServer database which has extensive business logic implemented in stored procs and triggers. The webservice provider also employs convoluted business logic which is quite dynamic. The dilemma ...

How to stress memory on windows 2008 64 bit.

Hi , I want to stress memory on windows 2008 64 bit . i saw code which on msdn magzine . but its not running on windows 2008 64 bit. Know any good tool for stressing memory ? ...

JUnit: pause for user input

I'm learning JUnit. Since my app includes graphical output, I want the ability to eyeball the output and manually pass or fail the test based on what I see. It should wait for me for a while, then fail if it times out. Is there a way to do this within JUnit (or its extensions), or should I just throw up a dialog box and assertTrue on th...