Questions tagged [testing]
The testing tag has no summary.
244 questions
0 votes
0 answers
16 views
Automate KVM image creation for testing purposes
I'm trying to clean up the testing workflow for a project I'm working on, a database built on top of io_uring and NVMe. Right now I'm using KVM and its NVMe device emulator to power the dev ...
1 vote
0 answers
53 views
Squish test on Ubuntu works locally but does not when triggered remotely
I use following commands to start Squish test on machine Linux osn-pq-ubuntu22-64 6.8.0-79-generic #79-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 12 14:42:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux: /home/...
0 votes
1 answer
270 views
How can I set up vault with TLS in dev mode via helm
I am trying to test a helm deployment that interacts with Hashicorp Vault. I am currently setting up TLS encryption and want my tests to run using TLS against the vault server while it's in dev mode (...
0 votes
0 answers
28 views
Pretesting traffic on a website
I had a php application last year that was working on shared hosting that has 1 GB RAM and 1 CPU core. At the time, there were 200 users using the service and the performance was perfectly fine. ...
-1 votes
1 answer
107 views
How can i certify cabling with a cat5 certifyer if the cabling is mixed cat5 and cat6 thanks
Hello I'm getting ready to certify some cabling and realized it is mix matched cat5 and 6 but my certifier is only for cat5. So I wonder if I needed a speacial certifier to do that thanks.
0 votes
2 answers
425 views
How to verify installation on a (linux) server?
Problem: Should start off with saying that this is for a software house, and it's internal. None of the guys are "users", they are all staff. We test on servers, including upgrading ...
0 votes
0 answers
1k views
How to install google-chrome as non-root user on a remote server?
In order to use google-chrome for selenium-testing purposes (to be run headless of course) I want to install this on a remote server where I do not have root access. This server does not even have ...
1 vote
1 answer
156 views
Is there a kind of a/b test for checking CPU Usage?
Our team try to find a way to compare CPU and Memory usage between the current version and the new version. I found some answers. (1) Using load balancer By using load balancer, we can divide our ...
0 votes
0 answers
480 views
I want to test IGMP capability of a OpenWRT based router. How caan i test?
This is what I want to test out, SEE IMAGE: Router connected to users and is accessible over the internet as well PC1 and PC2 should be able to join some group(s). Should be able to leave group as ...
0 votes
2 answers
114 views
Purpose of Selenium in load testing
What is the role of Selenium in load testing a webpage if it cannot generate 200 or 300 requests? I understand, the client side automation can be done. But how do I test my web application for a real ...
0 votes
1 answer
80 views
Comparing file differences between an offline and an online linux image
so I hired a freelancer to do some work on my server that required admin access. Before hiring him I took a backup of my debian installation on that server. I have a basic level of trust with this guy ...
2 votes
1 answer
170 views
Prove that software works via SOCKS
Intro I have ruby software that utilizes a network during its execution. Recently I got feedback from a user who works behind a firewall and use SOCKS, this software doesn't work for him So I need to ...
0 votes
1 answer
221 views
monitoring real time file access in chroot system
I was wondering if it's possible to write a shell script that: runs chroot for a given userspec and group monitors/intercepts system calls all processes started, and what libraries they attempt to ...
6 votes
1 answer
5k views
Route host through a docker openvpn container
I am new to networking so I am trying this for the first time. I created an openvpn docker that connects to a VPN server. Running wget -q -O - https://api.myip.com inside the docker container confirms ...
0 votes
1 answer
1k views
Is there a list of public "POST test" webpages like this one? [closed]
For various automated tests that I do, I need to be able to make a POST HTTP & HTTPS request to some external URL and essentially have that webpage "echo" what I sent. For example, if I ...
0 votes
1 answer
417 views
Compiling and running untrusted code on a server
In teaching CS, students submit their code to our server and we compile and run with unit tests. Similar to Codeforces, Codewars, and HackerRank. How should we be configuring servers for this? Launch ...
1 vote
0 answers
547 views
Staging environment keeping up to date with new prod data
In most companies I've seen, the prod/staging dichotomy is articulated as follows, using Facebook's live feed as a running example: prod (obviously) stays up to date with new incoming posts, messages,...
-1 votes
1 answer
118 views
Windows 2016 Password Hash Table Location
Sadly, it is not self evident just how important it is to get a penetration test done at this company. I am rather rusty to this. Where is the hash table stored on a Win2016 DC these days? I want to ...
0 votes
0 answers
1k views
How to verify that Windows application respects proxy settings?
I want to solve the following problem: I have a Windows desktop application which does a number of things that requires internet access. I want my application to be able to use a proxy. This is ...
1 vote
1 answer
540 views
SELinux Regression Test Failing
I have cloned the selinux-testsuite regression tests from: https://github.com/SELinuxProject/selinux-testsuite I am running the tests in a CentOS Linux release 7.6.1810 (Core) VM. Which I don't ...
1 vote
1 answer
3k views
Powershell - test http with specific adapter - multiple nics
Do you know a way to test if an HTTP server is reachable with a specific nic ? My scenario is the following : our company is using laptop for all our employees. To use the network we can either use ...
4 votes
1 answer
19k 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 ...
1 vote
1 answer
4k 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
0 answers
723 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 ...
7 votes
2 answers
3k 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 ...
7 votes
1 answer
11k 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. ...
-2 votes
1 answer
199 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
1 answer
203 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: ......
0 votes
3 answers
6k 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
3 answers
926 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
2 answers
387 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 ...
6 votes
1 answer
28k 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 ...
3 votes
0 answers
679 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
0 answers
81 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 ...
-1 votes
1 answer
4k 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
0 answers
45 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
1 answer
985 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
0 answers
21 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
2 answers
269 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 ...
3 votes
0 answers
1k 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
1 answer
827 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
1 answer
91 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 ...
10 votes
3 answers
11k 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 ...
11 votes
5 answers
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
1 answer
479 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
3 answers
503 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
4 answers
3k 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
0 answers
35 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
1 answer
1k 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
1 answer
4k 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 /...