Wednesday, November 8, 2017

NeoLoad - Performance and Load testing



This blog we will talk about NeoLoad for Performance testing.

Neoload is a paid application for performance testing but it has demo feature which one can check and try the application before buying the full Software.

To download a demo one has to visit -

https://www.neotys.com/

From there we can get a free version though free version which will give upto 50 concurrent users
to put the load on your website.

When you launch the application it will look something like below


You will observe the application has 3 tabs

1. User Paths

2. Populations

3. Monitors


1. user paths are like the paths which the application will follow while testing, you have to record the way the application should progress in your website. It will then prompt a check and inform if any requests or response is not proper.


2. Population is nothing but the environment which you want to set up so using this you can go ahead  set the browser or device you want the application to access your website from. It will emulate the specific device  and login to your website.


3. Monitors are the technology which you used on your website and the technology which you want neoload to use to access your website. It helps identifying any platform related issues while user is making a transaction with your website.


After setting this Go to Run time tab and select the load policy and Press play.

It will run for selected time and give a result like below-



It also has many good features which is available as free.


Good Tool overall. Very Easy to use.



Wednesday, October 4, 2017

Creating Exe file from a python Tkinter file application.

Today we will discuss about creating exe file from python for making windows application.
For this the basic requirement is Python to be installed and working on SUT and then the pyinstaller being install in the system.

To install pyinstaller we can do -

pip install pyinstaller for windows user
sudo pip install pyinstaller for Linux user.

This pyinstalled builds an exe from the py file which user can run in windows platform.

To make this happen we need a python script that is made with Tkinter which is used for Python UI development for windows platform.

For Python 2.7 the name of the package is Tkinter for Python 3 its called tkinter.
Now after we have all our requirement fulfilled next step is to create the exe.

For that the simple command is

pyinstaller.exe --onefile --windowed  file_name.py

This is will start the packaging for the exe file. Note here one file means it will make a one file installer, other type of packaging system is also available with pyinstaller like folder package etc.
Windowed parameter tells tells the pyinstaller that the exe is a windowed process rather than a background process.

Two folder will be generated - dist is the main folder which will the have the exe file and which we can export or sell to customers.


Something look like below -