Go back to all articles

Load Testing for Microsoft Dynamics NAV System

Jul 8, 2020
4 min read

Testing Object:

Microsoft Dynamics NAV is a customized system that automates accounting and document processing.

It consists of a thick client, a server application, and a database (mssql).

Testing Goals:

  • Performing the initial system load testing.
  • Comparing the runtime for three different system configurations.
  • Testing scenarios only achieved demonstration and creation of the advance payment reports with different contents in different configurations.
Want to Learn More About Our Performance Testing Services?
Find out what’s included and how to start working with us.

The Following Tasks Were Achieved during the Project:

  • filling in the DB with the test data;
  • deploying the Telegraf+Influx+Grafana monitoring, including transaction monitoring from Grafana scripts;
  • developing load testing scripts using .net protocol in LoadRunner;
  • developing a separate C# application that uses Microsoft Dynamic NAV API client;
  • query monitoring configuration using Canape.

The final testing was performed using a free LoadRunner license; we used 8 hosts with 50 threads each and wrote a proprietary automatic metric collector.

We Faced the Following Problems:

  • As the client-server communication was performed using the proprietary msbin1 protocol, it was not possible to intersect the traffic with the regular tools such as LR, Fiddler or wireshark. Queries and responses have been monitored only through the application log and Canape.
  • We did not have documentation on Microsoft Dynamics NAV API, and Microsoft support did not send it to us on request.
  • We could not solve the problem with the correlation of an encrypted binary field with the data while calling a write command in the DB. In the final script version, the writes in the DB were performed with a direct SQL injection, skipping the application server.
  • A similar problem arose when using the Microsoft Dynamics NAV API.
  • As the free LoadRunner version limits the session amount, we had to write a proprietary metrics collection system regarding the transactions in scripts from different hosts through Influx+Grafana.

Results

  • The customer received an initial evaluation on system runtime for different configurations.
  • The discovered errors required DB table blocking, session terminations, etc. until eliminated.
  • PFLB gained experience with the Microsoft proprietary solutions based on Microsoft Dynamics.
Table of contents

Related insights in case studies

Explore what we’ve learned from these experiences
4 min read

From Weeks to Hours: Accelerating Data Masking and Enabling Easy B2B Data Sharing for a Leading Bank

accelerating data masking for a leading bank preview
Nov 20, 2024

A leading bank, ranked among the top 20 in its market, provides services to millions of customers daily. Staying at the forefront of this competitive market requires not only stable and updated infrastructure but also rapid feature delivery to maintain the highest service quality. Challenge The bank faced a critical challenge in enabling safe sharing […]

10 min read

Leading Oil & Gas Innovator, NOV Excels with Real-Time Drilling Data After Load Testing

leading oil gas excels with real time drilling data after load testing preview
Jul 29, 2024

NOV, a renowned global provider of equipment, components, and IT products for the oil and gas industry, which is located in Texas, USA, empowers extraction companies worldwide with innovative technological solutions that enable the safe and efficient production of abundant energy while minimizing environmental impact. Under its CTES brand, NOV offers a range of IT […]

7 min read

From Hundreds to Thousands: Scaling MEFA Pathway Software for Mass Student Registration

how load testing helped e learning services provider preview
Jul 12, 2024

FolderWave, Inc. is a leading digital services provider in the Massachusetts e-learning sector. It aids millions of students in researching and planning a job-oriented education. The company delivers IT solutions, platforms, and services in partnership with notable non-profit organizations like MEFA Pathway and College Board, which connect a vast network of colleges, schools, and universities […]

8 min read

How Load Testing Helped Texans Survive Power Outages During a Storm

how pflb helped texans survive power outages during a storm preview
Jun 13, 2024

Background The largest electric distribution cooperative in Texas and the United States, Pedernales Electric Cooperative (PEC), had to test its new software systems, the Storm Center and the OR&S (Outage Reporting & Status), before the release to ensure their adequate performance under peak load. Challenge PEC had a strict release deadline and needed to test […]

  • Be the first one to know

    We’ll send you a monthly e-mail with all the useful insights that we will have found and analyzed

  • People love to read

    Explore the most popular articles we’ve written so far