Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [testing]

The tag has no usage guidance.

1
vote
1answer
8 views

Redis sentinel: force switch to another master

Context: I have 3 redis nodes, and 3 sentinels. The failover works properly. When I'm taking the master down, another master is elected. Need: I need a way to test the behavior, to make sure ...
0
votes
0answers
11 views

API tester online [closed]

I would like to be able to test a fake API service, say, by asking /customers and recuperate [{c1}, {c2}, {c3}]. I would like to test something like C# server. Create a fake class "Customer" and ...
1
vote
1answer
83 views

Installing OpenSSL from Debian testing on a Debian stable installation

I would like to install OpenSSL 1.1.1a on a Debian stable server, which currently has OpenSSL 1.1.0j installed. So, I created the necessary files according to this answer in the /etc/apt/preferences.d ...
1
vote
0answers
25 views

How to test fcgi?

I try to use foo.pl, but using /usr/lib/fcgi-bin as my fcgi directory in the given directive. I made foo.pl executable and after editing my apache2.conf I have restarted apache2. But if I launch my ...
3
votes
1answer
44 views

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 ...
0
votes
1answer
87 views

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. ...
0
votes
0answers
26 views

Automating Windows patch testing with Test Manager or VS Lab Manager

Any advice, best pactices, past experience using Microsoft Test Manager (with the ability to automate VM snapshot management) or similar tools to automate the windows patch testing process? How to ...
-2
votes
1answer
84 views

300' Fiber Optic Cable not passing Data [closed]

Just installed a 350' Fiber Optic cable for a client. Customers IT company came in to install the AT&T router and said the fiber optic cable is not working. IT company installed the router with a ...
0
votes
1answer
56 views

How to deliberately fail DNS resolution in Linux to crash-test a Java app?

The situation is rather simple: to reproduce failures which had happened in a recent outage, I'd like to deliberately fail DNS resolution in JVM's in: Caused by: java.net.UnknownHostException: ......
-3
votes
3answers
595 views

Manually running rsnapshot

this is my first post here. I have configured rsnapshot for backing up remote hosts. Some of them are working fine and for some of them in the morning, I am having email with some error code 255. I ...
2
votes
3answers
114 views

Safely conduct tests that require unplugging server

So, basically I am testing and diagnosing my UPS's as well as the power sources (PSU) of my server. For that purpose I am powering down the server "the hard way", by unplugging it from the wall as to ...
0
votes
2answers
42 views

How to config Ngnix to achieve any possible website error for testing [closed]

I'm developing a website using Django framework and Nginx. Would like to create a false system error and observer how my system responds. This is a nice article however this only create false Error ...
0
votes
0answers
8k views

How to set DSCP values for outgoing traffic from my linux server to check whether QOS is working correctly or not?

I have to validate whether my router's QOS policies are working correctly.I have come up with an approach to tag the packets with DSCP values using IPTABLES. Can anyone confirm whether my approach is ...
2
votes
0answers
401 views

Testing Daylight Savings Time Switch

We have a case where we need to test some scripting and application code related to daylight savings time. We wanted to simulate the daylight savings time switch by disabling the NTP service and ...
1
vote
0answers
47 views

Remodelling old backend architecture to use Docker and CI

I'm currently running a backend in production and want to change our current setup to use Docker for deployment and a CI tool for testing. Right now I have a BitBucket repository with the two main ...
-2
votes
1answer
1k views

How to check my network for IP spoofing availability?

I want to test if my network or even my ISP blocks spoofed IP packets. I am running a Debian Linux OS. I found this nice tool, but it's not working on my system .. https://www.caida.org/projects/...
1
vote
0answers
25 views

Testing Different Wifi Vendors - Strategies

I am currently looking to trial some new Wifi products for my work place. We currently have around 50 Access Points that link into an HP MSM controller. I wanted to find out if anyone has any ...
1
vote
1answer
720 views

serverspec if statement for mysql version on server

Is there a way to check which package installed on server by command output? describe command('mysql -e "select version();"') do if its(:stdout) { should =~ /5.6.27-76.0-log/ } describe ...
0
votes
0answers
14 views

Manually trigger file write failures

We're building a custom software program (Java + Spring.io) that writes audit trails to a log file (using logback). When a user takes an action in the system, an auditing entry is logged. This works. ...
0
votes
2answers
67 views

Auto test framework for server deployment

I deploy Linux servers all the time and would like to test each installation. Like a system test. For applications there a numerous of test frameworks, but I can't find anything for testing the a ...
1
vote
0answers
271 views

How to change server time safely for testing purposes

We have a Debian server (in a VM) running a Java application on a Tomcat server, using a Postgres database. It's a testing environment, so we can do anything we want to it. Every once in a while, we ...
4
votes
1answer
441 views

Segmentation fault when running nuttcp inside Docker

I am measuring the UDP throughput between two Docker containers that are connected by Docker's native overlay network. I already used iperf but also want to measure the throughput with nuttcp. But ...
0
votes
1answer
43 views

Reliable UK/EU ICMP Targets for Periodic Routing/Connectivity Tests?

I need to test routing between my United States datacenters and United Kingdom and Mainland Europe ISPs. This is used to distinguish between general transcontinental routing issues and specific ...
3
votes
2answers
3k views

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 ...
10
votes
5answers
16k views

Testing a servers ability to serve a particular domain

Say you have Server A set up with your favourite webserver-daemon to serve www.example.com. Now you want to move this to Server B. After a bunch of copying and configuring, the new server seems to be ...
0
votes
1answer
247 views

Is it possible to write a test in rspec-puppet to check if registry exists?

I am trying to install .net framework 4.5.2 using puppet module using exec resource instead of using Package resource due to some reason. I want to write a test case to check if it is installed or not....
2
votes
3answers
331 views

Behavior-driven development for servers?

I've been looking to see if there are any BDD's for servers, something that would be similar in respects to Cucumber or Behat? Something that has some syntactic sugar such as: Feature: jre In order ...
1
vote
4answers
1k views

How do I simulate an unreachable host on windows?

I have a windows 8 PC, I am testing a beta program for network socket error handling. One of the ones I am having problem simulating for it to test is host unreachable and network unreachable errors. ...
2
votes
0answers
27 views

Test if iptables would pass a given ip/ip-range [duplicate]

I am currently trying to debug problems relating to our firewall configuration and found myself in the situation where I would like to test a config. Ideally I would like to take the iptables config ...
1
vote
1answer
754 views

What are the different Status options for Dell show copper-ports command?

When the below command is issued in a Dell N2024P/N3024F switch show copper-ports tdr The following output is generated Port Result Length Date Gi1/0/1 OK 0 - 10 Jan 1 00:00:...
6
votes
1answer
3k views

How to test for file absence with serverspec?

The serverspec guide on resource types doesn't explain how to test for the absence of a file, rather than its presence. This is the best I could come up with: describe command('/bin/bash -c "[[ ! -e /...
1
vote
1answer
242 views

Could somebody that has worked with ePolicy Orchestrator in VMWare provide a high level overview of the roles in the stack?

E policy Orchestrator (EPO) is a McAfee product that manages AV MOVE apis. The EPO server works in conjunction with ESX and vcenter. VISUALLY I don't see the workflow of this entire process very ...
1
vote
1answer
123 views

Cannot kitchen init as non-root

I am trying to use test-kitchen, a tool to test chef (etc) cookbooks with virtual machines. However when following the guide and doing kitchen init --driver=kitchen-vagrant, I get the following error:...
-1
votes
1answer
331 views

How to automatically test the audio quality of a telephone line that randomly goes bad?

I am a computer scientist and I'm working as sysadmin of a small firm where I've been managing also the telephone system that my predecessor put in place. Albeit I don't really have the skill set for ...
1
vote
0answers
251 views

systemd upgrade frozen on “removing any startup links for /etc/init.d/udev-mtab”

I am having an issue upgrading my VPS which runs latest Debian, I decided to switch to testing branch to be able to use OpenSSH 6.7 (the current stable branch only brings 6.0 which lacks many ciphers ...
4
votes
1answer
109 views

Docker-based infrastructure testing tool

I am currently trying to migrate a VM-based infrastructure to a Docker-based one and take the chance to add behavior testing to this infrastructure. So I aim to have all changes I make to the base ...
4
votes
2answers
403 views

Find a UTP cable in a live network

Is there a way to find a UTP cable in a live network, without damaging the network? The problem is we have some cables laying in the server-room from god knows where. I want to find the other end of ...
0
votes
1answer
326 views

Router/Firewall Hardware Failure Testing

My company has a Sonicwall Pro 3060 Enhanced that has been in service 24/7 for about 10 years since it was originally purchased. Lately the box has seemed to have hiccups in passing traffic (although ...
0
votes
1answer
215 views

Different throughput Ethernet-Wireless Wireless-Ethernet

I've built an open source implementation of RFC2544 to test IPv4 network devices. One of the first devices I tested is a wireless router D-Link 2640B. In order to measure its performance I use a ...
-1
votes
1answer
163 views

HDD performance testing over LAN [closed]

Do you know some utility that allow me for HDD performance testing over lan. The issue - I have a shared drive with shared file database. Performance of the database is low and I assume that lan-...
1
vote
1answer
201 views

How can I verify that my PAM configuration works as expected

I'm trying to setup a vsftpd server in a virtual machine and all I can ever get from it is an authentication error (530 Login incorrect). Since I've tried to configure it using virtual users with PAM, ...
5
votes
1answer
377 views

What do you use for automated testing of Debian package installations and updates?

I am using a Debian repo (based on reprepro) for Wheezy and custom packages. I modify my custom packages from time to time and test them manually on different systems, e.g.: Test a) Installation of ...
10
votes
2answers
7k views

How can you test a backup / secondary MX server?

I'm wanting to set up a secondary MX server using Postfix but I am wondering what is the best way to test this prior to putting into production (by adding its MX entry)? One possible way is to test ...
4
votes
1answer
238 views

A testing framework for Linux server configuration management

We are a medium sized shop that uses Puppet for Linux configuration management. Since we are a small shop, it's difficult to deploy and maintain DTAP environment. We normally perform manual testing ...
4
votes
1answer
853 views

Continuous Integration testing of RPM upgrades

We release software on RPM-based linux. We receive many packages from different teams, some outside of our business unit, that must upgrade correctly (in the future we want to check dependencies are ...
1
vote
2answers
2k views

How do I test my firewall rules?

I've setup some rules in ufw on a remote server and I've turned the firewall on. Now I want to ensure my rules actually block traffic. However, when running nmap -PN -p <my_port> <ip> from ...
0
votes
1answer
429 views

Windows server environment for the setup, testing and putting 3rd party server apps into production

Our company uses several 3rd-party server applications (Installed as services and desktops have client applications) installed on Windows Servers (virtual) along with SQL Server. All of this is under ...
0
votes
1answer
1k views

What are acceptable failure rates in load testing scenarios

I am doing a report on load testing for a client. I am using a service called blitz IO. He would like to handle 1000 concurrent users at 500ms. Every time I have run a test like this there it has ...
3
votes
3answers
3k views

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 ...
0
votes
1answer
385 views

Test ethernet port for data loss

We are trying to test the ethernet phy on our linux box for data loss. As of now we just establish a tftp connection to a server to upload and download a file. Whenever a mismatch occurs, it is ...