123ArticleOnline Logo
Welcome to 123ArticleOnline.com!
ALL >> Computer-Programming >> View Article

Jmeter Testing-create The Test Plan For Executing

Profile Picture
By Author: aldan caley
Total Articles: 8
Comment this article
Facebook ShareTwitter ShareGoogle+ ShareTwitter Share

Jmeter can be used for load testing of various Java based websites and web application. You just need to follow some basic steps and you will be done. However, you first need to create a test plan for Jmeter Testing.

You need to use following elements to create a test plan:

Thread group
HTTP Request
HTTP Request Defaults
Graph Results

There are some added elements for making the advanced test plans. With every Jmeter test plan you need to first define how many users you need to simulate, how often they should send the request, how many HTTP request they will be sending. Set the Ramp up time, loop count and forever options. Suppose you select 5 users and 5 Ramp up time. This means that the difference between the start up user and the following user will be 5/5=1 seconds. If you choose 6 seconds as Ramp up time then you will have this time set to 6/5 seconds. Through Look count, you specify, number of times you need to run the test. Through forever, you specify if you need to run the test forever.

You now need to add default HTTP request properties. This is important to define ...
... the default value to your HTTP request. Set the web server server’s name to jmeter.apache.org and you can also make changes in name field. Otherwise leave name field with default value. You need to go to add->Config Elements->HTTP Request Default Value. Now if you want you can add cookie that will be used in the HTTP Request. For that, go to Add->Config Elements->Cookie Manager and follow the basics.

Now you need to add the HTTP Request and add the details related to it. Add the page that you want to open and then add the path. Add two HTTP request like this but you can add any number of HTTP request with details according to your requirements.

Finally, you need to add the listener. However, before that you need to add login credentials. Almost all websites allow access to various services only after providing login details. You need to add an HTTP Request for this and set the Method as POST. Add the login user name and password. This HTTP Request will be processed first.

Now add the listener for showing and storing your test results. You need to follow add->config element->Listener. Now you need to browse the file where you want the result to be stored. Browse that location and set that as the storing element. Now your test plan is ready. You need to now execute the test plan for Jmeter Testing. Make sure that you mention all above facts in correct manner.

Sometimes your web application might be using the URL rewriting instead of cookies. In that case, you can mention the URL rewriter. HTTP URL Rewriting Modifier needs to be mentioned as well as the session name. Once, you are done with an advanced test plan. You can also make use of the header manager if you need. Once you complete all this, then you need to run the test for Jmeter Testing.

Aldan Caley is an experienced author and has written a lot on various testing software. I have lots of articles written on Jmeter testing services. For more information visit this site. kiwiqa.com

Total Views: 252Word Count: 549See All articles From Author

Add Comment

Computer Programming Articles

1. Unlock Your Potential With Xamarin Developer Certification
Author: EDCHART

2. Unlock Your Potential With Edchart's Flutter Developer Certification Exam - Free Test
Author: EDCHART

3. Navigating Success: Hiring Dedicated Php Developers For Your Next Project
Author: Quickway Infosystems

4. Cmmc Gap Analysis: Roadmap To Compliance
Author: Karmai

5. Hire Skilled Android App Developers
Author: John

6. How To Scrape Liquor Prices And Delivery Status From Total Wine And Store?
Author: Productdatascrape

7. Kotlin Certification |kotlin Developer Certification -by Edchart
Author: EDCHART

8. Empowering Careers: A Comprehensive Review Of Scope India Software Training Institute
Author: scope india

9. Double-sided And Multilayer Pcb Manufacturer: Rapid Circuit Leading The Way
Author: RICKY

10. 8 Reasons To Automate Your Cmmc 2+ Compliance With Karmai Consulting
Author: Karmai

11. Tips For Preparing Your Home For Nbn Installation
Author: hartnettcrews

12. How To Maximize Revenue By Web Scraping Tripadvisor Hotels Data?
Author: #WebScrapingTripAdvisorHotelsData

13. Secure And Comply: Essential Hipaa Compliance Checklist
Author: MakeForms

14. Enhancing Your App’s User Interface With React Native Ui Libraries
Author: matthew brain

15. Navigating The Divide: Data Security Management Vs Cloud Security Management
Author: Karmai

Login To Account
Login Email:
Password:
Forgot Password?
New User?
Sign Up Newsletter
Email Address: