Latest Discussions and Posts

Integration of Rich File Manager with ckeditor
CkeditorJavaRich File ManagerSpring Boot

Integration of Rich File Manager with ckeditor

This article is helpful to those developers or programmers who are facing the issues with file upload functionality and are using the ckfinder a paid service. Rich file manager is open source and is free to use. You can follow the below steps to integrate this with ckeditor in your spring…
How to write to local file system using a postman collection java script
API Testing

How to write to local file system using a postman collection java script

Ensure that you have node and npm installed. Install newman with: npm install newman. Create a file with the following contents: var fs = require(‘fs’), newman = require(‘newman’), results = []; newman.run({ reporters: ‘cli’, collection: ‘/path/to/collection.json’, environment: ‘/path/to/environment.json’ // This is not necessary }) .on(‘request’, function (err, args) { if (!err) { // here, args.response represents…
Email validator in java
Java

Email validator in java

You can use the below validator class for email address in your java projects, /* Email Validator */ package com.tms.utility; import java.util.regex.Pattern; /** * * @author aarnav */ public class EmailValidator { private static final String EMAIL_PATTERN = “^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@” + “[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$”; public EmailValidator() { } /** * Validate hex with regular…
JCL FAQs
JCLMainframe

JCL FAQs

Here list of frequently asked questions about JCL. How many levels of nesting is allowed in PROCs? Ans: 15 If the “DISP=” keyword is not coded for an existing dataset, what default values will be used for “DISP=”? Ans: If the “DISP=” keyword is not coded ,then the DEFAULT Values are…
Bug Life Cycle
Manual TestingTesting

Bug Life Cycle

Life cycle of Bug   Log new defect When tester logs any new bug the mandatory fields could be: Build version, Submit On, Product, Module, Severity, Synopsis and Description to Reproduce In above list you can add some optional fields if you are using manual Bug submission template: These Optional Fields are: Customer name, Browser,…
VSAM FAQs
Mainframe

VSAM FAQs

 VSAM FAQ  Q1. What are the types of VSAM datasets? A1. Entry sequenced datasets (ESDS), key sequenced datasets (KSDS) and relative record dataset (RRDS).   Q2. How are records stored in an ESDS, entry sequenced dataset? A2. They are stored without respect to the contents of the records and in the…
Installing java SDK and writing first java program
Java

Installing java SDK and writing first java program

Installing and using Java Install the java SDK from below location and follow the installation instructions, http://www.oracle.com/technetwork/java/javase/downloads/index.html Setting environment variable for Java Environmental variable is a variable that describes the operating environment of the process. Common environment variables describe the home directory, command search path etc. JAVA_HOME JAVA_HOME is a environment…
New features of various java releases and their comparison
Java

New features of various java releases and their comparison

Java is the choice of many software developers for writing applications. It is a popular platform that provides API and runtime environment for scripting and running enterprise software, including network applications and web-services. Oracle claims that Java is running in 97% of enterprise computers. Each Java programmer must know about these new…
Getting started with Parasoft Virtualize
Parasoft

Getting started with Parasoft Virtualize

Exploring Parasoft Virtualize UI Parasoft Virualize is based on Eclipse Workbench. Prasoft has developed and integrated several  perspectives. For ex: The Virtualize Perspective The Event Details Perspective The Change Advisor Perspective Let’s explore each perspective. The Virtualize Perspective The Virtualize perspective, which is built into the Eclipse workbench, provides a set…
Defining Performance and Performance Tuning
Application Performance Management

Defining Performance and Performance Tuning

Why is My Application slow? When we find that after an application is deployed, it is not performing as desired. In other words it’s not meeting non-functional requirements. This application now requires some fixes that may correct the problem. The process of refactoring an application to improve its performance is called…
Application Performance Management Tools
Application Performance Management

Application Performance Management Tools

Depending on which language/technology your application is built on, there are several tools you could use for this. To fully manage and monitor the performance of an application, it requires collecting and monitoring a lot of different types of data. Below are important components of a complete application performance management tool, Performance…
How to copy one schema into another using SQL
DatabaseOracleSQL

How to copy one schema into another using SQL

Some times we don’t have the DBA access and need to copy data from one schema to another. You can perform that by executing migration SQL script in Oracle XE. Step 1. Generate migration script. SELECT table_name, (‘Select ”’||TABLE_NAME||”’ as tbl from dual;’ ||CHR(10)||’delete from <TARGET_SCHEMA>.’||TABLE_NAME||’;’||CHR(10)|| ‘insert into <TARGET_SCHEMA>.’||TABLE_NAME|| ‘ select…
Analysing and fixing Java Heap related Issues
Application Performance ManagementJava

Analysing and fixing Java Heap related Issues

Java Heap related issues can cause severe damage to our application and we might see poor user experience. Java Heap is memory used by your application which is used to create and store objects. We can define the maximum memory for heap by specifying -Xmx<size> by setting the java variable. When…
ACID Properties – DBMS Transaction
Database

ACID Properties – DBMS Transaction

ACID Properties are considered to be the desirable properties of any transactions.When in a database system more than one transaction are being executed simultaneously and in parallel then system maintains the below properties in order to ensure the data accuracy and integrity. A-Atomicity if something unexpected happens in the middle of…
Microservices and their key benefits
JavaMicroserviceSpring Boot

Microservices and their key benefits

Microservices are a kind of software architectural solution that allows software to be developed into relatively small, distinct and loosely coupled components. Each of the components provides a distinct subset of the functionality of the entire application. Each microservice, can then be designed, developed, and managed independently. This allows for distributed…
Automation advantages in Agile?  Why automation is needed in Agile?
Automation TestingTesting

Automation advantages in Agile? Why automation is needed in Agile?

Now a day’s, agile development and testing are growing broadly and smart QA/Testing team always keep themselves with current trends and technology. Automation is a critical component to maintain agility. Continuous integration/builds, unit, functional & integration test execution and automated deployment are common examples of applying automation. While working in SCRUM/XP,…
Difference between Scrum and XP (Extreme Programming)
Software Development

Difference between Scrum and XP (Extreme Programming)

There are small but important differences between Scrum and XP (Extreme Programming). These methodologies are definitely much aligned. In fact, if you have to choose between these two then it’s very difficult?  Below are some important differences between these two, Scrum teams typically work in iterations (called sprints) that are from…
Scrum – Agile Methodology
Software Development

Scrum – Agile Methodology

Scrum is an agile methodology to manage and control software development where change occurs rapidly (changing requirements, changing technology). Here focus area is on improved communication and maximizing cooperation. Scrum Roles – Product Owner -A Product manager who actually knows what needs to be built and in what sequence this should…
Recording Traffic in Parasoft Virtualize using Message Proxies
Parasoft

Recording Traffic in Parasoft Virtualize using Message Proxies

Virtualize can record live behavior of dependent system components—database queries and responses or traffic over HTTP, JMS, or MQ—then represent that behavior as a Virtual Asset. Once the Virtual Asset is created and deployed, it can emulate the captured behavior—enabling you to cut the dependencies on system components that are difficult…
Analyzing http and https traffic using fiddler
Application Performance ManagementJavaPerformance Testing

Analyzing http and https traffic using fiddler

Fiddler tool can be used for analyzing HTTP and HTTPS (must be enabled from within the fiddler tool) transactions. This tool is a simple to use and by following below tips you can capture and analyze the request and network traffic causing any performance issue. Also you can send the captured…
Postman Collections and organizing test using collections
API TestingAutomation TestingPostmanTesting

Postman Collections and organizing test using collections

A Postman Collection allow you to group together several APIs that might be related or perhaps should be executed in a certain sequence. You can organize these requests in folders as well. Basically collections server 4 purposes: Organization of tests, Documentation, Test Suit creation, and designing conditional workflows.  How to create…
Newman – Command line integration with Postman
API TestingAutomation TestingPostmanTesting

Newman – Command line integration with Postman

To run the test from command line window, Postman has newly npm Package (Newman). Here quick steps to start with newman: Install latest version of Node (Node.js) in the computer. Download the Windows installer from the js® web site. To see if NPM is installed, type npm -v in command prompt.…
Testing SOAP Services with WS-Security using SOAPUI
API TestingSOAPUITesting

Testing SOAP Services with WS-Security using SOAPUI

Web Services Security (WSS): SOAP Message Security is a set of enhancements to SOAP messaging that provides message integrity and confidentiality. WSS: SOAP Message Security is extensible, and can accommodate a variety of security models and encryption technologies. WSS: SOAP Message Security provides three main mechanisms that can be used independently…
Collection Framework in Java
Java

Collection Framework in Java

The Collection Framework is a set of classes and interfaces Helps in handling groups of objects Standardizes the way in which groups of objects are handled The important interfaces of the Collection Framework are Collection List Queue Set SortedSet All these interfaces are generic interfaces Collection interface declares the methods that…
Java OOPs
Java

Java OOPs

What are the principle concepts of OOPS? There are four principle concepts upon which object oriented design and programming rest. They are: Abstraction Polymorphism Inheritance Encapsulation (i.e. easily remembered as A-PIE). What is Abstraction? Abstraction refers to the act of representing essential features without including the background details or explanations. What…
How to check the apache config on ubuntu
General Question

How to check the apache config on ubuntu

You can run the below commands to test and check the status of apache configuration. This will list the incorrect configuration or apache config which is breaking to start the apache, Go to apache installation directory, –  cd /etc/apache2 type the command  –  apache2ctl configtest
Why Spring cloud is required?
JavaMicroserviceSpringSpring BootSpring Cloud

Why Spring cloud is required?

When we develop microservices with Spring Boot , we might face the below mentioned issues hence spring cloud project helps to eliminate these issues.Spring cloud is set of tools to manage and establish the service Discovery, config management and Circuit Breakers etc. It manages and handles following very efficiently, 1. Any…
Feign Client
JavaMicroserviceSpring BootSpring Cloud

Feign Client

Netflix provides Feign as an abstraction over REST-based calls, by which microservices can communicate with each other, but developers don’t have to bother about REST internal details. 1.Add the feign dependency to your project e.g. <dependency>           <groupId>org.springframework.cloud</groupId>           <artifactId>spring-cloud-starter-feign</artifactId> </dependency> 2.Tell to…
Hystrix (Circuit Breaker )
MicroserviceSpring BootSpring Cloud

Hystrix (Circuit Breaker )

Hystrix in spring cloud is the implementation of Circuit Breaker pattern, which gives a control over latency and failure between distributed micro services. Here main idea is to stop cascading failures by failing fast and recover as soon as possible. Netflix created Hystrix library implementing the Circuit Breaker pattern to address…
Agile Methodology of Development
General Question

Agile Methodology of Development

Agile is a software development methodology to build software incrementally using short iterations of 1 to 4 weeks so that the development is aligned with the changing business needs. Whereas the traditional “waterfall” approach has one discipline contribute to the project, then “throw it over the wall” to the next contributor,…
Fundamentals of Microservices Design
JavaSpringSpring Cloud

Fundamentals of Microservices Design

Define the correct microservice scope When we talk about the scope of a microservice, we are referring to the features of an independent software module. The ability of microservices to perform as a nearly-stateless system allows it to be developed independently. Create a unique service which will act as an identifying…
Performance Testing
General Question

Performance Testing

Performance testing is a form of software testing that how an application is performing in a defined environment under specified load. Performance Testing is conducted to evaluate the compliance of a system or component with specified performance requirements. It checks the response time, reliability, resource usage, scalability of a software program…
How to setup Selenium & Gecko driver on MAC
General Question

How to setup Selenium & Gecko driver on MAC

Step 1. Install Selenium Create a maven project and add dependency for Selenium. To get maven details open https://mvnrepository.com/search?q=selenium. This will list down all selenium related repositories. Select selenium java and select latest version. You can find the maven details like: <!– https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java –><dependency>    <groupId>org.seleniumhq.selenium</groupId>    <artifactId>selenium-java</artifactId>    <version>3.141.59</version></dependency> Step…
TestNG by default disables loading DTD from unsecure Urls
Automation TestingTesting

TestNG by default disables loading DTD from unsecure Urls

While executing TestNG sometime we hit below error: org.testng.TestNGException: TestNG by default disables loading DTD from unsecure Urls. If you need to explicitly load the DTD from a http url, please do so by using the JVM argument [-Dtestng.dtd.http=true] at org.testng.xml.TestNGContentHandler.resolveEntity(TestNGContentHandler.java:102) This can be sol;ved using 3 ways. 1. First and…
The import io.restassured.RestAssured cannot be resolved
API TestingAutomation TestingJava

The import io.restassured.RestAssured cannot be resolved

While consuming restassured maven dependencies it has been observed that even after downloading the dependencies eclipse is not able to resolve io.restassured package. Maven repository (https://mvnrepository.com/artifact/io.rest-assured/rest-assured) has the scope set to test in the dependency tag. This limits your code from accessing that dependency’s classes within your source code. That is,…
Send an email through Amazon SES programmatically from Python
AWSPython

Send an email through Amazon SES programmatically from Python

Before you begin, perform the following tasks: Verify your email address with Amazon SES—Before you can send an email with Amazon SES, you must verify that you own the sender’s email address. If your account is still in the Amazon SES sandbox, you must also verify the recipient email address. The…