Questions tagged [testing]

243 questions
11
votes
3 answers

How do I programmatically test if it's possible to connect to the X server specified in $DISPLAY

This is a bit of a middle-ground between programming and server-admin, but this seems ultimately the most relevant place for it. I'm looking for a way to determine if the variable '$DISPLAY' is advertising an XServer we can actually connect to,…
Kent Fredric
  • 571
  • 1
  • 5
  • 13
11
votes
5 answers

Test-driven development for infrastructure deployments?

I've been using puppet for deployment of infrastructure, and most of the work I do is with Web 2.0 companies who are heavily into test-driven development for their web application. Does anyone here use a test-driven approach to developing their…
Jon Topper
  • 802
  • 9
  • 17
10
votes
2 answers

Need a live UDP echo Server IP and port

I require to test my UDP program using echo server. I have tested this application in LAN but now I require it to test it in Internet. Is there and globally recognize freely available well known ECHO server that I can use directly in my application…
Amit
  • 221
  • 1
  • 2
  • 9
10
votes
4 answers

Windows desktop (XP, Vista or Win7) EC2 AMI for QA testing

I need to perform QA testing for Windows based applications on a Windows desktop client and I would like to know if EC2 supports Windows images that are NOT server based (e.g. Server 2003). I have searched and found many posts that suggest that…
QWade
  • 917
  • 1
  • 11
  • 17
9
votes
3 answers

Command-line utility to test fwmark in ip rule / ip route?

I am trying to find a tool that will allow me to find the route a packet will take that comes in on a device, and has a particular destination address. ip route get will do most of what I am looking for. The issue is that I would like to test…
msumme
  • 93
  • 1
  • 3
9
votes
3 answers

How to corrupt a file system

I am going to be testing 'xfs_repair' on some large file systems ( around 50 TB ) as in the past the memory usage is high. While I could test the program only on file systems which were correct it would be good to test them on a corrupt system. So…
James
  • 2,232
  • 1
  • 13
  • 19
9
votes
6 answers

Generate a limited amount of random network traffic between 2 hosts

I'm trying to find a utility that will allow me to generate a constant flow of random network traffic at a specified rate between 2 hosts. The utility needs to run on Windows and OSX. I've tried iperf but it seems to be more oriented toward…
Andrew S
  • 508
  • 3
  • 7
  • 12
8
votes
4 answers

Need to DUPLICATE HTTP requests to two servers

We're developing an new server to replace an old one, and want to put the side by side for before & after tests - so that we can compare the end result and find the discrepancies. The input to both services (old and new) is HTTP requests (mostly if…
Moshe Eshel
  • 233
  • 2
  • 7
8
votes
5 answers

What's a reliable way to test patch panel connections?

I just had to run a total of 12 cat5 cables into a patch panel. This was the first time I'd actually done that. I'm reasonably confident that I got all the wires in the right order after some initial A/B confusion, but I'm not entirely confident…
DWilliams
  • 953
  • 2
  • 20
  • 29
8
votes
7 answers

Testing a server before installing an OS

Our development server at work is taking a dump on us. So at this point, we're repurposing some other servers we have in our server room for this purpose. My boss wants me to test the servers before I even try installing anything on them. How do…
collink
7
votes
2 answers

How to implement partial mirroring in nginx?

I want to test an early new version of a server, and to do so I want to mirror part of the real requests that come to the production server on my testing server. The mirror module allows me do to mirror all the traffic, but I haven't found how to…
7
votes
4 answers

Tool to physically test ethernet cable with two network cards?

We're building ethernet cable or a non-profit community computer lab. We test them with a cheapie cable tester, which I believes simple checks the electrical connection of each wire. We're having some problems with the networking ( pings are…
user26664
  • 287
  • 1
  • 2
  • 7
7
votes
3 answers

(How) do you run "functional" tests on your services automatically?

Consider a simple FreeBSD machine running an SMTP server - how can I automatically verify that it's doing the right thing (e.g. accept incoming SMTP connections for certain recipients, and drop the mail in some Maildir)? We already use server…
Frerich Raabe
  • 801
  • 7
  • 16
7
votes
2 answers

How do I force ext3 partition to the "error" state?

I have a script where fsck is called in case filesystem is in "error" state only. I'd like to tests it. Unfortunatelly I don't know how to force "error" state on ext3 partition. The only one idea I have is run fsck on mounted partition first. AS…
user822834
  • 171
  • 1
  • 6
6
votes
1 answer

Ungracefully terminating pods

To test that the high-availability mode does what it should, I need to kill the instances during testing, and I need to kill them in such way that they can't report they are disconnecting or similar. For practical reasons I need to do the testing on…
Jan Hudec
  • 275
  • 3
  • 13
1
2
3
16 17