Tag: Testing

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

Maximo Anywhere: Monitor Network Traffic using Fiddler

Maximo Anywhere: Monitor Network Traffic using Fiddler

The usual way of debugging (including network tracing) the Maximo Anywhere application is to use Chrome Devtools. In some cases, it may not work, for instance, network monitoring is not available with remote device debugging on versions 763 and prior. Another scenario might be where the device could not be connected to a personal computer…

Read More Read More

Maximo Anywhere: Monitor Network Traffic using mitmproxy

Maximo Anywhere: Monitor Network Traffic using mitmproxy

The usual way of debugging (including network tracing) the Maximo Anywhere application is to use Chrome Devtools. In some cases, it may not work, for instance, network monitoring is not available with remote device debugging on versions 763 and prior. Another scenario might be where the device could not be connected to a personal computer…

Read More Read More

Dart Code Coverage with Github Actions and CodeCov

Dart Code Coverage with Github Actions and CodeCov

Unit tests and Code Coverage not only improves the code quality but also provides agility in developing new features with confidence. How to set it up for a Dart repository hosted on GitHub? We will be using the following two packages for writing/running unit tests and collecting code coverage data. Package Description test Provides a…

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

Dart Code Coverage with Github Actions and CodeCov (using test_coverage package)

Dart Code Coverage with Github Actions and CodeCov (using test_coverage package)

The test_coverage package has not been updated for quite some time and is not playing well with some of the fewer packages. It also doesn’t support null safety. The replacement is the new ‘coverage’ package from the Dart tools team. The ‘coverage’ package should be used for new projects. See the post here to set…

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