Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 5th, 2008, 11:37 PM
Authorized User
 
Join Date: Jun 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to simulate connection problems

In my software tool, users face connection issues in their network. In my test machine such problems will not occur. Is there any way to simulate connection issues in my machine? It is very important to debug the kind of issues that my users are facing.

Thanks.
 
Old August 6th, 2008, 08:16 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

What are you connecting to that won't fail? Network? Mail server? Database? Remoting? HTTP?
What protocols? TCP/IP? UPD?

I would imagine that setting up a test case that points to a non-existent end-point would satisfy the need to test a failed connection.

-Peter
compiledthoughts.com
 
Old August 12th, 2008, 01:52 AM
Authorized User
 
Join Date: Jun 2007
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Specifically it is Database server that does not fail under test conditions. The simple reason being there is no huge network traffic in my test server. In Live Server there is heavy network traffic.

Non existent end point will not work. Because I want my application to encounter connection problems randomly as it occurs in Live. In Live depending on the network, my application would connect successfully and occasionally would experience connection problems.

So I need a tool to simulate connection problems.

 
Old August 12th, 2008, 03:30 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Sounds like you need to look into load testing.

-Peter
compiledthoughts.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to simulate ECDLP? nay_ctg BOOK: Beginning Cryptography with Java 0 August 27th, 2008 01:51 PM
Simulate a double click? chobo2 C# 5 November 10th, 2007 06:15 AM
Database Connection Problems Roy Ng Dreamweaver (all versions) 3 August 15th, 2005 09:36 AM
Simulate Loading... alyeng2000 ASP.NET 1.0 and 1.1 Basics 0 March 23rd, 2004 04:29 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.