Mitrahsoft
  • SERVICES
    • OUR SERVICES
      • SOFTWARE DEVELOPMENT
      • MOBILE DEVELOPMENT
      • BLOCKCHAIN DEVELOPMENT
      • SOFTWARE TESTING
      • CLOUD & DEVOPS SERVICES
      • PRODUCT DEVELOPMENT
      • OFFSHORE DEVELOPMENT
      • SOCIAL MEDIA MARKETING
      TECHNOLOGIES
      • COLDFUSION DEVELOPMENT
      • REACTJS DEVELOPMENT
      • VUEJS DEVELOPMENT
      • ANGULAR DEVELOPMENT
      • NODEJS DEVELOPMENT
      • PYTHON DEVELOPMENT
      • GOLANG DEVELOPMENT
      • GOLANG CORPORATE TRAINING
      COLDFUSION EXPERTISE
      • MURACMS EXPERTISE
      • COLDFUSION APP MIGRATION
      • COLDFUSION HOSTING & SUPPORT
      • CF LEGACY APP MAINTENANCE
      • COLDFUSION REST API
      • ECOMMERCE / SHOPPING CART SOLUTIONS
      • PRESIDECMS EXPERTISE
      MOBILE DEVELOPMENT
      • REACT NATIVE DEVELOPMENT
      • FLUTTER DEVELOPMENT
      • IONIC DEVELOPMENT
      • PHONEGAP DEVELOPMENT
  • ABOUT US
    • ABOUT MITRAHSOFT
    • OUR CLIENTS
    • TESTIMONIALS
    • PORTFOLIO
    • CAREERS
  • CONTACT US
  • BLOG
Adobe Solution PartnerLucee Solution Partner
Adobe Solution PartnerLucee Solution Partner
Adobe Solution PartnerLucee Solution Partner
  • OUR SERVICESSOFTWARE DEVELOPMENTMOBILE DEVELOPMENTBLOCKCHAIN DEVELOPMENTSOFTWARE TESTINGCLOUD & DEVOPS SERVICESPRODUCT DEVELOPMENTOFFSHORE DEVELOPMENTSOCIAL MEDIA MARKETING
    TECHNOLOGIESCOLDFUSION DEVELOPMENTREACTJS DEVELOPMENTVUEJS DEVELOPMENTANGULAR DEVELOPMENTNODEJS DEVELOPMENTPYTHON DEVELOPMENTGOLANG DEVELOPMENTGOLANG CORPORATE TRAINING
    COLDFUSION EXPERTISEMURACMS EXPERTISECOLDFUSION APP MIGRATIONCOLDFUSION HOSTING & SUPPORTCF LEGACY APP MAINTENANCECOLDFUSION REST API ECOMMERCE / SHOPPING CART SOLUTIONSPRESIDECMS EXPERTISE
    MOBILE DEVELOPMENTREACT NATIVE DEVELOPMENTFLUTTER DEVELOPMENTIONIC DEVELOPMENTPHONEGAP DEVELOPMENT
  • ABOUT MITRAHSOFTOUR CLIENTSTESTIMONIALSPORTFOLIOCAREERS
  • CONTACT US
  • BLOG

ColdFusion Load / Stress Testing Using Apache jMeter

HomeBlogColdFusion Load / Stress Testing Using Apache jMeter
Apache-jMeter

ColdFusion Load / Stress Testing Using Apache jMeter

M
Post by MitrahsoftPublished: Jul 8, 2019

jMeter

Apache jMeter is an open source software, it's 100% pure Java based application designed to load test functional behaviours and measure performance. It was originally designed for testing Web Applications but has expanded its capability since then to other functionalities which include Heap DUMP, SMTP request, JDBC request, etc.

JMeter Performance Tool

If you are building a web application, the server carries a lot number of applications and users. So it is necessary to know the capability of the server to handle simultaneous user requests or applications. jMeter is a tool which helps us in these type of scenarios. It simulates real-user behaviours and performance/load to test your application. It is not a browser and it doesn't render HTML pages like any other browsers, but just acts like a protocol level. It is designed to load the functional behaviour and measure performance of your application.

Following Protocols are supported by jMeter:

  • Web - HTTP, HTTPS sites, Web 1.0 and Web 2.0 (Ajax, Flex and Flex-WS-AMF)
  • Web Services - SOAP / XML-RPC
  • Database via JDBC drivers
  • Directory - LDAP
  • Messaging oriented service via JMS
  • Services - POP3, IMAP, SMTP

Steps to Install jMeter

  • Install Java
  • Download jMeter
  • Installation of jMeter is extremely easy and simple. After downloading the ZIP/TAR file from the above URL, unzip it into the directory where you want jMeter to be installed.
  • On Windows, it can be invoked by starting bin/jmeter.bat. On Linux/Unix, jMeter can be invoked by executing the shell script.
  • Executing the jmeter.bat / jMeter shell script will open the Apache jMeter GUI application.

Test Plan

A Test Plan can be viewed as a container for running tests. It defines what and how to test. A complete test plan consists of one or more elements such as:

  • Thread Groups
  • Samplers
  • Listeners
  • Timers
  • Assertions and Configuration Elements

A test plan must have at least one thread group.Jmeter Test PlanThread

Right click on TestPlan - > Add - > Thread(Users) - > Thread Group

Thread Group is a collection of Threads. Each thread represents one user using the application. Basically, each Thread simulates one real user request to the server. The controls for a thread group will allow you to Set the number of threads for each group. For example, if you set the number of threads as 100; jMeter will create and simulate 100 user requests to the server to test.

Samplers

Right click on Thread Group - > Add - > Samplers

Samplers are used to send any specific types of request to the server. You can add HTTP request sampler with method GET, POST, PUT, DELETE

Listeners

Right click on Thread Group - > Add - > Listners

Listeners show the results of the sampler in the form of tables, graphs, trees and logs result in a file. The data gathered by jMeter can be visually accessed with the help of Apache jMeter GUI application which starts when jMeter.bat is executed. We can add more listener types for a sampler.

Timers

Right click on Thread Group - > Add - > Timers

We can add a timer element which allows you to define a period to wait between each request.

Assertions

Right click on Thread Group - > Add - > Assertions

Assertions allow you to include some validation test on the response of your request made using a Sampler

Configuration Elements

Right click on Thread Group - > Add - > Config Elements

Configuration Elements allow you to create defaults and variables to be used by Samplers. They are used to add or modify requests made by Samplers.

Pre-processor Elements

Right click on Thread Group - > Add - > Pre processors

The pre-processor element allows you to runs something just before a sampler executes.

Post-processor Elements

Right click on Thread Group - > Add - > Post processors

A post-processor element allows you to runs something after a sampler finishes its execution.

Execution Order of Test Plan

  • Cofiguration elements
  • Pre-Processors
  • Timers
  • Sampler
  • Post-Processors (unless SampleResult is null)
  • Assertions (unless SampleResult is null)
  • Listeners (unless SampleResult is null)

Test Application with jMeter

Now we are going to test the sample login application in ColdFusion with jMeter tool. Create a Thread Group with 100 threads which Equals to 100 users.Login Level ApplicationCreate a HTTP request sampler for the login page. Login URL is http://mitrahsoft.local/login_Apps/login.cfm, In URL text box, we should add the domain name alone, we can add the remaining path in the path text box. Also, we can add Http/https protocol.Jmeter Sampler Login PageWe can create multiple listeners for the above sampler. Here I've added Graph Listener to view the above HTTP sampler's result.Jmeter Graph ResultSince we need to login into the application, we need to create a new sampler with HTTP request for the action page. Here the action page needs form values so we choose the POST method for this sampler. We can add multiple form values in Send paramters with the request field

Add the input element name in Name column and add values in corresponding values column, Need to check the Include Equals checkbox

In my application UserName, password, submit form fields are required to login.Jmeter Form Post LoginactionAfter running 100 threads the result is generated like the image below.Jmeter Final GraphAs the time goes, the technology has seen a draftic developement. Now with the help of tool like jMeter, we are able to create something which really does not exists. For large scale testing, jMeter would be a really handy tool to test our server's capability. With the vast feattures like Heap dump creation, LDAP request, SMS services..etc available in jMeter, we can do real-time user like testing of our server.

Tags

ADYENAMAZON-SESANDROIDAPACHEAPACHE-JMETERAWSBARCODE-SCANNERCOLDBOXCOLDFUSIONCOLDFUSION-API-INTEGRATIONCOLDFUSIONBUILDERECHARTSEVENT-GATEWAYFFMPEGFW1JQUERYJSOUPLUCEEMURACMSMURACMS-THEMENODEJSONESIGNALOSSPAYFLOW-PROPAYMENT-GATEWAYPAYPALPRESIDECMSPUPPETEERRAILORAZUNAREACTJSREACTNATIVERESTSASS-COMPILATIONSEMANTIC-UISUBLIMETEXTTINYMCETWILIOYUI-LIBRARY

Archives

JAN 20DEC 19AUG 19JUL 19JUN 19MAY 19APR 19MAR 19FEB 19JAN 19DEC 18NOV 18OCT 18MAR 16NOV 15SEP 15MAY 15MAY 14OCT 13JUN 13MAY 13APR 13MAR 13FEB 13JAN 13

Follow us

Mitrahsoft
United StatesUnited States

Hurst, Texas, United States

+1 (817) 606-8684usa-sales@mitrahsoft.com

IndiaIndia

Head Office

126G2/5, Thiru malai nagaram,
Kovilpatti - 628 501

Madurai

1/B, 2nd & 3rd floor, GV Complex,

Bye Pass Road, SS Colony,

Madurai - 625 016

Coimbatore

2nd Floor, Sri Narmadha Towers,

Murugan Nagar Rd, Thoppampatti Pirivu,

 K. Vadamadurai, Coimbatore - 641 017

+91 9092480924

business@mitrahsoft.com

ColdFusion
  • eCommerce / Shopping Cart Solutions
  • Payment Gateway Integrations
  • Shipping API Integrations
  • ColdFusion Development Services
  • REST API Development
  • MuraCMS Plugin Creation & Personalization
Technology Services
  • ReactJS Development
  • VueJS Development
  • AngularJS Development
  • NodeJS API Development
  • Python Development
  • Golang Development
  • React Native Development
  • D3.JS data Visualization
Other Services
  • Software Development
  • Mobile Development
  • Blockchain Development
  • Cloud & Devops Services

Connect with MitrahSoft

Please fill out this field
Please fill out this field
Please fill out this field
Please fill out this field
Please fill out this field
Please fill out this field

© 2026 All Rights Reserved. MitrahSoft Solutions Pvt Ltd

Home|About Us|Careers