Apache – check number of connections
#netstat -nt | grep :80 | wc -l # netstat -plan|grep :80 | wc -l # netstat -an | grep ‘EST’ | wc -l # netstat -ant | grep ESTABLISHED | grep :80 | wc -l # ps -A | Read More
Build High Availability Network
#netstat -nt | grep :80 | wc -l # netstat -plan|grep :80 | wc -l # netstat -an | grep ‘EST’ | wc -l # netstat -ant | grep ESTABLISHED | grep :80 | wc -l # ps -A | Read More
An application which allows to create unlimited mailboxes and provide a simple web interface http://qamail.ala.se/
Create a JSON object JSONObject requestParams = new JSONObject(); requestParams.put(“AccountId”, accountId); requestParams.put(“Amount”, amount); //Define baseURI RestAssured.baseURI = apiUrl; RestAssured.useRelaxedHTTPSValidation(); RequestSpecification request = RestAssured.given(); //Add token to request request.header(“Authorization”, token); // Add a header stating the Request body is a JSON Read More
Use queryParam to create GET reqeust RestAssured.baseURI = apiUrl; RestAssured.useRelaxedHTTPSValidation(); RequestSpecification request = RestAssured.given(); //Add token to request request.header(“Authorization”, token); // Add a header stating the Request body is a JSON request.header(“Content-Type”, “application/json”); // Add trxID to query param request.queryParam(“trxId”, Read More