Author Archives: Roopendra - Page 11
Apache Bench for load testing and performance benchmark
Apache Bench for Load Testing AB( Apache Bench) is a command line utility to measure performance of any web server. It's originally designed to test the Apache HTTP server. AB is free open source software and distributed under the terms of the Apache License. It's good practice to Benchmark performance…
Siege a simple load testing and benchmarking tool
Siege is simple load testing and benchmarking tool. Siege support GET and POST method to test your webservers through cookies, HTTP , HTTPS and FTP protocols. You can test single or multiple web urls in a single test . Installation on Linux : Download latest version Siege from official website…
Install Elasticsearch using Repositories
Install Elasticsearch using Repositories You can easily install Elasticsearch using APT and YUM repository - Install Elasticsearch Using APT repository - Install Elasticsearch Using Yum repository Install Elasticsearch on Debian: Step 1: Download and Install Elasticsearch Public signin key wget -qO - | sudo apt-key add - Step 2: Installation…
Run Jenkins Build From Command Line
Run Jenkins build from command is very simple in Linux system. Jenkins has support to command line client that allows you to access Jenkins from command line. To Trigger Jenkins build from command line some prequiste are there Jenkins service is running. Enable security option under "Configure Global Security" Go…
Ansible Playbook validations
Ansible Playbook validations : While writing ansible playbook sometime we need to validate extra vars parameter or tasks. So that we can run ansible playbook without any fatal error or warning. These are few condition you might validate If specific extra vars parameter are passed then execute some task. extra…
Installing WAMP Server in Windows 7 & 8
This article is going to step by step set-up and Configure WAMP Server in Windows 7 & 8 machine. Perquisites:- FOR WAMP 32bit :- Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) If you are using WampServer or Microsoft Visual C++ 2012 Press the Download button…
How to Extract file extension in PHP
How to Extract a file extension in PHP In programming practices we usually use different code to achieve something. But we always find what is the best way to do :). Similarly for extract file extension in PHP we seen various script to achieve this. I am going to explain…
$this vs self in PHP
$this refers to the current object of the class and self refers to the current class itself.$this can not be used inside static function whereas self can be used inside static function. When we need to access static function and reference static member variable then we can't access through $this…
Minimum Match in Elasticsearch Query DSL
Terms query in Elasticsearch allows us to search multiple terms in content. If you want to implement restriction whether one term, two terms or all terms should match, then you can use minimum_match in Elasticsearch query . For Example : If we want to search documents which is belongs in…
Merge array recursively in PHP
If you want merge array recursively in php then you can use array_merge_recursive function. It will merge all the array elements having same string keys and it returns the resulting array. Syntax: array array_merge ( array $array1 [, array $... ] ) Note :- Values in the input array with…








