JMeter Beginner Tutorial 28 - Remote Testing | Master Slave | Distributed Testing

more about Raghav - automationstepbystep.com/
STEPS
JMeter - How to do Remote Testing
How to do Distributed Testing
How to create Master Slave
Step 1 : SetUp Master
added remote system’s ip in jmeter.properties
Step 2 : create keystore file
run create-rmi-keystore.bat / create-rmi-keystore.sh
name : rmi
password : changeit
Step 3 : run jmeter-server file on slave (remote) system
Step 4 : Run and Validate
GUI and Commandline
Helpful Tips:
- all systems (master and slaves) have same ver of JMeter
- all systems have java (preferably same ver)
- all systems can connect to each other (are in same subnet)
- no need to copy jmeter script (jmx) to slave systems
- If you want to have 100 users and using 2 slaves. Give no as 50
References
jmeter.apache.org/usermanual/...
www.google.co.in/search?q=jme...
#JMeterTraining #JMeterBeginnerTutorials #JMeterRemoteTesting #JMeterDistributedTesting #JMeterMasterSlaveConcepts
JMeter Beginner - bit.ly/2oBbtIU
JMeter Intermediate - bit.ly/2oziNVB
JMeter Advanced - bit.ly/2Q22Y6a
JMeter Tips & Tricks - bit.ly/2NOfWD2
Performance Testing - bit.ly/2wEXbLS
KZread PLAYLISTS
/ @raghavpal
KZread
/ automationstepbystep
FACEBOOK
/ automationstepbystep
TWITTER
/ automationsbs
If you like videos on the channel Automation Step by Step, hit the like button and share with others.
Click the SUBSCRIBE button and hit the bell icon to keep getting new videos.
_______ ONLINE COURSES TO LEARN _______
Visit - automationstepbystep.com/
Never Stop Learning
Raghav

Пікірлер: 270

  • @juancamiloa.n1886
    @juancamiloa.n18864 жыл бұрын

    Raghav Pal....Just THANK YOU!!! I've been watching your tutorials and have to say they all are clear as mountain waters. Thanks for share your knowledge. Wish the best ever

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    So happy and most welcome Juan

  • @HS-yd6bn
    @HS-yd6bn5 жыл бұрын

    Hi Raghav, have been watching your tutorials for a while now and have to say they all are amazing. The way you explain and knowledge you show is highly recommendable. Thanks for all your hardwork. H

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    You're welcome H S. Humbled by your message

  • @TheJonesin666
    @TheJonesin6662 жыл бұрын

    Excellent video! Very clear and very well explained. Thank you!!

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    You're very welcome!

  • @The5StringFury
    @The5StringFury4 жыл бұрын

    Very Useful and straight to the point. I like it!

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Thanks

  • @gowrishankervel4689
    @gowrishankervel46895 жыл бұрын

    Hi Raghav, thanks for the clear definition

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    You're welcome Gowri

  • @jeyabalaGeorge
    @jeyabalaGeorge5 жыл бұрын

    Hi Raghav, Very useful video!! Thank you. I have read the steps in different places. But your video is easy to follow and I use Mac. I have got to do performance test for around 30000 users. Hope I can do that with this method.😊👍

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    You're welcome Jeyabala

  • @angulurisaiakhil2210

    @angulurisaiakhil2210

    2 жыл бұрын

    @@RaghavPal How to do in windows using Command line

  • @DeividLanderos
    @DeividLanderos5 ай бұрын

    you are the funking awesome!!! Greetings from Chile.

  • @RaghavPal

    @RaghavPal

    5 ай бұрын

    Thanks for watching...

  • @yeshwanthvankina9650
    @yeshwanthvankina96504 жыл бұрын

    Raghav : You are Amazing to Making everyone expert with your tutorials - Can we Run Master and Slave in real time if no what are the Challenges we might face

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Yeshwanth, Yes we can run in real time. Most common challenge is the connection between master and slave.

  • @irvinln
    @irvinln3 жыл бұрын

    Hi Raghav, your videos are awesome. Is there a way to label the different slaves to differentiate their results?

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Hi Irvin, can check __machineName or __machineIP functions

  • @LayanSooriyaarachchi
    @LayanSooriyaarachchi3 жыл бұрын

    nice explanation... very useful..

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Thank you so much Layan

  • @selenaanhnguyen6075
    @selenaanhnguyen60754 жыл бұрын

    Thank you for a great tutorial, Raghav! I see that normal set up would be 1 Master machine and multiple Slave machine(s). Each slave machine will run the exact test plan created on the Master machine. I have 2 questions: 1. Should we run the test on the Master machine too? Why and why not? 2. How can you tell each slave to run from a specific thread/thread node? For example, Test plan has 10 threads, Slave 1 runs from thread 1 to 5, Slave 2 runs from thread 6 to 10.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Selena, as per my knowledge 1. As per my knowledge the master commands the slave nodes to run, but does not run on itself. However I believe we can work-around by also making the ip of the master available in the remote systems and this way you can also run on the master. Have not tried, you can check this. 2. Here I could not find a direct way online, Here are some links that may guide you stackoverflow.com/questions/31809597/how-to-configure-the-number-of-threads-to-run-on-slave-machines-in-jmeter stackoverflow.com/questions/21473230/how-to-configure-different-loads-on-slave-machines-in-jmeter/21573228#21573228

  • @mallikarjunyaramala5441
    @mallikarjunyaramala54414 жыл бұрын

    very nice lecture.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Thanks for liking Mallikarjun

  • @giantboanerges206
    @giantboanerges2065 жыл бұрын

    Hi Raghav, Your videos are awesome. Thanks a lot for sharing your knowledge to us. I am strange to jmeter. My friend ask my help to setup jmeter distribution testing. Two days before I watched this video and setup Master slave distribution testing. I got success response. Kudos to you!!! Tysm Can you please make video about distribution testing in remote (ie) Master jmeter in local environment and slave machines in AWS. I tried this but can't make it completely.

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Glad to know this, I will create it soon

  • @giantboanerges206

    @giantboanerges206

    5 жыл бұрын

    @@RaghavPal Thank you Raghav 😍

  • @vaishnavib2020
    @vaishnavib20205 жыл бұрын

    Hello Raghav, your videos are very helpful, thanks a lot. can you suggest how do we create an API that takes user credentials (using GET and POST) from a DB and uses them for Login/register purpose. can we perform this without the actual website in place?

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Vaishnavi Yes we can do this if there is an API created for this. In JMeter we can call API requests

  • @amraboeleneen2221
    @amraboeleneen22214 жыл бұрын

    that's very helpful

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    So happy to know this

  • @pradeeps1092
    @pradeeps10923 жыл бұрын

    Thank you 😊

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    You're welcome Pradeep

  • @soumyakori31
    @soumyakori315 жыл бұрын

    Hi Raghav, Your video tutorials are very beneficial. Thanks for sharing your knowledge and experience with us! I am implementing load test at my office and I have one question. In a realistic scenario, do you include 2 different IP addresses in Perfmon metrics collector, to monitor and analyze database server health as well as application server health in the same test plan? In our office, the database server is different from the server where we maintain the application files. I need to understand if I can monitor both of these servers' health in the same test plan or different test plans. For ex: If a page is hit by a user, it would communicate with both these servers and I need to know how both of these servers behave with different loads. Thank you!

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Soumya, it will depend on your needs actually. If you look from the user perspective. He does not know about these diff servers, IP etc. So you can setup a realistic user scenario and then add samplers to get performance of both the servers

  • @soumyakori31

    @soumyakori31

    5 жыл бұрын

    Hi Raghav, thank you for your immediate response. I got an idea how to do it with your answer. I will add two samplers in the same test plan with the two different IP address that I want to test. Your answer helped. Thanks again!

  • @fadillahachmad7404
    @fadillahachmad74045 жыл бұрын

    nicely done

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Thanks for watching

  • @venkateshenumula1345
    @venkateshenumula13455 жыл бұрын

    Thank you so much pal

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    You're welcome Venkatesh

  • @venkateshenumula1345

    @venkateshenumula1345

    5 жыл бұрын

    @@RaghavPal When I am trying to connect to the slave machine getting the following error javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

  • @vishalsangle8369
    @vishalsangle83692 жыл бұрын

    Hello Raghav sir, Your all jmeter video's are very nicely and easily explained.thankx Can you please tell that in master-slave environment in jmeter,how can we configured fix set of users that should be running from selective slave only.

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    I will try to add a session on this

  • @stayfitwithneha
    @stayfitwithneha10 ай бұрын

    Hi Raghav, your videos are very good. Can you please make a video on remote testing on Aws EC instances??

  • @RaghavPal

    @RaghavPal

    10 ай бұрын

    I will plan Neha

  • @anantakumarjena279
    @anantakumarjena2795 жыл бұрын

    Hi raghav, nice video. I have one dbt. That is this keystore.jks I have to create both in master and slave or only on master file to connect

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Ananta, you will create on master and copy it on slave also

  • @souravkamalguha
    @souravkamalguha5 жыл бұрын

    Hi Raghav, Thanks a lot for the video. Its very well demonstrated and possibly the best right now. However, I am facing an issue here while testing in distributed mode in windows system. Can you please tell me why the master is not listening back the results when the test functioning in slaves perfectly alright? Regards

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Sourav, will have to see logs for this. Also check no steps are missed

  • @AWSFan
    @AWSFan Жыл бұрын

    Hi raghav, Could you please let me know whether or not it is possible to execute 100s and 1000s of testcases of jmeter in several slave machines of AWS..I mean it will be a single build on jenkins which triggers the jmeter, but the execution time needs to be faster. Also just a sidenote: I have used only simple data writer as the only listener as only one POst-Processorr is there in the jmx, no fancy plugins are embedded into the jmx. Could you suggest any approach wherein I can make my jmeter test run faster? Thanks in advance!

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    you can do that Abhik, some links to refer stackoverflow.com/questions/67373043/jmeter-distributed-testing-on-ec2-master-and-ec2-slave-machines www.tothenew.com/blog/jmeter-master-slave-setup-in-multiple-aws-regions/

  • @sumitbansal3291
    @sumitbansal32915 жыл бұрын

    Thanks raghav for this. But i have an one question on this. . Jks file is created on master or slave or on both.

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Sumit, Both, create on master and place on all slaves too

  • @zexicc
    @zexicc3 ай бұрын

    Hello, thanks for video. I did as instructed, and slave does the tests but I do not get results on master . Pinged master from slave and vice versa and they communicate with no problem with each other. Any suggestion how to fix?

  • @RaghavPal

    @RaghavPal

    3 ай бұрын

    Zeljka there are several common troubleshooting steps you can take: 1. Check RMI Configuration: - Ensure that the RMI (Remote Method Invocation) configuration is correct. Bi-directional communication between the master and slaves relies on this setup. Verify that the RMI settings are consistent across all machines involved in the distributed test. 2. External Data Dependencies: - If your test relies on external data (e.g., using a CSV Data Set Config), make sure you've copied the necessary CSV file(s) to the slave machine(s). The path to the CSV file should be accessible from the slave. 3. JMeter Plugins: - If your test script uses JMeter Plugins, ensure that the plugins are installed on the slave machine(s). You can use the JMeter Plugins Manager to install the required plugins. Open the `.jmx` test plan on the slave, and the manager should detect and install the necessary plugins. 4. Logging and Debugging: - Check the jmeter.log files on both the master and slave. Look for any error messages or warnings related to the distributed testing. The logs may provide insights into the issue. 5. File Paths: - If you're using custom CSV files for your tests, ensure that the file paths specified in your test plan are valid on the slave machine(s). If you use full paths, create the same folder structure on the slave. If you use relative paths, copy the CSV files to a location relative to the JMeter bin folder. 6. Consistent JMeter Versions: - Make sure that both the master and slave are running the same JMeter version. Inconsistencies in versions can lead to unexpected behavior. 7. Firewall and Anti-Virus: - Disable the firewall on both master and slave machines. Additionally, consider temporarily disabling any anti-virus software that might interfere with RMI communication. Remember that distributed testing involves multiple components, so thorough checks and coordination between master and slave configurations are essential. Following these steps should help you identify and resolve the issue. ..

  • @dishantpatel2313
    @dishantpatel23133 жыл бұрын

    Hi Raghav, Very useful video for me. Just one doubt how to give multiple IPs in the command line? By comma separated?

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Hi Dishant, you can give comma separated values. Check this jmeter.apache.org/usermanual/remote-test.html

  • @dishantpatel2313

    @dishantpatel2313

    3 жыл бұрын

    @@RaghavPal thanks Raghav

  • @maheshgoud49
    @maheshgoud495 жыл бұрын

    Hi Raghav can you please open jmeter-server file in jmeter 4.0 version. all the above quaries related to this.once you do this that would be the great help for us. Thanks

  • @voyage9586
    @voyage95866 жыл бұрын

    Informative Video tutorial , I have a question . Is there any specific requirement that a Master should always have a GUI interface ? Can a linux machine with command line interface be used as master?. TIA

  • @RaghavPal

    @RaghavPal

    6 жыл бұрын

    Yes Purush, as shown in the later part, you can run from command line.

  • @PreethiReddySodum
    @PreethiReddySodum4 жыл бұрын

    Hi Raghav, What if we have two or more Remote machines and you want to trigger in all at the same time??

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Preethi, there is an option to remote start all in the Run menu

  • @SmartCat...
    @SmartCat...4 жыл бұрын

    Hi , thank you for this tutorial... I have an additional question. how do I start Master and Slave at the same time from UI and cmd prompt. tnx!

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi, I have shown both ways in the tutorial. Pls try and let me know if you face any specific issue

  • @pratimchoudhury8638
    @pratimchoudhury86383 жыл бұрын

    Hi Raghav, thanks for educating us so nicely! One qn - how to run a Distributed Testing (incl. several slaves) on AMI instance? I looked into all your videos but didn't get much help. Please suggest.

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Hi Pratim, the basic process remains same, Things you should take care is The remote machine is added to the required Security Group to open network on the required ports so that the master and slaves can communicate with each other

  • @pratimchoudhury8638

    @pratimchoudhury8638

    3 жыл бұрын

    @@RaghavPal Dear Raghav, can you please suggest any steps to check this or ask the Networking/App team to verify - The remote machine is added to the required Security Group to open network on the required ports ?

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    if you reach out to your team who manages the aws instances, they will inform you on this pretty quickly

  • @pratimchoudhury8638

    @pratimchoudhury8638

    3 жыл бұрын

    @@RaghavPal I'm facing a challenge while trying to run a Distributed test on Linux (Amazon EC2). When I assign the same VM as Master and Slave (as you show), no issues found. But when using 2 dedicated systems (1 master and slave each) and running from Master to Slave, getting this error - Creating summariser Created the tree successfully using LoadTesting/Projects/cscWeb/Scripts/cscWeb-05082020s_Pratim_Linux.jmx Configuring remote engine: Connection refused to host: ; nested exception is: java.net.ConnectException: Connection timed out (Connection timed out) Failed to configure Stopping remote engines Remote engines have been stopped Error in NonGUIDriver java.lang.RuntimeException: Following remote engines could not be configured:[] An error occurred: Error in NonGUIDriver Following remote engines could not be configured:[] Checked below pointers still issue is there - o Open jmeter-server on Slave o I ran the standalone test on each VM w/o any issues o Can ping each VM from other o They are on same subnet Please help.

  • @swatichiniwal8
    @swatichiniwal85 жыл бұрын

    Hi Raghav, Thanks for video. I am doing the distributed load test from java code. Tests are running fine but unable to generate jtl file. is there any configuration need to be done in order to get the results?

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Swati, it should be available on the master system. Also check this - groups.google.com/forum/#!topic/ptgram24/y5TB9pxk6Hk

  • @3VAudioVideo
    @3VAudioVideo3 жыл бұрын

    Mix of Mac and Windows can be used in a single distributed test environment, or do all the computers all need to be using the same operating system? I have one of each and need to know if I should have to purchase another machine.

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Hi, as long as you can connect the machines over a network OR in other words the systems can talk to each other over a network, you can do Distributed testing and systems need not be of same OS

  • @3VAudioVideo

    @3VAudioVideo

    3 жыл бұрын

    @@RaghavPal Thank you!!

  • @shreyask8107
    @shreyask8107 Жыл бұрын

    Hi Raghav, Very useful video!! Thank you i have a doubt , can we run the jmeter loadtest directly on the application server, instead of having master slaves ?

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Hi Shreyas, yes we can, but do on a separate env

  • @shreyask8107

    @shreyask8107

    Жыл бұрын

    @@RaghavPal what problem can we face if we don't have separate env?

  • @erfantavoosi100
    @erfantavoosi1002 жыл бұрын

    Are there any other pre requisites, other settings that need to be in place on the master and slave?

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Hi Erfan, I have tried to cover most of the setup, Still you can refer some online documentation to confirm

  • @aswinsridhar4900
    @aswinsridhar49004 жыл бұрын

    Thank you so much for the very clear explanation Raghav. I tried the same in my Mac and I'm getting 'java.io.FileNotFoundException: rmi_keystore.jks (No such file or directory)'. But I've created the rmi_keystore.jks file like how you said in the video(name: rmi, pwd: changeit) and it is available in the bin folder

  • @aswinsridhar4900

    @aswinsridhar4900

    4 жыл бұрын

    Just got that resolved by un commenting some lines in jmeter.properties file. Thanks bro!

  • @aswinsridhar4900

    @aswinsridhar4900

    4 жыл бұрын

    Now i'm struck in 'java.net.ConnectException: Connection refused (Connection refused)' even after running my jmeter-server

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Aswin, can you check if this is covered in any of the other comments of this video.

  • @uditagrawal6603

    @uditagrawal6603

    3 жыл бұрын

    @@aswinsridhar4900 Setup : Slave : Windows Desktop, Master : Mac Problem faced : java.net.ConnectException: Connection refused (Connection refused) Solution(worked for me) : 1. Check whether you are able to ping machines with each other(i.e they should be on same subnet). 2. Configurations on slave : jmeter-server.bat-> i) Add set RMI_HOST_DEF=-Djava.rmi.server.hostname= ii) Add this variable along with JMETER_CMD_LINE_ARGS (e.g. call jmeter -s -j jmeter-server.log %JMETER_CMD_LINE_ARGS% %RMI_HOST_DEF%) 3. Configuration on master : jmeter.properties-> i) Add remote_hosts= Command while running : ./jmeter.sh -Djava.rmi.server.hostname= www.programmersought.com/article/8044950895/

  • @sharanbasava7632
    @sharanbasava76323 жыл бұрын

    Hi Raghav Pal, Thank you for clear explanation.But can we do Master and Slave configurations or (Distributed Testing) in our Local Machines?.i'm waiting for your answer..Thanks.

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    You can do, but may not be a good scenario to test master slave on the same machine

  • @pankajrajegarg4000
    @pankajrajegarg40004 жыл бұрын

    Hi Raghav, What should be the ramp up time in master-slave concept. for e.g. I want to run 10 threads on 2 different slaves with ramp up 10 secs, what I should put 5 threads on ramp up 5 or 5 threads on ramp up 10 sec. Any help will be appreciated. Thanks

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Pankaj, If you want to have 100 users and using 2 slaves. Give no as 50 For Rampup - if you set 5 sec, It will be 5 for all slaves(nodes) stackoverflow.com/questions/25060270/jmeter-distributed-testing-how-does-ramp-up-time-work-in-distributed-load-test

  • @solsgibi
    @solsgibi5 жыл бұрын

    Can I run different tests in salves and monitor those tests from Master? for (e.g) can I run SMTP test in Slave1 and HTTP test in slave2. I want to run these to test from master

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Yes Solomon, you can run your tests in Slaves and results will be shown in the master

  • @fouziyahanif4429
    @fouziyahanif44295 жыл бұрын

    Hi Raghav, My question it is possible to add parameter values on add scenario like as web service testing by using postman ( { .... ,...... , .... , }. is this possible in jmeter. J meter is purely based On service testing it possible to verify the "Add, update, get, delete, activate , deactivate, Scenarios. Thanks in advance.

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Fouziya, we can have assertions in JMeter. Some of these are in-built and can also be scripted for custom assertions. Having said that, Postman is created for API testing and should have more features than JMeter if it is API functional testing.

  • @sriharivankayalapati873
    @sriharivankayalapati8734 жыл бұрын

    Hi Raghav, I have one question. While running the distribution load testing in jmeter. Master and slave connect I want to collect results from each machine and as well as combined results. Is there any way to collect the results in this way? Can you please explain how it's possible?

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Srihari, usually all results come to master. Will check online if there are more options

  • @deepdpk
    @deepdpk4 жыл бұрын

    Hi It was a nice tutorial but how do I handle the test data in this setup?

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Test data will have to be copied to the nodes

  • @apsarathi1
    @apsarathi13 жыл бұрын

    Thank you somuch . Changeit password and rmi name while creating key , will this be static. when I used other wording . I struggled and nowhere I found this help

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Hope this helped Partha

  • @jgperezh1981
    @jgperezh19812 жыл бұрын

    Hi Raghav, In a master-slave scenario, can I have various slaves and also the master test an application? For example, If i have 1 master and 4 slaves...at some point can I have the 5 of them testing? Thanks in advance

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Hi José, not very sure, will need to check

  • @3kvikas
    @3kvikas5 жыл бұрын

    Hi Raghav is there a way to to run linux command using jemter and that command is run over that specific linux sever ? How i can achieve that ?

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Vikas, pls check this - www.technix.in/execute-linux-command-shell-script-apache-jmeter/ www.blazemeter.com/blog/how-run-external-commands-and-programs-locally-and-remotely-jmeter

  • @rameshreddy8968
    @rameshreddy89682 жыл бұрын

    Thanks for the video... i have 2 questions 1) you mentioned that will distribute the load equval basis in master (500) and slave machine (500) but i want to distrubute one machine 250 vusers and another machine 750 vusers, can you help me hw can we do this kind of requirements? 2) Test data(csv file) should we keep slave machine, is it neccasary? Can you help me on this?

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Hi Ramesh, you can use if controller with some commands, check this www.blazemeter.com/blog/how-to-perform-distributed-testing-in-jmeter Yes you will need to keep the csv file in slave machine inside the bin directory sqa.stackexchange.com/questions/14648/issue-with-reading-csv-file-when-doing-distributed-testing-in-jmeter

  • @terrellroe9293
    @terrellroe92933 жыл бұрын

    Hi Raghav, can you point me to a video that shows how to set up an API test that runs behind a proxy/firewall?

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Hi Terell, I had created some videos on how to capture api requests in JMeter using proxy here kzread.info/head/PLhW3qG5bs-L9sCVY1c_vox9blIrIzwEEb Not a specific session on how to run behind proxy. Can try some online examples

  • @izzeanshukri2731
    @izzeanshukri2731 Жыл бұрын

    Hi, Raghav. Great tutorial but I have just 1 question regarding subnet. In Jmeter's documentation it says "The server is in the same subnet, if 192.x.x.x or 10.x.x.x IP addresses are used. If the server doesn't use 192.xx or 10.xx IP address, there shouldn't be any problems". You mentioned that the servers should be in same subnet, so does that mean if I have slave server with 54.x.x.x subnet, it cannot connect to the master server?

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Hi Izzean, The statement in Jmeter's documentation you mentioned is related to the IP address format and it's not related to the subnet of the IP address In general, Jmeter master and slave servers can be in different subnets, as long as they can connect to each other over the network. If the master and slave servers are in different subnets, they need to be able to communicate with each other over the network through a router or a firewall if the slave server's IP address is in the 54.x.x.x subnet, it is not part of the private IP address space, but it should still be able to connect to the master server as long as the network communication between them is properly configured.

  • @izzeanshukri2731

    @izzeanshukri2731

    Жыл бұрын

    @@RaghavPal Oh i see. Thank you so much for replying :D

  • @madhureddy6899
    @madhureddy68994 жыл бұрын

    We need to copy created keystore file to all jmeter bin of all slave machine s?

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Yes Madhu

  • @sriharivankayalapati873
    @sriharivankayalapati873 Жыл бұрын

    Hi Raghav, I have one question I.e how to run load testing in geographical locations using jmeter

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Hi Srihari One of the option will be to Configure Distributed Testing: Go to "Run" -> "Remote Start" -> "Select Test Plan". Add the IP addresses or hostnames of the machines that will act as load generators in different geographical locations. Configure the desired number of threads for each location. There are a few other options for running load testing in geographical locations using JMeter. *Use a cloud-based load testing service:* There are a number of cloud-based load testing services that offer the ability to run tests from different geographical locations E.g. Blazemeter *Use a proxy server:* A proxy server is a server that acts as an intermediary between your computer and the internet. You can use a proxy server to route your traffic through a different geographical location. This can be useful for load testing applications that are hosted in a specific geographical location *Use a VPN:* A VPN, or virtual private network, is a service that encrypts your traffic and routes it through a server in a different geographical location. This can be useful for load testing applications that are hosted in a specific geographical location and you want to test from different parts of the world. Hope this helps

  • @dhanasekars6275
    @dhanasekars62754 жыл бұрын

    Hi Raghav, How jmeter distributes the jmx script to all the slaves? is the distributed script during remote testing is stored anywhere in local machine? Is there any latency while distributing jmx script to all slave? (say about 50 slave) Then how master computes the response time for all machines? And pls share any reference related to above questions.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Dhana, all this is managed from master.

  • @dhanasekars6275

    @dhanasekars6275

    4 жыл бұрын

    Can I get more information like how they are managed in master.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Dhana, I have shown few points at the end of the video. Can get more info here - jmeter.apache.org/usermanual/jmeter_distributed_testing_step_by_step.html

  • @NitheeshSelvaraj-ep4ge
    @NitheeshSelvaraj-ep4ge8 ай бұрын

    Hi Raghav, How can I install the jmeter-server file as a service in windows and Mac?

  • @RaghavPal

    @RaghavPal

    8 ай бұрын

    Nitheesh **To install the jmeter-server file as a service in Windows:** 1. Download the jmeter-server.jar file from the Apache JMeter website. 2. Save the file to a location on your computer where you have administrator privileges. 3. Open the Windows Services console. 4. Right-click on the blank area of the console and select "New > Service". 5. In the "Create Service" dialog box, enter the following information: * Service Name: jmeter-server * Display Name: JMeter Server * Description: JMeter Server Service * Startup Type: Automatic * Path to executable: The path to the jmeter-server.jar file that you saved in step 2 6. Click on the "OK" button to create the service. **To install the jmeter-server file as a service in macOS:** 1. Download the jmeter-server.jar file from the Apache JMeter website. 2. Save the file to a location on your computer where you have administrator privileges. 3. Open a terminal window. 4. Change to the directory where you saved the jmeter-server.jar file. 5. Run the following command: ``` sudo ln -s jmeter-server.jar /Library/LaunchDaemons/jmeter-server.plist ``` 6. Open the System Preferences app. 7. Click on the "Users & Groups" icon. 8. Click on the "Login Items" tab. 9. Click on the "+" button and select the "jmeter-server.plist" file. 10. Click on the "Close" button to save your changes. Once you have installed the jmeter-server file as a service, it will start automatically when your computer starts up. You can manage the service using the Windows Services console or the macOS System Preferences app. **To start or stop the jmeter-server service:** * In Windows, open the Windows Services console and double-click on the "jmeter-server" service. * In macOS, open the System Preferences app and click on the "Users & Groups" icon. Click on the "Login Items" tab and check or uncheck the "jmeter-server.plist" file to start or stop the service. **To uninstall the jmeter-server service:** * In Windows, open the Windows Services console and right-click on the "jmeter-server" service. Select "Stop" and then "Delete". * In macOS, open a terminal window and run the following command: ``` sudo rm /Library/LaunchDaemons/jmeter-server.plist ```

  • @chandandc6261
    @chandandc62614 жыл бұрын

    Hi Raghav, Should I have the parameter files on slave machine?

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Chandan, as mentioned in the video, you just need to take care of following: - all systems (master and slaves) have same ver of JMeter - all systems have java (preferably same ver) - all systems can connect to each other (are in same subnet) - no need to copy jmeter script (jmx) to slave systems - If you want to have 100 users and using 2 slaves. Give no as 50

  • @chandandc6261

    @chandandc6261

    4 жыл бұрын

    @@RaghavPal Thanks for the reply Raghav....but found out that I was getting an error while running the .jmx file through the slave as it was not able to find the parameter file in the slave machine. Later on when I had the parameter file in the slave machine, without the .jmx file in the slave, the test ran fine....Could u please check on it?

  • @harithaviyala3648
    @harithaviyala3648 Жыл бұрын

    Hi Raghav, i have been following your session and they are too good. I have a query - 1 master as local host and other 2 as slaves and tried to run from GUI jmeter is throwing this error "non-jrmp server at remote endpoint in jmeter" where i went wrong could you pls help.

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Hi Haritha, this can help coderanch.com/t/482481/java/JRMP-server-remote-endpoint-Error

  • @harmeetsingh7583
    @harmeetsingh75834 жыл бұрын

    Hi Raghav While doing IP Spoofing(Hitting server with Multiple IPs) using JMeter, the Jmeter listeners show requests with different IPs, but while looking into the Target server logs it shows the Public IP only instead of showing different IPs hits. Can you please help me with this? As I need to do the IP Spoofing on one server.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Harmeet, I believe this has to be addressed from the server side. Pls get in touch with your network team

  • @sajiththiwanka7516
    @sajiththiwanka75165 жыл бұрын

    Hello sir, Your video is very help full. I followed your steps 4 correctly up-to step working fine in local pc, but when i try to run on remote pc (Slave) it pop-up error message (Error initialising remote server 192.168.*.***) "error during JRMP connection establishment;nested exception is: " "javax.net.ssl.SSLHanddhakerExeption: .............." Thanks.

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Sajith, looks like the 2 system cannot connect to each other. check if they are on same network

  • @hayaulislam
    @hayaulislam4 жыл бұрын

    Rmi create keystore. Bat file is not opening in windows.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Are you getting any specific error or message. Pls check if anything from here helps you - stackoverflow.com/questions/57704337/running-create-rmi-keystore-bat-file-in-jmeter-bin-folder-not-working

  • @ankitkabra20
    @ankitkabra204 жыл бұрын

    Hello Raghav, I was following your video but unable to generate the rmi.keystore.jks as I am on Windows 10 and Using Jmeter 5.0. Also I tried to setup the path as you described but it did not work. I tried to launch the Keystore using command prompt still it did not work. could you please help me out. Is there a way I can get this file.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Ankit, what was the message you got on running cmd create-rmi-keystore.bat. I am not sure why it will be specific to Windows 10, unless there are some settings that is preventing this.

  • @monikaselva6699
    @monikaselva66992 жыл бұрын

    Hi, I tried this master and slave setup to run my .jmx script. I placed both my script and CSV file in bin (master as well as in slave machines) my test is able to run but it is getting failed "error: test failed! Could not read header line for file in jmeter" what exactly this means, how to fix this?

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Hi Monika, it can be due to location issue of csv Check www.adoclib.com/blog/jmeter-csv-data-set-config-issue-could-not-read-file-header-line-for-file.html stackoverflow.com/questions/64031400/jmeter-csv-data-set-config-issue-could-not-read-file-header-line-for-file

  • @balachandrankandasamy824
    @balachandrankandasamy8244 жыл бұрын

    Can you help with the some video on server side monitoring for Linux server.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Bala, you can use PerfMon, check this - kzread.info/dash/bejne/qntnz7isiN2pc9I.html

  • @balachandrankandasamy824

    @balachandrankandasamy824

    4 жыл бұрын

    @@RaghavPal Thank you for the reply. PerfMon can be used only for the windows server. Can it be installed on Linux servers?

  • @balachandrankandasamy824

    @balachandrankandasamy824

    4 жыл бұрын

    @@RaghavPal Can It be used for monitoring Linux servers?

  • @sathiiz
    @sathiiz4 жыл бұрын

    Hi Raghav, after clicking rmi.keystore.bat file i am not getting any DOS page, no response from jmeter. Unable to create .jks file. Am i missing aomething?

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Satheesh, have you checked all setup as per the video, May be can try again with a diff ver.

  • @utkarshpatel772
    @utkarshpatel77211 ай бұрын

    If the slave server is on a different subnet, How we can config it?

  • @RaghavPal

    @RaghavPal

    11 ай бұрын

    Hi Utkarsh To configure a slave server on a different subnet in JMeter, you need to do the following: 1. Open the JMeter configuration file, `jmeter.properties`. 2. In the `remote_hosts` property, add the IP address of the slave server. 3. In the `remote_hosts_list` property, add the subnet mask of the slave server. 4. Save the JMeter configuration file. Here is an example of the `remote_hosts` and `remote_hosts_list` properties: ``` remote_hosts = 192.168.1.100 remote_hosts_list = 192.168.1.0/24 ``` Once you have configured the slave server, you can start it using the `jmeter -s` command. The `-s` option tells JMeter to start the slave server. To run a test on the slave server, you need to add the `remote_hosts` property to the JMeter test plan. You can do this by right-clicking on the test plan and selecting **Add -> Remote Hosts**. In the **Remote Hosts** dialog box, add the IP address of the slave server and the subnet mask. Click on the **OK** button. Once you have added the `remote_hosts` property to the JMeter test plan, you can run the test. The test will be run on the slave server. I hope this helps

  • @Sasshi33
    @Sasshi335 жыл бұрын

    Hi Raghav, How to differentiate master and slave .here I'm using master as one system and slave as another system.how to set ip address on jmeter.properties on master and slave. Here u r using master and slave as single machine. Can uh please explain the IP address configuration on master with different slave machines. Thanks

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Sasshikumar. The system from where you run your test is your master and from your master you can select the slave or node systems. I have explained the steps in the video. Pls see and check where you get a issue in the proecess

  • @Sasshi33

    @Sasshi33

    5 жыл бұрын

    @@RaghavPal Thanks Raghav. The entire configuration done successfully. When I run the slave machine from master machine. I am not getting response but response code shown as 200.

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi, not sure and difficult to say without looking at your setup and logs

  • @Sasshi33

    @Sasshi33

    5 жыл бұрын

    @@RaghavPal hi Raghav, finally I got a response from slave machine . In jmeter properties file additionally we need to add as mode=standard. Thanks.

  • @maheshgoud49
    @maheshgoud495 жыл бұрын

    Hi raghav getting below error when i try to start the jmeter-server.bat in jmeter4.0 Changing to JMeter home directory Could not find ApacheJmeter_core.jar ... ... Trying JMETER_HOME=.. Found ApacheJMeter_core.jar Server failed to start: java.rmi.server.ExportException: Listen failed on port: 0; nested exception is: java.io.FileNotFoundException: rmi_keystore.jks (The system cannot find the file specified) An error occurred: Listen failed on port: 0; nested exception is: java.io.FileNotFoundException: rmi_keystore.jks (The system cannot find the file specified) errorlevel=1 Press any key to continue . . .

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Mahesh, in your case rmi_keystore.jks is not present. This needs to be created on server side and should be copied at client side also.

  • @sidduhiranni1179
    @sidduhiranni11795 жыл бұрын

    Hi raghav create-rmi-keystore.bat and create-rmi-keystore.sh file missing in my jmeter bin folder how can added it ???

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Siddu, pls check if they are hidden. You can try downloading JMeter again from JMeter website binaries section and check

  • @PreethiReddySodum
    @PreethiReddySodum4 жыл бұрын

    Hi Raghav, I'm facing the below issue in Windows after all the setup while running the remote session in Jmeter. Please help.!! error during JRMP connection establishment; nested exception is: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: signature check failed

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Preethi, recheck these steps 1. Copy the rmi_keystore.jks file from master to all slaves bin directory 2. Start jmeter-server.bat on slaves Some helpful links - stackoverflow.com/questions/49797793/jmeter-4-remote-testing-in-cloud-with-ssl-keystore flood.io/blog/mutual-two-way-ssl-with-jmeter/

  • @krishnaph5654
    @krishnaph56543 жыл бұрын

    Can I use the same method to run 1lakh plus users(50k concurrent users) ? How many slaves would be required?

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Hi Krishna, that will depend on your systems configuration and env needs, I suggest you can check some resources on how to setup jmeter test with configuration of env

  • @sandeeppuppala4026
    @sandeeppuppala40264 жыл бұрын

    Hi Raghav, firstly thank you for this informative video. When I try to run a Http request from master, I am getting "No object in the table" exception. I am running Master on one 2012 R2 server and Slave on another 2012 R2 Server both hosted on same network. I have changed the remote host to slave server with 1242 port and created the jks file using create-rmi.bat in master. Copied the .jks file to slave and changed the server.rmi.localport to 1242 on slave and executed. please help me with this issue.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Sandeep, Looks like some setup issue. Can you try all the steps fresh and check

  • @sandeeppuppala4026

    @sandeeppuppala4026

    4 жыл бұрын

    @@RaghavPal Hi Raghav, I have tried multiple time. Infact i have changed master as slave n tried repeating the same. But the issue remains same

  • @sandeeppuppala4026

    @sandeeppuppala4026

    4 жыл бұрын

    Hi Raghav, thank you for the suggestion. I have observed that if we change the default server port in slave, the master is not able to hit it whereas when we run as a default port, it is working fine.

  • @vidulamodh1147
    @vidulamodh11475 жыл бұрын

    Hi Raghav, Thanks for nice explanation. I performed same steps in windows10. Still getting error of "connection refused" Below configuration: - Configured IP in jmeter.properties file - Created rmi by give name "rmi" as firstname.. & password "chnageit" - Execute jmeter-server.bat file in my system (bcz have only system so) Moreover, firewall is also off. And using wifi only. Waiting for quick help. Thanks in advance.

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Vidula, do you have any detailed logs for this. Its difficult to troubleshoot without logs .

  • @dhanasekars6275
    @dhanasekars62754 жыл бұрын

    Hi Raghav, while running in GUI mode response data is not coming in view results tree and while running is non GUI mode after adding the jtl file in view results tree both request and response are not coming only sample results came.suggest some solution.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Dhana, are you facing something like this - stackoverflow.com/questions/26972685/jmeter-view-results-tree-doesnt-return-anything-in-response-data

  • @dhanasekars6275

    @dhanasekars6275

    4 жыл бұрын

    Even for passed sample request also not showing the response data .Now I resolved showing request and response headers by enabling the jmeter.save.saveservice.requestHeader, jmeter.save.saveservice.responseHeader, even after enabling jmeter.save.saveservice.response_data=true it's not showing the response body in view result tree

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    I hope you have expanded the request and are looking in the response tab. You can check logs for more info

  • @hazimabdoh6303
    @hazimabdoh6303 Жыл бұрын

    HI Mr Raghv , when excuting the folowing command from C:\Users\Lenovo\apache-jmeter-5.5\apache-jmeter-5.5\bin>create-rmi-keystore.bat, the error message appears as shown bellow: 'keytool' is not recognized as an internal or external command, operable program or batch file. "Copy the generated rmi_keystore.jks to jmeter/bin folder or reference it in property 'server.rmi.ssl.keystore.file'" C:\Users\Lenovo\apache-jmeter-5.5\apache-jmeter-5.5\bin>. any help pls.thanks

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Hi Hazim, do you have JDK installed and setup on your system Pls check this - bobbyhadz.com/blog/keytool-is-not-recognized-as-internal-or-external-command

  • @hazimabdoh6303

    @hazimabdoh6303

    Жыл бұрын

    @@RaghavPal i did jdk installing and setup on my system and also edit keytool path to the environment variable , and everything goes very correctly , thanks very much mr Raghav for you unlimited valued support.

  • @BALJOTSINGH
    @BALJOTSINGH4 жыл бұрын

    Hi Raghav, Thanks for amazing tutorial. I am also setting up distributed system and after setup when I remote Start one of the slave I am getting this error (java.rmi.ConnectIOException: non-JRMP server at remote endpoint ) and I checked online I did not find any solution:

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Baljot, not sure if you have already seen this. Pls check - stackoverflow.com/questions/19831569/java-rmi-connectioexception-non-jrmp-server-at-remote-endpoint

  • @BALJOTSINGH

    @BALJOTSINGH

    4 жыл бұрын

    @@RaghavPal Hi Raghav thanks for your quick reply, but this link does not provide me the solution, do you have any other way which help me to resolve this issue. I am setting up Master slave on 2 Virtual Machines hosted on same internet.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Will have to analysze for details and setup for this

  • @BALJOTSINGH

    @BALJOTSINGH

    4 жыл бұрын

    @@RaghavPal Hi Raghav, so when I do the setup like you mentioned in the video with same machine it works.But when I use 2 different machines in same internet with firewall off, and start test on the slave, Then I got this ERROR o.a.j.e.DistributedRunner: Failed to create engine at xxx.xxx.x.115. And what I think there is need to change ports inside jmeter.properties for both Master and Slave. So, If you can try this settings and see which configuration need to be done to make it work, will be lot helpful. Thanks in advance

  • @savithrisarnala4481

    @savithrisarnala4481

    Жыл бұрын

    Hi sir how to fix java.rmi.RemoteException

  • @jairam3236
    @jairam32364 жыл бұрын

    How to create multiple slave

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Jai, you can use the same process to add more nodes

  • @neelambikalearnfun4041
    @neelambikalearnfun40414 жыл бұрын

    Hi thanks it's useful. Am doing recently this remort test to telnet the server. But getting some error like this for 1of server. Javax.script.scriptException:java.net.connectException:connection timed out:connect. Any tips to solve this error.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Neelambika, is the server on the same network and is discoverable. You may need to check on the network settings.

  • @neelambikalearnfun4041

    @neelambikalearnfun4041

    4 жыл бұрын

    @@RaghavPal hi. Am actually having different RDP which is in diff location. And am trying to telnet from that system to the server. I tried in cmd prompt telnet it's working but littile bit time taking. Not sure coz of this if my jmeter scripts is failing.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    May be the case, If you are doing this in an organization, It will help to get help from your network admin team

  • @neelambikalearnfun4041

    @neelambikalearnfun4041

    4 жыл бұрын

    @@RaghavPal ok. Thank you. I will check

  • @snehaswapna1869
    @snehaswapna186923 күн бұрын

    Pls help him as a slave I am using Linux machine where it will have public and private ip in masterI am using the private ip in remote_hosts I have followed the step as shown in video but still I am getting connection refused to host

  • @RaghavPal

    @RaghavPal

    23 күн бұрын

    It seems you're encountering a "Connection refused to host" issue while setting up JMeter in distributed mode. Let's troubleshoot this! Here are some steps to check: 1. Start JMeter Server on the Slave Machine: - Ensure that you've started the JMeter server on the slave machine. You can do this by executing `jmeter-server` in the `/bin` folder of JMeter on the slave machine. For Windows, run `jmeter-server.bat`, and for Linux, use `./jmeter-server`. 2. Check Network Connectivity: - Confirm that the master and slave machines can communicate with each other. You mentioned that you've tried pinging from master to slave and vice versa, which is a good start. 3. Configuration in jmeter.properties: - On the master (client) machine, add the following to `jmeter.properties`: ``` remote_hosts=192.168.0.139:1099 server_port=1099 ``` - On the slave machine, set `server_port=1234` in its `jmeter.properties`. 4. Same JMeter Version: - Ensure that both master and slave machines are running the same version of JMeter. 5. Same Subnet and Similar Environment: - The two systems should be on the same subnetwork and as similar as possible (same OS, directory tree, etc.). 6. Check the IP Address: - Verify that the IP address you're using for the slave (e.g., 192.168.0.139) is correct. 7. Dynamic Ports: - Remember that the slaves connect to the server on dynamic ports to return sample data.

  • @ashitaagrawal3114
    @ashitaagrawal31144 жыл бұрын

    Hi Raghav. I'm using Jmeter 5.1.1 and create.rmi.keystore.bat is not opening on windows. Please assist asap.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    What is the error message Ashita

  • @ashitaagrawal3114

    @ashitaagrawal3114

    4 жыл бұрын

    @@RaghavPal Keystore was missing in the folder..it got resolved..thanks a lot!

  • @sudarshanshenoy1598
    @sudarshanshenoy15983 жыл бұрын

    I am getting error non JRMP server at endpoint on master machine

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    This can help - stackoverflow.com/questions/51304421/jmeter-distribtion-testting-on-linux

  • @NileshLotekar
    @NileshLotekarАй бұрын

    How to connect devices with jmeter? I need to test my native application performance Please provide steps Waiting for your response

  • @RaghavPal

    @RaghavPal

    Ай бұрын

    Nilesh To connect your Android mobile device to JMeter and test your native application's performance, follow these steps: 1. Install JMeter: - Make sure you have JMeter installed on your system. - Ensure that your mobile device is on the same network as your system. 2. Configure JMeter Proxy: - Open JMeter on your system. - Right-click on the "Workbench" and select "Add" > "Non-Test Elements" > "HTTP(S) Test Script Recorder." - Set the port for the HTTP(S) Test Script Recorder (e.g., 8087). 3. Get Your Computer's IP Address: - Find your computer's IP address (you can use the `ipconfig` command on Windows or `ifconfig` on Unix-based systems). 4. Configure Your Android Mobile Device: - Open the Wi-Fi settings on your mobile device. - Long-tap on the connected Wi-Fi network and select "Modify network." - Check the "Show advanced options" checkbox. - Change the proxy settings to "Manual." - Set the proxy hostname to your computer's IP address (from step 3). - Set the port number to the one you specified in JMeter (e.g., 8087). - Click "Save." 5. Record the Mobile Application in JMeter: - Start the HTTP(S) Test Script Recorder in JMeter. - Open the application on your mobile device that you want to test (e.g., login functionality). - Perform the testing scenario, and JMeter will record the application actions. - Stop the HTTP(S) Test Script Recorder. 6. Correct the Recorded Script: - Review the recorded script and make any necessary corrections. - Now you can run the script for load testing. Remember to turn off the proxy on your mobile device when you're done testing --

  • @princechopper8110
    @princechopper81103 жыл бұрын

    Hi Raghav, I tried running the create-rmi-keystore.bat in master, i am encountering this error.: 'keytool' is not recognized as an internal or external command, operable program or batch file. :( Requesting for your assistance. Thank you.

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Hi Prince, Add your JDK's /bin folder to the PATH environmental variable. You can do this under System settings > Environmental variables, or via CLI: set PATH=%PATH%;C:\Program Files\Java\jdk1.7.0_80\bin Close and reopen your CLI window

  • @princechopper8110

    @princechopper8110

    3 жыл бұрын

    @@RaghavPal thank you Raghav. Apprciated your response. Very helpful. Another thing. Does using master and slave set up means they should be on the same subnet? I tried setting up this using same subnet. Workstation to workstatio set up. It works. But when using workstatio to server (in different geo location and subnet). It's not working. Again.. Thank Raghav for your responses..

  • @balachandrankandasamy824
    @balachandrankandasamy8244 жыл бұрын

    Facing following error while connecting to remote server machi using GUI Error Message: error during JRMP connection establishment; nested exception is: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Bala, Pls see if this helps - groups.google.com/forum/#!topic/ptgram24/UPohYDT2tk4 howtodoinjava.com/security/tls12-sslhandshakeexception/

  • @balachandrankandasamy824

    @balachandrankandasamy824

    4 жыл бұрын

    @@RaghavPal I have gone through many forums and links but not able find a solution for this.

  • @poornithiyagaraj7625
    @poornithiyagaraj76252 жыл бұрын

    hi, I followed the steps u mentioned. but when i try to run am getting this error. java.net.SocketException: Permission denied: connect

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Can be due to permission issue

  • @poornithiyagaraj7625

    @poornithiyagaraj7625

    2 жыл бұрын

    @@RaghavPal if i disconnect my VPN am able to... So with VPN what change i ve to do to make it work.

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    This can help rolfje.wordpress.com/2012/02/16/distributed-jmeter-through-vpn-and-ssl/ stackoverflow.com/questions/39184050/jmeter-and-vpn-connection

  • @nishansilva6152
    @nishansilva61523 жыл бұрын

    Error in rconfigure() method java.rmi.MarshalException: error marshalling arguments; nested exception is: java.io.NotSerializableException: com.apple.laf.ScreenMenuPropertyListener

  • @RaghavPal

    @RaghavPal

    3 жыл бұрын

    Hi Nishan, I will need some more logs, do you see caused by section in your logs

  • @luisarturocardenasmiranda6459
    @luisarturocardenasmiranda64595 жыл бұрын

    Good morning, I did everything in the video but I still get this message Exception creating connection to 127.0.0.1; nested exception is: java.ioFileNotFounderException: rmi_keystore.jks (No such file or directory) the weird thing is that it asks me the address 127.0.0.1 and I do not know what to do, help me, in properties this is the same as you did.

  • @luisarturocardenasmiranda6459

    @luisarturocardenasmiranda6459

    5 жыл бұрын

    the weird thing is that he does not ask for a password when creating the keystore rmi

  • @luisarturocardenasmiranda6459

    @luisarturocardenasmiranda6459

    5 жыл бұрын

    Another problem is that I do not get the run start, I just get the run start all my version of jmeter is 2.5

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Luis, you need to create the rmi_keystore file and place it on the node (server) machines also. You also need to run server file on nodes. Also check you are having same ver of jmeter on all systems In case you still do not get this. Try to see the logs to troubleshoot

  • @pandithatchinadhanasekar8016
    @pandithatchinadhanasekar80164 жыл бұрын

    Hi Sir, After providing serval answers under *create rmi-keystore* I unable to see *rmi-keystore.jks* file in my bin folder. As per your vidoe this *.jks* is automatic generated file. Kindly help me to resolve this issue

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi, hope you have done as instructed in the video. I will suggest to explore more on the internet

  • @pandithatchinadhanasekar8016

    @pandithatchinadhanasekar8016

    4 жыл бұрын

    @@RaghavPal yes sir follow each and every steps mentioned in the vidoe

  • @user-qo3pc8cx8k
    @user-qo3pc8cx8k3 ай бұрын

    Hey Raghav, At the time of RMI key generation script gets terminated automatically on the step of password entered.It will not ask for the password. Facing an issue in my Windows 11 HP laptop and using apache-jmeter-5.5. Please help here

  • @RaghavPal

    @RaghavPal

    3 ай бұрын

    Zeal The error message you mentioned indicates that the `keytool` command is not recognized. We'll address this step by step: 1. Ensure `keytool` is in Your Windows PATH: - The `keytool` utility is part of the Java Development Kit (JDK) or Java Runtime Environment (JRE). - Make sure that the directory containing `keytool` is included in your system's PATH environment variable. - To set the PATH temporarily for your current session, open a Command Prompt and run: ``` set PATH="path\to\bin\folder\of\your\JDK\or\JRE\installation";%PATH% ``` - Replace `"path\to\bin\folder\of\your\JDK\or\JRE\installation"` with the actual path to your JDK or JRE installation. 2. Disable Secure RMI Communication (Optional): - If you don't need secure RMI communication between JMeter master and slave machines (which is often the case), you can disable it. - Add the following line to your `user.properties` file (located in the JMeter bin folder): ``` server.rmi.ssl.disable=true ``` - This disables secure RMI communication. Most users don't need it and disabling it reduces overhead. 3. Verify the RMI Keystore: - After running the `create-rmi-keystore.bat`, check if the `rmi_keystore.jks` file is generated in the JMeter bin folder. - If it's not there, ensure that the script executed successfully. 4. Restart JMeter: - Close any open JMeter instances and restart it. - Try running the RMI key generation script again. 5. Test the RMI Connection: - Once the keystore is generated, test the RMI connection between master and slave machines. - Ensure that the JMeter master and all slave machines have the same keystore configuration. Remember to verify the steps above, especially the `keytool` in your PATH. If you don't specifically need secure RMI communication, disabling it simplifies the setup. ..

  • @user-qo3pc8cx8k

    @user-qo3pc8cx8k

    3 ай бұрын

    @@RaghavPal Its working now It has issues related to Java version in my windows laptop. After setting JAVA 8 RMI key is generated. Thanks for the quick reply.

  • @ramakrishnants7826
    @ramakrishnants78264 жыл бұрын

    Connection refused to host: 192.168.1.1; nested exception is: java.net.ConnectException: Connection refused: connect I am getting this error. Followed the same steps. both master and slave on same system. Plz help

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Ram, check if this helps you - stackoverflow.com/questions/23513679/jmeter-remote-connection-throwing-connection-refused-to-host

  • @user-qt4xb3sq2t
    @user-qt4xb3sq2t Жыл бұрын

    Hello sir in my system rmi file not opening😢 how i can i open that file

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    The rmi file in JMeter is a Java Keystore file that is used to secure communication between JMeter nodes in a distributed testing environment. The file is typically located in the JMeter installation directory, in the bin folder. If you are unable to open the rmi file, it is possible that you do not have the Java Runtime Environment (JRE) installed on your system. The JRE is required to run Java applications, such as the JMeter rmi file. To install the JRE, you can download it from the Oracle website: www.oracle.com/java/technologies/javase-downloads.html. Once the JRE is installed, you should be able to open the rmi file without any problems. If you are still unable to open the rmi file, it is possible that the file is corrupt. In this case, you can try to recreate the file by running the create-rmi-keystore.bat or create-rmi-keystore.sh script that is located in the JMeter installation directory, in the bin folder. The create-rmi-keystore script will create a new Java Keystore file and store it in the JMeter installation directory. Once the new file is created, you should be able to open it without any problems. Here are some troubleshooting steps you can take if you are still unable to open the rmi file: * Check the file permissions for the rmi file. Make sure that you have read and write permissions for the file. * Try opening the rmi file in a different text editor. * Try renaming the rmi file and then opening it. * Try recreating the rmi file using the create-rmi-keystore script.

  • @RaghavPal
    @RaghavPal5 жыл бұрын

    Online courses & training - automationstepbystep.com/

  • @alohaqa7731
    @alohaqa77315 жыл бұрын

    Hello Sir, I got below error when I enter 'create-rmi-keystore' in cmd. Please help.

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Aloha, looks like you forgot to put in the error

  • @alohaqa7731

    @alohaqa7731

    5 жыл бұрын

    Here is the error 'keytool' is not recognized as an internal or external command, operable program or batch file. "Copy the generated rmi_keystore.jks to jmeter/bin folder or reference it in property 'server.rmi.ssl.keystore.file'"

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Have you puth the keystore file on the node machine bin folder

  • @alohaqa7731

    @alohaqa7731

    5 жыл бұрын

    I have 'create-rmi-keystore' windows batch file in Jmeter>bin folder

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Pls check this stackoverflow.com/questions/19431788/keytool-is-not-recognized-as-an-internal-or-external-command/19432015

  • @MuhammadNadeem-ef3dd
    @MuhammadNadeem-ef3dd Жыл бұрын

    Hi Raghav Whenever i open create rmi-keystore the command prompt not opens

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    Hi Nadeem, try opening as administrator

  • @MuhammadNadeem-ef3dd

    @MuhammadNadeem-ef3dd

    Жыл бұрын

    Thanks raghav i have tried an other way C:\apache-jmeter-5.5\bin>set PATH="path to java bin folder";%PATH% after this i opened create rmi-keystore using command line it's working fine but still giving java time out on running remote

  • @RaghavPal

    @RaghavPal

    Жыл бұрын

    will need to get some online help on this Nadeem, check if this helps - sqa.stackexchange.com/questions/14335/setting-a-connection-time-out-in-jmeter stackoverflow.com/questions/55214815/jmeter-master-slave-connection-time-out-error

  • @MuhammadNadeem-ef3dd

    @MuhammadNadeem-ef3dd

    Жыл бұрын

    @@RaghavPal Thanks Raghav it means alot

  • @sharanbasava7632
    @sharanbasava76325 жыл бұрын

    Hi Raghav, i have followed your steps..when i run the script by making my local system as Master aswell as Slave i can run the script fine...But when i use another system i'm getting... Connection Timeout error i am not able to solve this error please provide a solution...

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    Hi Sharan, are the two systems on the same network? Can also refer this guide - www.blazemeter.com/blog/how-to-perform-distributed-testing-in-jmeter

  • @sharanbasava7632

    @sharanbasava7632

    5 жыл бұрын

    Hi Raghav,Thanks for quick replay.. yes the two systems are in same network itself...but also i'm getting this error like---java.rmi.ConnectException: Connection refused to host: 169.254.234.188; nested exception is: java.net.ConnectException: Connection timed out: connect.pls give a solution to this

  • @sankethkn9154

    @sankethkn9154

    5 жыл бұрын

    Hi, Even i have got same error when i run my script in remote system like connection refused... but when i run in my system as master and as well as slave its fine..can you make video for this...

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    I will try soon

  • @sharanbasava7632

    @sharanbasava7632

    5 жыл бұрын

    @@RaghavPal Thanks...

  • @deepakMCA2009knit
    @deepakMCA2009knit5 жыл бұрын

    Hey Raghav my "create-rmi-keystore.bat" file is not getting launched in windows 7 when I am clicking on it. I am using JMeter 4.0 and Java 1.8. Even command window comes for a moment and disappear in another second. I did google but didn't get correct answer.

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    This is strange Deepak, try to see if any logs got created in logs file in bin folder

  • @deepakMCA2009knit

    @deepakMCA2009knit

    5 жыл бұрын

    Automation Step by Step - Raghav Pal Some of Log Parts given as below. I can share you my JMeter.log on your email id. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_171] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_171] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_171] at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_171] Caused by: java.io.FileNotFoundException: rmi_keystore.jks (The system cannot find the file specified) at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_171] at java.io.FileInputStream.open(Unknown Source) ~[?:1.8.0_171] at java.io.FileInputStream.(Unknown Source) ~[?:1.8.0_171] at java.io.FileInputStream.(Unknown Source) ~[?:1.8.0_171] at org.apache.jmeter.rmi.SSLRMIClientSocketFactory.loadStore(SSLRMIClientSocketFactory.java:125) ~[ApacheJMeter_core.jar:4.0 r1823414] at org.apache.jmeter.rmi.SSLRMIClientSocketFactory.createSocket(SSLRMIClientSocketFactory.java:83) ~[ApacheJMeter_core.jar:4.0 r1823414] ... 27 more 2018-09-10 23:36:04,500 INFO o.a.j.e.DistributedRunner: Failed to configure 192.168.43.45 2018-09-10 23:36:04,500 INFO o.a.j.e.DistributedRunner: Stopping remote engines 2018-09-10 23:36:04,500 INFO o.a.j.e.DistributedRunner: Remote engines have been stopped 2018-09-10 23:36:04,500 ERROR o.a.j.g.a.ActionRouter: Error processing org.apache.jmeter.gui.action.RemoteStart@64d43929 java.lang.RuntimeException: Following remote engines could not be configured:[192.168.43.45] at org.apache.jmeter.engine.DistributedRunner.init(DistributedRunner.java:112) ~[ApacheJMeter_core.jar:4.0 r1823414] at org.apache.jmeter.gui.action.RemoteStart.doAction(RemoteStart.java:80) ~[ApacheJMeter_core.jar:4.0 r1823414] at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:88) ~[ApacheJMeter_core.jar:4.0 r1823414] at org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:70) ~[ApacheJMeter_core.jar:4.0 r1823414] at java.awt.event.InvocationEvent.dispatch(Unknown Source) [?:1.8.0_171] at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [?:1.8.0_171] at java.awt.EventQueue.access$500(Unknown Source) [?:1.8.0_171] at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_171] at java.awt.EventQueue$3.run(Unknown Source) [?:1.8.0_171] at java.security.AccessController.doPrivileged(Native Method) [?:1.8.0_171] at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) [?:1.8.0_171] at java.awt.EventQueue.dispatchEvent(Unknown Source) [?:1.8.0_171] at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [?:1.8.0_171] at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [?:1.8.0_171] at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [?:1.8.0_171] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_171] at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:1.8.0_171] at java.awt.EventDispatchThread.run(Unknown Source) [?:1.8.0_171] I has the info of expected rmi.keystore.jks not the info that why create-rmi-keystore.bat is not getting launched.

  • @RaghavPal

    @RaghavPal

    5 жыл бұрын

    As per this logs - FileNotFoundException: rmi_keystore.jks (The system cannot find the file specified) Pls check if this file is present.

  • @deepakMCA2009knit

    @deepakMCA2009knit

    5 жыл бұрын

    Automation Step by Step - Raghav Pal actually I am not able to create that jks file. As you sujested the log does not has any information related to that.

  • @deepakMCA2009knit

    @deepakMCA2009knit

    5 жыл бұрын

    Automation Step by Step - Raghav Pal After getting FileNotFound exception when trying to launch but windows appears and then disappear for nxt moment.

  • @ivannoev97
    @ivannoev9710 күн бұрын

    rmi does not ask me to create password, is that ok?

  • @RaghavPal

    @RaghavPal

    10 күн бұрын

    Yes, it’s perfectly fine if RMI (Remote Method Invocation) does not prompt you to create a password during remote testing with JMeter. RMI typically uses the default security settings, which allow unrestricted access. However, in production environments, it’s essential to configure proper security measures to protect your system.

  • @amitgulhane-nd5rr
    @amitgulhane-nd5rr2 ай бұрын

    it is not asking me password

  • @RaghavPal

    @RaghavPal

    2 ай бұрын

    Where exactly Amit will need more details on this

  • @i_am_reshad
    @i_am_reshad2 жыл бұрын

    you should avoid executing jmeter on 2 same machines

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Yes, I did this for example,

  • @i_am_reshad

    @i_am_reshad

    2 жыл бұрын

    @@RaghavPal thank you for your response. I commented because of too many people starts from scratch and think that this is what they should do

  • @RaghavPal

    @RaghavPal

    2 жыл бұрын

    Ok, although I have mentioned this in the video, I will take this feedback

  • @vankayalapatisrihari1718
    @vankayalapatisrihari17184 жыл бұрын

    Hi Raghav, I have a one Question . While running the Distributed testing in JMeter(Master & Slave concept). I want to get the results from individual Machines? Is there any way to capture the results in individual Machines(Means need to capture the results every slave and master). Thanks.

  • @RaghavPal

    @RaghavPal

    4 жыл бұрын

    Hi Vankayalapati, you can check this - stackoverflow.com/questions/47939724/jmeter-distributed-testing-save-separate-results-for-each-slave