Category: Software Engineering

Unit testing in Svelte

Unit testing in Svelte

We are going to set up unit testing in Svelte using Testing Library and Jest. The working version of the project is available here. You can use it as a starter template for your project. 1 – Let’s start with the standard svelte template to create a new project. You need to have Nodejs, npm,…

Read More Read More

Load Testing with JMeter – Tips and Tricks

Load Testing with JMeter – Tips and Tricks

Increasing the heap size By default, JMeter uses 1 GB of heap memory. This may not be enough and you may encounter an Out of Memory exception. Maximum Heap memory size can be increased to say 2GB by adding the following line in JMeter startup script: Xmx2g means maximum heap size is set to 1…

Read More Read More

JMeter: Use multiple user logins for load testing

JMeter: Use multiple user logins for load testing

Thread Group simulates a number of virtual users putting the load on the server. Often one of the initial requests is user login and depending on the user credentials specified in the login call, all threads will be using the same login. If you want each thread spawned by the Thread Group to use a…

Read More Read More

Introduction to Load Testing with JMeter

Introduction to Load Testing with JMeter

JMeter is a load testing tool to measure the performance of web applications. It is open-source and written in Java. Key concepts in JMeter JMeter test script is developed by adding components in the Test Plan pane on the left side. To get a general idea about the components and what can be achieved, let’s…

Read More Read More

Maximo Test Automation with Cypress

Maximo Test Automation with Cypress

Cypress.io is a newish front-end test automation tool. In my brief encounter with Cypress, I found it relatively easy to set up and get started. The development workflow from coding to writing tests and running them is refreshingly smooth as compared to other Selenium based tools. Cypress does have its own limitations though as explained…

Read More Read More

Git Push error: refusing to update checked out branch (Source Control)

Git Push error: refusing to update checked out branch (Source Control)

Recently, I cloned a repository on my machine and made some changes to it. As I was pushing my changes back to the original repo, push failed with the error message: “refusing to update checked out branch: refs/heads/master. By default, updating the current branch in a non-bare repository is denied…” There are two things to…

Read More Read More

Completed ‘Software Engineering for SaaS’ from Coursera

Completed ‘Software Engineering for SaaS’ from Coursera

Completed ‘Software Engineering for SaaS’ course offered by Dave Patterson and Armando Fox, Professors at University of California, Berkeley. This course was offered through Coursera.org The course started on 13th July and the duration was 5 weeks. Course taught the best practices for developing software as a service. It included weekly coding assignments where a SaaS application…

Read More Read More

Completed ‘Human Computer Interaction’ from Coursera

Completed ‘Human Computer Interaction’ from Coursera

Completed ‘Human-Computer Interaction’ course offered by Scott Klemmer, Associate Professor of Computer Science, Stanford University. This course was offered through Coursera.org The course started on 28th May and the duration was 5 weeks. It explored the design techniques and processes that help you build interfaces and technologies that bring people joy rather than frustration. Some of the…

Read More Read More

Git (Source Version Control) Tutorial from CodeSchool

Git (Source Version Control) Tutorial from CodeSchool

Recently I started using Git and Github for one of my hobby projects. To get up to speed I went through a few tutorials. I particularly liked the one at try.github.com. It is an all-in-browser interactive tutorial. You just launch the tutorial link and you get command prompt, file system and connection to github all simulated…

Read More Read More

Completed ‘Compilers’ from Coursera

Completed ‘Compilers’ from Coursera

Completed ‘Compilers’ course offered by Alex Aiken, Professor of Computer Science, Stanford University. This course was offered through Coursera.org The course started on 23rd April and the duration was 10 weeks. It was a good opportunity to refresh a lot of concepts and learn new ones. The quality of the content (lectures, exercises & assignments) was superb.